mirror of
https://github.com/hanzoai/tasks.git
synced 2026-10-30 14:56:19 +00:00
## What changed? Add PausedInfo search attribute ## Why? To allow users find workflows with paused activities ## How did you test it? make unit-test. --------- Co-authored-by: Rodrigo Zhou <[email protected]>
103 lines
2.1 KiB
JSON
103 lines
2.1 KiB
JSON
{
|
|
"order": 0,
|
|
"index_patterns": ["temporal_visibility_v1*"],
|
|
"settings": {
|
|
"index": {
|
|
"number_of_shards": "1",
|
|
"number_of_replicas": "0",
|
|
"auto_expand_replicas": "0-2",
|
|
"search.idle.after": "365d",
|
|
"sort.field": ["CloseTime", "StartTime", "RunId"],
|
|
"sort.order": ["desc", "desc", "desc"],
|
|
"sort.missing": ["_first", "_first", "_first"]
|
|
}
|
|
},
|
|
"mappings": {
|
|
"dynamic": "false",
|
|
"properties": {
|
|
"NamespaceId": {
|
|
"type": "keyword"
|
|
},
|
|
"TemporalNamespaceDivision": {
|
|
"type": "keyword"
|
|
},
|
|
"WorkflowId": {
|
|
"type": "keyword"
|
|
},
|
|
"RunId": {
|
|
"type": "keyword"
|
|
},
|
|
"WorkflowType": {
|
|
"type": "keyword"
|
|
},
|
|
"StartTime": {
|
|
"type": "date_nanos"
|
|
},
|
|
"ExecutionTime": {
|
|
"type": "date_nanos"
|
|
},
|
|
"CloseTime": {
|
|
"type": "date_nanos"
|
|
},
|
|
"ExecutionDuration": {
|
|
"type": "long"
|
|
},
|
|
"ExecutionStatus": {
|
|
"type": "keyword"
|
|
},
|
|
"TaskQueue": {
|
|
"type": "keyword"
|
|
},
|
|
"TemporalChangeVersion": {
|
|
"type": "keyword"
|
|
},
|
|
"BatcherNamespace": {
|
|
"type": "keyword"
|
|
},
|
|
"BatcherUser": {
|
|
"type": "keyword"
|
|
},
|
|
"BinaryChecksums": {
|
|
"type": "keyword"
|
|
},
|
|
"HistoryLength": {
|
|
"type": "long"
|
|
},
|
|
"StateTransitionCount": {
|
|
"type": "long"
|
|
},
|
|
"TemporalScheduledStartTime": {
|
|
"type": "date_nanos"
|
|
},
|
|
"TemporalScheduledById": {
|
|
"type": "keyword"
|
|
},
|
|
"TemporalSchedulePaused": {
|
|
"type": "boolean"
|
|
},
|
|
"HistorySizeBytes": {
|
|
"type": "long"
|
|
},
|
|
"BuildIds": {
|
|
"type": "keyword"
|
|
},
|
|
"ParentWorkflowId": {
|
|
"type": "keyword"
|
|
},
|
|
"ParentRunId": {
|
|
"type": "keyword"
|
|
},
|
|
"RootWorkflowId": {
|
|
"type": "keyword"
|
|
},
|
|
"RootRunId": {
|
|
"type": "keyword"
|
|
},
|
|
"TemporalPauseInfo": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
},
|
|
"aliases": {}
|
|
}
|