Skip to content

Commit

Permalink
[Backport 2.x] Moves ui-metadata field from state to template index (#…
Browse files Browse the repository at this point in the history
…637)

Moves ui-metadata field from state to template index (#636)

* moving ui-metadata from state to template index



* incrementing schema versions



---------


(cherry picked from commit 28cf793)

Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 310593d commit b12dee2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 5 additions & 1 deletion src/main/resources/mappings/global-context.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dynamic": false,
"_meta": {
"schema_version": 2
"schema_version": 3
},
"properties": {
"workflow_id": {
Expand Down Expand Up @@ -85,6 +85,10 @@
"last_provisioned_time": {
"type": "date",
"format": "strict_date_time||epoch_millis"
},
"ui_metadata": {
"type": "object",
"enabled": false
}
}
}
6 changes: 1 addition & 5 deletions src/main/resources/mappings/workflow-state.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dynamic": false,
"_meta": {
"schema_version": 1
"schema_version": 2
},
"properties": {
"schema_version": {
Expand Down Expand Up @@ -46,10 +46,6 @@
"type": "keyword"
}
}
},
"ui_metadata": {
"type": "object",
"enabled": false
}
}
}

0 comments on commit b12dee2

Please sign in to comment.