diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_index_template.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_index_template.json new file mode 100644 index 0000000000000..dd825806739ac --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_index_template.json @@ -0,0 +1,23 @@ +{ + "indices.put_index_template": { + "data_autocomplete_rules": { + "index_patterns": [], + "version": 0, + "template": { + "mappings": { "__scope_link": "put_mapping" }, + "settings": { "__scope_link": "put_settings" }, + "aliases": { + "__template": { + "NAME": {} + } + } + }, + "composed_of": [], + "priority": 0, + "_meta": {} + }, + "patterns": [ + "_index_template/{template}" + ] + } +} diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_template.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_template.json index dfd4721fcd43a..c19836e2f9eb0 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.put_template.json @@ -5,9 +5,7 @@ "mappings": { "__scope_link": "put_mapping" }, "settings": { "__scope_link": "put_settings" }, "version": 0, - "template": {}, - "composed_of": [], - "priority": 0, + "order": 0, "aliases": { "__template": { "NAME": {} diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_index_template.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_index_template.json index c25322a9e05a5..71cef67268321 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_index_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_index_template.json @@ -2,15 +2,22 @@ "indices.simulate_index_template": { "data_autocomplete_rules": { "index_patterns": [], - "mappings": { "__scope_link": "put_mapping" }, - "settings": { "__scope_link": "put_settings" }, "version": 0, - "template": {}, + "template": { + "mappings": { "__scope_link": "put_mapping" }, + "settings": { "__scope_link": "put_settings" }, + "aliases": { + "__template": { + "NAME": {} + } + } + }, "composed_of": [], - "priority": 0 + "priority": 0, + "_meta": {} }, "patterns": [ - "_index_template/_simulate/{template}" + "_index_template/_simulate_index/{indices}" ] } } diff --git a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_template.json b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_template.json index a24ee6775e12b..8b042426e8ecc 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/overrides/indices.simulate_template.json @@ -2,12 +2,19 @@ "indices.simulate_template": { "data_autocomplete_rules": { "index_patterns": [], - "mappings": { "__scope_link": "put_mapping" }, - "settings": { "__scope_link": "put_settings" }, "version": 0, - "template": {}, + "template": { + "mappings": { "__scope_link": "put_mapping" }, + "settings": { "__scope_link": "put_settings" }, + "aliases": { + "__template": { + "NAME": {} + } + } + }, "composed_of": [], - "priority": 0 + "priority": 0, + "_meta": {} }, "patterns": [ "_index_template/_simulate/{template}"