Skip to content

Commit

Permalink
refreshed zeebe templates for 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
kjozsa committed Jan 23, 2024
1 parent 66a9a97 commit 4fba748
Show file tree
Hide file tree
Showing 34 changed files with 1,815 additions and 360 deletions.
33 changes: 33 additions & 0 deletions src/main/resources/zeebe-record-checkpoint-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"index_patterns": [
"zeebe-record_checkpoint_*"
],
"composed_of": ["zeebe-record"],
"priority": 20,
"version": 1,
"template": {
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.queries.cache.enabled": false
},
"aliases": {
"zeebe-record-checkpoint": {}
},
"mappings": {
"properties": {
"value": {
"dynamic": "strict",
"properties": {
"checkpointId": {
"type": "long"
},
"checkpointPosition": {
"type": "long"
}
}
}
}
}
}
}
39 changes: 39 additions & 0 deletions src/main/resources/zeebe-record-command-distribution-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"index_patterns": [
"zeebe-record_command-distribution_*"
],
"composed_of": ["zeebe-record"],
"priority": 20,
"version": 1,
"template": {
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.queries.cache.enabled": false
},
"aliases": {
"zeebe-record-command-distribution": {}
},
"mappings": {
"properties": {
"value": {
"dynamic": "strict",
"properties": {
"partitionId": {
"type": "integer"
},
"valueType": {
"type": "keyword"
},
"intent": {
"type": "keyword"
},
"commandValue": {
"enabled": false
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"index_patterns": [
"zeebe-record_compensation-subscription_*"
],
"composed_of": ["zeebe-record"],
"priority": 20,
"version": 1,
"template": {
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.queries.cache.enabled": false
},
"aliases": {
"zeebe-record-compensation-subscription": {}
},
"mappings": {
"properties": {
"value": {
"dynamic": "strict",
"properties": {
"tenantId": {
"type": "keyword"
},
"processInstanceKey": {
"type": "long"
},
"processDefinitionKey": {
"type": "long"
},
"compensableActivityId": {
"type": "keyword"
},
"compensableActivityScopeId": {
"type": "long"
},
"throwEventId": {
"type": "keyword"
},
"throwEventInstanceKey": {
"type": "long"
},
"variables": {
"enabled": false
}
}
}
}
}
}
}
138 changes: 138 additions & 0 deletions src/main/resources/zeebe-record-decision-evaluation-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
{
"index_patterns": [
"zeebe-record_decision_evaluation_*"
],
"composed_of": [
"zeebe-record"
],
"priority": 20,
"version": 1,
"template": {
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.queries.cache.enabled": false
},
"aliases": {
"zeebe-record-decision-evaluation": {}
},
"mappings": {
"properties": {
"value": {
"dynamic": "strict",
"properties": {
"decisionId": {
"type": "keyword"
},
"decisionName": {
"type": "keyword"
},
"decisionVersion": {
"type": "long"
},
"decisionKey": {
"type": "long"
},
"decisionRequirementsId": {
"type": "keyword"
},
"decisionRequirementsKey": {
"type": "long"
},
"decisionOutput": {
"enabled": false
},
"variables": {
"enabled": false
},
"bpmnProcessId": {
"type": "keyword"
},
"processDefinitionKey": {
"type": "long"
},
"processInstanceKey": {
"type": "long"
},
"elementId": {
"type": "keyword"
},
"elementInstanceKey": {
"type": "long"
},
"evaluationFailureMessage": {
"type": "keyword"
},
"failedDecisionId": {
"type": "keyword"
},
"tenantId": {
"type": "keyword"
},
"evaluatedDecisions": {
"properties": {
"decisionId": {
"type": "keyword"
},
"decisionName": {
"type": "keyword"
},
"decisionKey": {
"type": "long"
},
"decisionVersion": {
"type": "long"
},
"decisionType": {
"type": "keyword"
},
"decisionOutput": {
"enabled": false
},
"tenantId": {
"type": "keyword"
},
"evaluatedInputs": {
"properties": {
"inputId": {
"type": "keyword"
},
"inputName": {
"type": "keyword"
},
"inputValue": {
"enabled": false
}
}
},
"matchedRules": {
"properties": {
"ruleId": {
"type": "keyword"
},
"ruleIndex": {
"type": "long"
},
"evaluatedOutputs": {
"properties": {
"outputId": {
"type": "keyword"
},
"outputName": {
"type": "keyword"
},
"outputValue": {
"enabled": false
}
}
}
}
}
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"index_patterns": [
"zeebe-record_decision-requirements_*"
],
"composed_of": ["zeebe-record"],
"priority": 20,
"version": 1,
"template": {
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.queries.cache.enabled": false
},
"aliases": {
"zeebe-record-decision-requirements": {}
},
"mappings": {
"properties": {
"value": {
"dynamic": "strict",
"properties": {
"decisionRequirementsId": {
"type": "keyword"
},
"decisionRequirementsName": {
"type": "keyword"
},
"decisionRequirementsVersion": {
"type": "long"
},
"decisionRequirementsKey": {
"type": "long"
},
"namespace": {
"type": "keyword"
},
"resourceName": {
"type": "text"
},
"resource": {
"enabled": false
},
"checksum": {
"enabled": false
},
"duplicate": {
"type": "boolean"
},
"tenantId": {
"type": "keyword"
}
}
}
}
}
}
}
51 changes: 51 additions & 0 deletions src/main/resources/zeebe-record-decision-template.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"index_patterns": [
"zeebe-record_decision_*"
],
"composed_of": ["zeebe-record"],
"priority": 20,
"version": 1,
"template": {
"settings": {
"number_of_shards": 1,
"number_of_replicas": 0,
"index.queries.cache.enabled": false
},
"aliases": {
"zeebe-record-decision": {}
},
"mappings": {
"properties": {
"value": {
"dynamic": "strict",
"properties": {
"decisionId": {
"type": "keyword"
},
"decisionName": {
"type": "keyword"
},
"version": {
"type": "long"
},
"decisionKey": {
"type": "long"
},
"decisionRequirementsId": {
"type": "keyword"
},
"decisionRequirementsKey": {
"type": "long"
},
"duplicate": {
"type": "boolean"
},
"tenantId": {
"type": "keyword"
}
}
}
}
}
}
}
Loading

0 comments on commit 4fba748

Please sign in to comment.