Skip to content

Commit

Permalink
Moves ui-metadata field from state to template index (#636)
Browse files Browse the repository at this point in the history
* moving ui-metadata from state to template index

Signed-off-by: Joshua Palis <[email protected]>

* incrementing schema versions

Signed-off-by: Joshua Palis <[email protected]>

---------

Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis authored Apr 2, 2024
1 parent bc87e88 commit 28cf793
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 28cf793

Please sign in to comment.