From 772d0cc6e78fcb4633ba510fa7e8f28b6fd21dce Mon Sep 17 00:00:00 2001 From: Colin Goodheart-Smithe Date: Thu, 18 Jun 2015 15:05:42 +0100 Subject: [PATCH] Build: Make rest-spec-api a project so eclipse build works The change makes rest-spec-api a project in the same way as we build dev-tools. it packages the tests and api in a bundle using the maven-remote-resources-plugin and uses the same plugin in the plugins and core pom to unpack the rest-api-spec into the target directory and references the rest tests there in the test resources. The main stimulus for this change is that for those using Eclipse the current build does not work. After running `mvn eclipse:eclipse` the Eclipse IDE errors because the rest-api-spec is outside of the project scope, meaning that every time the command is run (required whenever any dependencies change), the class path of all the projects has to be manually fixed. --- core/pom.xml | 2 +- plugins/pom.xml | 2 +- pom.xml | 2 + rest-api-spec/pom.xml | 37 +++++++++++++++++++ .../resources/rest-api-spec}/api/bulk.json | 0 .../rest-api-spec}/api/cat.aliases.json | 0 .../rest-api-spec}/api/cat.allocation.json | 0 .../rest-api-spec}/api/cat.count.json | 0 .../rest-api-spec}/api/cat.fielddata.json | 0 .../rest-api-spec}/api/cat.health.json | 0 .../rest-api-spec}/api/cat.help.json | 0 .../rest-api-spec}/api/cat.indices.json | 0 .../rest-api-spec}/api/cat.master.json | 0 .../rest-api-spec}/api/cat.nodes.json | 0 .../rest-api-spec}/api/cat.pending_tasks.json | 0 .../rest-api-spec}/api/cat.plugins.json | 0 .../rest-api-spec}/api/cat.recovery.json | 0 .../rest-api-spec}/api/cat.segments.json | 0 .../rest-api-spec}/api/cat.shards.json | 0 .../rest-api-spec}/api/cat.thread_pool.json | 0 .../rest-api-spec}/api/clear_scroll.json | 0 .../api/cluster.get_settings.json | 0 .../rest-api-spec}/api/cluster.health.json | 0 .../api/cluster.pending_tasks.json | 0 .../api/cluster.put_settings.json | 0 .../rest-api-spec}/api/cluster.reroute.json | 0 .../rest-api-spec}/api/cluster.state.json | 0 .../rest-api-spec}/api/cluster.stats.json | 0 .../resources/rest-api-spec}/api/count.json | 0 .../rest-api-spec}/api/count_percolate.json | 0 .../resources/rest-api-spec}/api/delete.json | 0 .../rest-api-spec}/api/delete_script.json | 0 .../rest-api-spec}/api/delete_template.json | 0 .../resources/rest-api-spec}/api/exists.json | 0 .../resources/rest-api-spec}/api/explain.json | 0 .../rest-api-spec}/api/field_stats.json | 0 .../resources/rest-api-spec}/api/get.json | 0 .../rest-api-spec}/api/get_script.json | 0 .../rest-api-spec}/api/get_source.json | 0 .../rest-api-spec}/api/get_template.json | 0 .../resources/rest-api-spec}/api/index.json | 0 .../rest-api-spec}/api/indices.analyze.json | 0 .../api/indices.clear_cache.json | 0 .../rest-api-spec}/api/indices.close.json | 0 .../rest-api-spec}/api/indices.create.json | 0 .../rest-api-spec}/api/indices.delete.json | 0 .../api/indices.delete_alias.json | 0 .../api/indices.delete_template.json | 0 .../api/indices.delete_warmer.json | 0 .../rest-api-spec}/api/indices.exists.json | 0 .../api/indices.exists_alias.json | 0 .../api/indices.exists_template.json | 0 .../api/indices.exists_type.json | 0 .../rest-api-spec}/api/indices.flush.json | 0 .../api/indices.flush_synced.json | 0 .../rest-api-spec}/api/indices.get.json | 0 .../rest-api-spec}/api/indices.get_alias.json | 0 .../api/indices.get_aliases.json | 0 .../api/indices.get_field_mapping.json | 0 .../api/indices.get_mapping.json | 0 .../api/indices.get_settings.json | 0 .../api/indices.get_template.json | 0 .../api/indices.get_upgrade.json | 0 .../api/indices.get_warmer.json | 0 .../rest-api-spec}/api/indices.open.json | 0 .../rest-api-spec}/api/indices.optimize.json | 0 .../rest-api-spec}/api/indices.put_alias.json | 0 .../api/indices.put_mapping.json | 0 .../api/indices.put_settings.json | 0 .../api/indices.put_template.json | 0 .../api/indices.put_warmer.json | 0 .../rest-api-spec}/api/indices.recovery.json | 0 .../rest-api-spec}/api/indices.refresh.json | 0 .../rest-api-spec}/api/indices.segments.json | 0 .../rest-api-spec}/api/indices.stats.json | 0 .../api/indices.update_aliases.json | 0 .../rest-api-spec}/api/indices.upgrade.json | 0 .../api/indices.validate_query.json | 0 .../resources/rest-api-spec}/api/info.json | 0 .../resources/rest-api-spec}/api/mget.json | 0 .../rest-api-spec}/api/mpercolate.json | 0 .../resources/rest-api-spec}/api/msearch.json | 0 .../rest-api-spec}/api/mtermvectors.json | 0 .../rest-api-spec}/api/nodes.hot_threads.json | 0 .../rest-api-spec}/api/nodes.info.json | 0 .../rest-api-spec}/api/nodes.stats.json | 0 .../rest-api-spec}/api/percolate.json | 0 .../resources/rest-api-spec}/api/ping.json | 0 .../rest-api-spec}/api/put_script.json | 0 .../rest-api-spec}/api/put_template.json | 0 .../resources/rest-api-spec}/api/scroll.json | 0 .../resources/rest-api-spec}/api/search.json | 0 .../rest-api-spec}/api/search_exists.json | 0 .../rest-api-spec}/api/search_shards.json | 0 .../rest-api-spec}/api/search_template.json | 0 .../rest-api-spec}/api/snapshot.create.json | 0 .../api/snapshot.create_repository.json | 0 .../rest-api-spec}/api/snapshot.delete.json | 0 .../api/snapshot.delete_repository.json | 0 .../rest-api-spec}/api/snapshot.get.json | 0 .../api/snapshot.get_repository.json | 0 .../rest-api-spec}/api/snapshot.restore.json | 0 .../rest-api-spec}/api/snapshot.status.json | 0 .../api/snapshot.verify_repository.json | 0 .../resources/rest-api-spec}/api/suggest.json | 0 .../rest-api-spec}/api/termvectors.json | 0 .../resources/rest-api-spec}/api/update.json | 0 .../rest-api-spec}/test/README.asciidoc | 0 .../rest-api-spec}/test/bulk/10_basic.yaml | 0 .../test/bulk/20_list_of_strings.yaml | 0 .../test/bulk/30_big_string.yaml | 0 .../test/cat.aliases/10_basic.yaml | 0 .../test/cat.allocation/10_basic.yaml | 0 .../test/cat.count/10_basic.yaml | 0 .../test/cat.fielddata/10_basic.yaml | 0 .../test/cat.health/10_basic.yaml | 0 .../test/cat.indices/10_basic.yaml | 0 .../test/cat.nodes/10_basic.yaml | 0 .../test/cat.plugins/10_basic.yaml | 0 .../test/cat.recovery/10_basic.yaml | 0 .../test/cat.segments/10_basic.yaml | 0 .../test/cat.shards/10_basic.yaml | 0 .../test/cat.thread_pool/10_basic.yaml | 0 .../test/cluster.health/10_basic.yaml | 0 .../test/cluster.pending_tasks/10_basic.yaml | 0 .../test/cluster.put_settings/10_basic.yaml | 0 .../test/cluster.reroute/10_basic.yaml | 0 .../test/cluster.reroute/11_explain.yaml | 0 .../20_response_filtering.yaml | 0 .../test/cluster.state/10_basic.yaml | 0 .../test/cluster.state/20_filtering.yaml | 0 .../cluster.state/30_expand_wildcards.yaml | 0 .../rest-api-spec}/test/count/10_basic.yaml | 0 .../test/count/20_query_string.yaml | 0 .../test/create/10_with_id.yaml | 0 .../test/create/15_without_id.yaml | 0 .../test/create/30_internal_version.yaml | 0 .../test/create/35_external_version.yaml | 0 .../test/create/36_external_gte_version.yaml | 0 .../test/create/37_force_version.yaml | 0 .../test/create/40_routing.yaml | 0 .../rest-api-spec}/test/create/50_parent.yaml | 0 .../test/create/55_parent_with_routing.yaml | 0 .../test/create/60_refresh.yaml | 0 .../test/create/70_timestamp.yaml | 0 .../rest-api-spec}/test/create/75_ttl.yaml | 0 .../rest-api-spec}/test/create/TODO.txt | 0 .../rest-api-spec}/test/delete/10_basic.yaml | 0 .../test/delete/11_shard_header.yaml | 0 .../test/delete/20_internal_version.yaml | 0 .../test/delete/25_external_version.yaml | 0 .../test/delete/26_external_gte_version.yaml | 0 .../test/delete/27_force_version.yaml | 0 .../test/delete/30_routing.yaml | 0 .../rest-api-spec}/test/delete/40_parent.yaml | 0 .../test/delete/42_missing_parent.yml | 0 .../test/delete/45_parent_with_routing.yaml | 0 .../test/delete/50_refresh.yaml | 0 .../test/delete/60_missing.yaml | 0 .../rest-api-spec}/test/delete/TODO.txt | 0 .../rest-api-spec}/test/exists/10_basic.yaml | 0 .../rest-api-spec}/test/exists/30_parent.yaml | 0 .../test/exists/40_routing.yaml | 0 .../test/exists/55_parent_with_routing.yaml | 0 .../test/exists/60_realtime_refresh.yaml | 0 .../test/exists/70_defaults.yaml | 0 .../rest-api-spec}/test/exists/TODO.txt | 0 .../rest-api-spec}/test/explain/10_basic.yaml | 0 .../test/explain/20_source_filtering.yaml | 0 .../test/explain/30_query_string.yaml | 0 .../rest-api-spec}/test/explain/TODO.txt | 0 .../test/field_stats/10_basics.yaml | 0 .../rest-api-spec}/test/get/10_basic.yaml | 0 .../test/get/15_default_values.yaml | 0 .../rest-api-spec}/test/get/20_fields.yaml | 0 .../rest-api-spec}/test/get/30_parent.yaml | 0 .../rest-api-spec}/test/get/40_routing.yaml | 0 .../test/get/55_parent_with_routing.yaml | 0 .../test/get/60_realtime_refresh.yaml | 0 .../test/get/70_source_filtering.yaml | 0 .../rest-api-spec}/test/get/80_missing.yaml | 0 .../rest-api-spec}/test/get/90_versions.yaml | 0 .../rest-api-spec}/test/get/TODO.txt | 0 .../test/get_source/10_basic.yaml | 0 .../test/get_source/15_default_values.yaml | 0 .../test/get_source/30_parent.yaml | 0 .../test/get_source/40_routing.yaml | 0 .../get_source/55_parent_with_routing.yaml | 0 .../test/get_source/60_realtime_refresh.yaml | 0 .../test/get_source/70_source_filtering.yaml | 0 .../test/get_source/80_missing.yaml | 0 .../rest-api-spec}/test/get_source/TODO.txt | 0 .../rest-api-spec}/test/index/10_with_id.yaml | 0 .../test/index/15_without_id.yaml | 0 .../rest-api-spec}/test/index/20_optype.yaml | 0 .../test/index/30_internal_version.yaml | 0 .../test/index/35_external_version.yaml | 0 .../test/index/36_external_gte_version.yaml | 0 .../test/index/37_force_version.yaml | 0 .../rest-api-spec}/test/index/40_routing.yaml | 0 .../rest-api-spec}/test/index/50_parent.yaml | 0 .../test/index/55_parent_with_routing.yaml | 0 .../rest-api-spec}/test/index/60_refresh.yaml | 0 .../test/index/70_timestamp.yaml | 0 .../rest-api-spec}/test/index/75_ttl.yaml | 0 .../rest-api-spec}/test/index/TODO.txt | 0 .../test/indices.analyze/10_analyze.yaml | 0 .../test/indices.clear_cache/10_basic.yaml | 0 .../test/indices.create/10_basic.yaml | 0 .../test/indices.delete_alias/10_basic.yaml | 0 .../all_path_options.yaml | 0 .../all_path_options.yaml | 0 .../test/indices.exists/10_basic.yaml | 0 .../indices.exists/20_read_only_index.yaml | 0 .../test/indices.exists_alias/10_basic.yaml | 0 .../indices.exists_template/10_basic.yaml | 0 .../test/indices.exists_type/10_basic.yaml | 0 .../test/indices.flush/10_basic.yaml | 0 .../test/indices.get/10_basic.yaml | 0 .../test/indices.get_alias/10_basic.yaml | 0 .../test/indices.get_alias/20_empty.yaml | 0 .../test/indices.get_aliases/10_basic.yaml | 0 .../indices.get_field_mapping/10_basic.yaml | 0 .../20_missing_field.yaml | 0 .../30_missing_type.yaml | 0 .../40_missing_index.yaml | 0 .../50_field_wildcards.yaml | 0 .../test/indices.get_mapping/10_basic.yaml | 0 .../indices.get_mapping/20_missing_type.yaml | 0 .../indices.get_mapping/30_missing_index.yaml | 0 .../test/indices.get_mapping/40_aliases.yaml | 0 .../50_wildcard_expansion.yaml | 0 .../test/indices.get_mapping/60_empty.yaml | 0 .../test/indices.get_settings/10_basic.yaml | 0 .../test/indices.get_settings/20_aliases.yaml | 0 .../test/indices.get_template/10_basic.yaml | 0 .../indices.get_template/20_get_missing.yaml | 0 .../test/indices.get_warmer/10_basic.yaml | 0 .../test/indices.get_warmer/20_empty.yaml | 0 .../test/indices.open/10_basic.yaml | 0 .../indices.open/20_multiple_indices.yaml | 0 .../test/indices.optimize/10_basic.yaml | 0 .../test/indices.put_alias/10_basic.yaml | 0 .../indices.put_alias/all_path_options.yaml | 0 .../test/indices.put_mapping/10_basic.yaml | 0 .../indices.put_mapping/all_path_options.yaml | 0 .../test/indices.put_settings/10_basic.yaml | 0 .../all_path_options.yaml | 0 .../test/indices.put_template/10_basic.yaml | 0 .../test/indices.put_warmer/10_basic.yaml | 0 .../test/indices.put_warmer/20_aliases.yaml | 0 .../indices.put_warmer/all_path_options.yaml | 0 .../test/indices.recovery/10_basic.yaml | 0 .../test/indices.refresh/10_basic.yaml | 0 .../test/indices.segments/10_basic.yaml | 0 .../test/indices.stats/10_index.yaml | 0 .../test/indices.stats/11_metric.yaml | 0 .../test/indices.stats/12_level.yaml | 0 .../test/indices.stats/13_fields.yaml | 0 .../test/indices.stats/14_groups.yaml | 0 .../test/indices.stats/15_types.yaml | 0 .../test/indices.update_aliases/10_basic.yaml | 0 .../indices.update_aliases/20_routing.yaml | 0 .../test/indices.upgrade/10_basic.yaml | 0 .../test/indices.validate_query/10_basic.yaml | 0 .../20_query_string.yaml | 0 .../rest-api-spec}/test/info/10_info.yaml | 0 .../test/info/20_lucene_version.yaml | 0 .../rest-api-spec}/test/mget/10_basic.yaml | 0 .../test/mget/11_default_index_type.yaml | 0 .../test/mget/12_non_existent_index.yaml | 0 .../test/mget/13_missing_metadata.yaml | 0 .../rest-api-spec}/test/mget/15_ids.yaml | 0 .../rest-api-spec}/test/mget/20_fields.yaml | 0 .../rest-api-spec}/test/mget/30_parent.yaml | 0 .../rest-api-spec}/test/mget/40_routing.yaml | 0 .../test/mget/55_parent_with_routing.yaml | 0 .../test/mget/60_realtime_refresh.yaml | 0 .../test/mget/70_source_filtering.yaml | 0 .../rest-api-spec}/test/mget/TODO.txt | 0 .../rest-api-spec}/test/mlt/10_basic.yaml | 0 .../rest-api-spec}/test/mlt/20_docs.yaml | 0 .../rest-api-spec}/test/mlt/30_unlike.yaml | 0 .../test/mpercolate/10_basic.yaml | 0 .../rest-api-spec}/test/msearch/10_basic.yaml | 0 .../test/mtermvectors/10_basic.yaml | 0 .../test/nodes.info/10_basic.yaml | 0 .../test/nodes.info/20_transport.yaml | 0 .../test/nodes.stats/10_basic.yaml | 0 .../nodes.stats/20_response_filtering.yaml | 0 .../rest-api-spec}/test/percolate/15_new.yaml | 0 .../test/percolate/16_existing_doc.yaml | 0 .../test/percolate/17_empty.yaml | 0 .../percolate/18_highligh_with_query.yaml | 0 .../test/percolate/19_nested.yaml | 0 .../rest-api-spec}/test/ping/10_ping.yaml | 0 .../rest-api-spec}/test/script/10_basic.yaml | 0 .../test/script/20_versions.yaml | 0 .../test/script/30_expressions.yaml | 0 .../rest-api-spec}/test/scroll/10_basic.yaml | 0 .../rest-api-spec}/test/scroll/11_clear.yaml | 0 .../test/search.aggregation/10_histogram.yaml | 0 .../test/search/10_source_filtering.yaml | 0 .../test/search/20_default_values.yaml | 0 .../search/30_template_query_execution.yaml | 0 .../search/40_search_request_template.yaml | 0 .../test/search/50_search_count.yaml | 0 .../test/search/60_query_string.yaml | 0 .../test/search/70_response_filtering.yaml | 0 .../rest-api-spec}/test/search/issue4895.yaml | 0 .../rest-api-spec}/test/search/issue9606.yaml | 0 .../test/search/test_sig_terms.yaml | 0 .../test/search_exists/10_basic.yaml | 0 .../test/search_exists/20_query_string.yaml | 0 .../test/search_shards/10_basic.yaml | 0 .../snapshot.get_repository/10_basic.yaml | 0 .../rest-api-spec}/test/suggest/10_basic.yaml | 0 .../test/suggest/20_context.yaml | 0 .../test/template/10_basic.yaml | 0 .../test/template/20_search.yaml | 0 .../test/termvectors/10_basic.yaml | 0 .../test/termvectors/20_issue7121.yaml | 0 .../test/termvectors/30_realtime.yaml | 0 .../test/termvectors/40_versions.yaml | 0 .../rest-api-spec}/test/update/10_doc.yaml | 0 .../test/update/11_shard_header.yaml | 0 .../rest-api-spec}/test/update/15_script.yaml | 0 .../test/update/20_doc_upsert.yaml | 0 .../test/update/22_doc_as_upsert.yaml | 0 .../test/update/25_script_upsert.yaml | 0 .../test/update/30_internal_version.yaml | 0 .../test/update/35_other_versions.yaml | 0 .../test/update/40_routing.yaml | 0 .../rest-api-spec}/test/update/50_parent.yaml | 0 .../test/update/55_parent_with_routing.yaml | 0 .../test/update/60_refresh.yaml | 0 .../test/update/70_timestamp.yaml | 0 .../rest-api-spec}/test/update/75_ttl.yaml | 0 .../rest-api-spec}/test/update/80_fields.yaml | 0 .../test/update/85_fields_meta.yaml | 0 .../test/update/90_missing.yaml | 0 .../rest-api-spec}/test/update/TODO.txt | 0 342 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 rest-api-spec/pom.xml rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/bulk.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.aliases.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.allocation.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.count.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.fielddata.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.health.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.help.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.indices.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.master.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.nodes.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.pending_tasks.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.plugins.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.recovery.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.segments.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.shards.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cat.thread_pool.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/clear_scroll.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cluster.get_settings.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cluster.health.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cluster.pending_tasks.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cluster.put_settings.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cluster.reroute.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cluster.state.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/cluster.stats.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/count.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/count_percolate.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/delete.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/delete_script.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/delete_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/exists.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/explain.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/field_stats.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/get.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/get_script.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/get_source.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/get_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/index.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.analyze.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.clear_cache.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.close.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.create.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.delete.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.delete_alias.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.delete_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.delete_warmer.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.exists.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.exists_alias.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.exists_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.exists_type.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.flush.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.flush_synced.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_alias.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_aliases.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_field_mapping.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_mapping.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_settings.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_upgrade.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.get_warmer.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.open.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.optimize.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.put_alias.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.put_mapping.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.put_settings.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.put_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.put_warmer.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.recovery.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.refresh.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.segments.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.stats.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.update_aliases.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.upgrade.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/indices.validate_query.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/info.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/mget.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/mpercolate.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/msearch.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/mtermvectors.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/nodes.hot_threads.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/nodes.info.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/nodes.stats.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/percolate.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/ping.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/put_script.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/put_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/scroll.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/search.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/search_exists.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/search_shards.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/search_template.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.create.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.create_repository.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.delete.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.delete_repository.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.get.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.get_repository.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.restore.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.status.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/snapshot.verify_repository.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/suggest.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/termvectors.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/api/update.json (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/README.asciidoc (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/bulk/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/bulk/20_list_of_strings.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/bulk/30_big_string.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.aliases/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.allocation/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.count/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.fielddata/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.health/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.indices/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.nodes/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.plugins/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.recovery/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.segments/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.shards/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cat.thread_pool/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.health/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.pending_tasks/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.put_settings/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.reroute/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.reroute/11_explain.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.reroute/20_response_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.state/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.state/20_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/cluster.state/30_expand_wildcards.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/count/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/count/20_query_string.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/10_with_id.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/15_without_id.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/30_internal_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/35_external_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/36_external_gte_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/37_force_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/40_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/50_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/55_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/60_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/70_timestamp.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/75_ttl.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/create/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/11_shard_header.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/20_internal_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/25_external_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/26_external_gte_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/27_force_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/30_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/40_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/42_missing_parent.yml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/45_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/50_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/60_missing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/delete/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/exists/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/exists/30_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/exists/40_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/exists/55_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/exists/60_realtime_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/exists/70_defaults.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/exists/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/explain/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/explain/20_source_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/explain/30_query_string.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/explain/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/field_stats/10_basics.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/15_default_values.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/20_fields.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/30_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/40_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/55_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/60_realtime_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/70_source_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/80_missing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/90_versions.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/15_default_values.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/30_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/40_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/55_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/60_realtime_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/70_source_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/80_missing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/get_source/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/10_with_id.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/15_without_id.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/20_optype.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/30_internal_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/35_external_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/36_external_gte_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/37_force_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/40_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/50_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/55_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/60_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/70_timestamp.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/75_ttl.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/index/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.analyze/10_analyze.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.clear_cache/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.create/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.delete_alias/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.delete_alias/all_path_options.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.delete_warmer/all_path_options.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.exists/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.exists/20_read_only_index.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.exists_alias/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.exists_template/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.exists_type/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.flush/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_alias/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_alias/20_empty.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_aliases/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_field_mapping/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_field_mapping/20_missing_field.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_field_mapping/30_missing_type.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_field_mapping/40_missing_index.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_field_mapping/50_field_wildcards.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_mapping/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_mapping/20_missing_type.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_mapping/30_missing_index.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_mapping/40_aliases.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_mapping/50_wildcard_expansion.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_mapping/60_empty.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_settings/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_settings/20_aliases.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_template/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_template/20_get_missing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_warmer/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.get_warmer/20_empty.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.open/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.open/20_multiple_indices.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.optimize/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_alias/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_alias/all_path_options.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_mapping/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_mapping/all_path_options.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_settings/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_settings/all_path_options.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_template/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_warmer/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_warmer/20_aliases.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.put_warmer/all_path_options.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.recovery/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.refresh/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.segments/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.stats/10_index.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.stats/11_metric.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.stats/12_level.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.stats/13_fields.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.stats/14_groups.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.stats/15_types.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.update_aliases/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.update_aliases/20_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.upgrade/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.validate_query/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/indices.validate_query/20_query_string.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/info/10_info.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/info/20_lucene_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/11_default_index_type.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/12_non_existent_index.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/13_missing_metadata.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/15_ids.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/20_fields.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/30_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/40_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/55_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/60_realtime_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/70_source_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mget/TODO.txt (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mlt/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mlt/20_docs.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mlt/30_unlike.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mpercolate/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/msearch/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/mtermvectors/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/nodes.info/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/nodes.info/20_transport.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/nodes.stats/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/nodes.stats/20_response_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/percolate/15_new.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/percolate/16_existing_doc.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/percolate/17_empty.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/percolate/18_highligh_with_query.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/percolate/19_nested.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/ping/10_ping.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/script/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/script/20_versions.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/script/30_expressions.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/scroll/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/scroll/11_clear.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search.aggregation/10_histogram.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/10_source_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/20_default_values.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/30_template_query_execution.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/40_search_request_template.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/50_search_count.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/60_query_string.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/70_response_filtering.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/issue4895.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/issue9606.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search/test_sig_terms.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search_exists/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search_exists/20_query_string.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/search_shards/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/snapshot.get_repository/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/suggest/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/suggest/20_context.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/template/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/template/20_search.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/termvectors/10_basic.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/termvectors/20_issue7121.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/termvectors/30_realtime.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/termvectors/40_versions.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/10_doc.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/11_shard_header.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/15_script.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/20_doc_upsert.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/22_doc_as_upsert.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/25_script_upsert.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/30_internal_version.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/35_other_versions.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/40_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/50_parent.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/55_parent_with_routing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/60_refresh.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/70_timestamp.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/75_ttl.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/80_fields.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/85_fields_meta.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/90_missing.yaml (100%) rename rest-api-spec/{ => src/main/resources/rest-api-spec}/test/update/TODO.txt (100%) diff --git a/core/pom.xml b/core/pom.xml index 70ccb56248f..68bb302654a 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -281,7 +281,7 @@ - ${project.basedir}/../rest-api-spec + ${elasticsearch.tools.directory}/rest-api-spec rest-api-spec api/*.json diff --git a/plugins/pom.xml b/plugins/pom.xml index 8bb94969251..00706f9c088 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -110,7 +110,7 @@ - ${project.basedir}/../../rest-api-spec + ${elasticsearch.tools.directory}/rest-api-spec rest-api-spec diff --git a/pom.xml b/pom.xml index 62100768186..6083089a379 100644 --- a/pom.xml +++ b/pom.xml @@ -708,6 +708,7 @@ org.elasticsearch:dev-tools:${elasticsearch.version} + org.elasticsearch:rest-api-spec:${elasticsearch.version} ${elasticsearch.tools.directory} @@ -1457,6 +1458,7 @@ org.eclipse.jdt.ui.text.custom_code_templates= dev-tools + rest-api-spec plugins core diff --git a/rest-api-spec/pom.xml b/rest-api-spec/pom.xml new file mode 100644 index 00000000000..80cd730b4c2 --- /dev/null +++ b/rest-api-spec/pom.xml @@ -0,0 +1,37 @@ + + 4.0.0 + org.elasticsearch + rest-api-spec + 2.0.0-SNAPSHOT + Elasticsearch Rest API Spec + + org.sonatype.oss + oss-parent + 7 + + + + UTF-8 + + + + + org.apache.maven.plugins + maven-remote-resources-plugin + 1.5 + + + + bundle + + + + + + **/* + + + + + + \ No newline at end of file diff --git a/rest-api-spec/api/bulk.json b/rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json similarity index 100% rename from rest-api-spec/api/bulk.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json diff --git a/rest-api-spec/api/cat.aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json similarity index 100% rename from rest-api-spec/api/cat.aliases.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json diff --git a/rest-api-spec/api/cat.allocation.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json similarity index 100% rename from rest-api-spec/api/cat.allocation.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json diff --git a/rest-api-spec/api/cat.count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json similarity index 100% rename from rest-api-spec/api/cat.count.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json diff --git a/rest-api-spec/api/cat.fielddata.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json similarity index 100% rename from rest-api-spec/api/cat.fielddata.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json diff --git a/rest-api-spec/api/cat.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json similarity index 100% rename from rest-api-spec/api/cat.health.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json diff --git a/rest-api-spec/api/cat.help.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json similarity index 100% rename from rest-api-spec/api/cat.help.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json diff --git a/rest-api-spec/api/cat.indices.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json similarity index 100% rename from rest-api-spec/api/cat.indices.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json diff --git a/rest-api-spec/api/cat.master.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json similarity index 100% rename from rest-api-spec/api/cat.master.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json diff --git a/rest-api-spec/api/cat.nodes.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json similarity index 100% rename from rest-api-spec/api/cat.nodes.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json diff --git a/rest-api-spec/api/cat.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json similarity index 100% rename from rest-api-spec/api/cat.pending_tasks.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json diff --git a/rest-api-spec/api/cat.plugins.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json similarity index 100% rename from rest-api-spec/api/cat.plugins.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json diff --git a/rest-api-spec/api/cat.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json similarity index 100% rename from rest-api-spec/api/cat.recovery.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json diff --git a/rest-api-spec/api/cat.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json similarity index 100% rename from rest-api-spec/api/cat.segments.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json diff --git a/rest-api-spec/api/cat.shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json similarity index 100% rename from rest-api-spec/api/cat.shards.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json diff --git a/rest-api-spec/api/cat.thread_pool.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json similarity index 100% rename from rest-api-spec/api/cat.thread_pool.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json diff --git a/rest-api-spec/api/clear_scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json similarity index 100% rename from rest-api-spec/api/clear_scroll.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json diff --git a/rest-api-spec/api/cluster.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json similarity index 100% rename from rest-api-spec/api/cluster.get_settings.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json diff --git a/rest-api-spec/api/cluster.health.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json similarity index 100% rename from rest-api-spec/api/cluster.health.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json diff --git a/rest-api-spec/api/cluster.pending_tasks.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json similarity index 100% rename from rest-api-spec/api/cluster.pending_tasks.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json diff --git a/rest-api-spec/api/cluster.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json similarity index 100% rename from rest-api-spec/api/cluster.put_settings.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json diff --git a/rest-api-spec/api/cluster.reroute.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json similarity index 100% rename from rest-api-spec/api/cluster.reroute.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json diff --git a/rest-api-spec/api/cluster.state.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json similarity index 100% rename from rest-api-spec/api/cluster.state.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json diff --git a/rest-api-spec/api/cluster.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json similarity index 100% rename from rest-api-spec/api/cluster.stats.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json diff --git a/rest-api-spec/api/count.json b/rest-api-spec/src/main/resources/rest-api-spec/api/count.json similarity index 100% rename from rest-api-spec/api/count.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/count.json diff --git a/rest-api-spec/api/count_percolate.json b/rest-api-spec/src/main/resources/rest-api-spec/api/count_percolate.json similarity index 100% rename from rest-api-spec/api/count_percolate.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/count_percolate.json diff --git a/rest-api-spec/api/delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete.json similarity index 100% rename from rest-api-spec/api/delete.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/delete.json diff --git a/rest-api-spec/api/delete_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json similarity index 100% rename from rest-api-spec/api/delete_script.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/delete_script.json diff --git a/rest-api-spec/api/delete_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/delete_template.json similarity index 100% rename from rest-api-spec/api/delete_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/delete_template.json diff --git a/rest-api-spec/api/exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/exists.json similarity index 100% rename from rest-api-spec/api/exists.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/exists.json diff --git a/rest-api-spec/api/explain.json b/rest-api-spec/src/main/resources/rest-api-spec/api/explain.json similarity index 100% rename from rest-api-spec/api/explain.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/explain.json diff --git a/rest-api-spec/api/field_stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/field_stats.json similarity index 100% rename from rest-api-spec/api/field_stats.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/field_stats.json diff --git a/rest-api-spec/api/get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get.json similarity index 100% rename from rest-api-spec/api/get.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/get.json diff --git a/rest-api-spec/api/get_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json similarity index 100% rename from rest-api-spec/api/get_script.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/get_script.json diff --git a/rest-api-spec/api/get_source.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json similarity index 100% rename from rest-api-spec/api/get_source.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/get_source.json diff --git a/rest-api-spec/api/get_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/get_template.json similarity index 100% rename from rest-api-spec/api/get_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/get_template.json diff --git a/rest-api-spec/api/index.json b/rest-api-spec/src/main/resources/rest-api-spec/api/index.json similarity index 100% rename from rest-api-spec/api/index.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/index.json diff --git a/rest-api-spec/api/indices.analyze.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json similarity index 100% rename from rest-api-spec/api/indices.analyze.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.analyze.json diff --git a/rest-api-spec/api/indices.clear_cache.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json similarity index 100% rename from rest-api-spec/api/indices.clear_cache.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.clear_cache.json diff --git a/rest-api-spec/api/indices.close.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json similarity index 100% rename from rest-api-spec/api/indices.close.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.close.json diff --git a/rest-api-spec/api/indices.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json similarity index 100% rename from rest-api-spec/api/indices.create.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.create.json diff --git a/rest-api-spec/api/indices.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json similarity index 100% rename from rest-api-spec/api/indices.delete.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete.json diff --git a/rest-api-spec/api/indices.delete_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json similarity index 100% rename from rest-api-spec/api/indices.delete_alias.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_alias.json diff --git a/rest-api-spec/api/indices.delete_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json similarity index 100% rename from rest-api-spec/api/indices.delete_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_template.json diff --git a/rest-api-spec/api/indices.delete_warmer.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_warmer.json similarity index 100% rename from rest-api-spec/api/indices.delete_warmer.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.delete_warmer.json diff --git a/rest-api-spec/api/indices.exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json similarity index 100% rename from rest-api-spec/api/indices.exists.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists.json diff --git a/rest-api-spec/api/indices.exists_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json similarity index 100% rename from rest-api-spec/api/indices.exists_alias.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_alias.json diff --git a/rest-api-spec/api/indices.exists_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json similarity index 100% rename from rest-api-spec/api/indices.exists_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_template.json diff --git a/rest-api-spec/api/indices.exists_type.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json similarity index 100% rename from rest-api-spec/api/indices.exists_type.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.exists_type.json diff --git a/rest-api-spec/api/indices.flush.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json similarity index 100% rename from rest-api-spec/api/indices.flush.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush.json diff --git a/rest-api-spec/api/indices.flush_synced.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json similarity index 100% rename from rest-api-spec/api/indices.flush_synced.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.flush_synced.json diff --git a/rest-api-spec/api/indices.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json similarity index 100% rename from rest-api-spec/api/indices.get.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get.json diff --git a/rest-api-spec/api/indices.get_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json similarity index 100% rename from rest-api-spec/api/indices.get_alias.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_alias.json diff --git a/rest-api-spec/api/indices.get_aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_aliases.json similarity index 100% rename from rest-api-spec/api/indices.get_aliases.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_aliases.json diff --git a/rest-api-spec/api/indices.get_field_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json similarity index 100% rename from rest-api-spec/api/indices.get_field_mapping.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_field_mapping.json diff --git a/rest-api-spec/api/indices.get_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json similarity index 100% rename from rest-api-spec/api/indices.get_mapping.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_mapping.json diff --git a/rest-api-spec/api/indices.get_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json similarity index 100% rename from rest-api-spec/api/indices.get_settings.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_settings.json diff --git a/rest-api-spec/api/indices.get_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json similarity index 100% rename from rest-api-spec/api/indices.get_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_template.json diff --git a/rest-api-spec/api/indices.get_upgrade.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_upgrade.json similarity index 100% rename from rest-api-spec/api/indices.get_upgrade.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_upgrade.json diff --git a/rest-api-spec/api/indices.get_warmer.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_warmer.json similarity index 100% rename from rest-api-spec/api/indices.get_warmer.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.get_warmer.json diff --git a/rest-api-spec/api/indices.open.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json similarity index 100% rename from rest-api-spec/api/indices.open.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.open.json diff --git a/rest-api-spec/api/indices.optimize.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.optimize.json similarity index 100% rename from rest-api-spec/api/indices.optimize.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.optimize.json diff --git a/rest-api-spec/api/indices.put_alias.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json similarity index 100% rename from rest-api-spec/api/indices.put_alias.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_alias.json diff --git a/rest-api-spec/api/indices.put_mapping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json similarity index 100% rename from rest-api-spec/api/indices.put_mapping.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_mapping.json diff --git a/rest-api-spec/api/indices.put_settings.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json similarity index 100% rename from rest-api-spec/api/indices.put_settings.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_settings.json diff --git a/rest-api-spec/api/indices.put_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json similarity index 100% rename from rest-api-spec/api/indices.put_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_template.json diff --git a/rest-api-spec/api/indices.put_warmer.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_warmer.json similarity index 100% rename from rest-api-spec/api/indices.put_warmer.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.put_warmer.json diff --git a/rest-api-spec/api/indices.recovery.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json similarity index 100% rename from rest-api-spec/api/indices.recovery.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.recovery.json diff --git a/rest-api-spec/api/indices.refresh.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json similarity index 100% rename from rest-api-spec/api/indices.refresh.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.refresh.json diff --git a/rest-api-spec/api/indices.segments.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json similarity index 100% rename from rest-api-spec/api/indices.segments.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.segments.json diff --git a/rest-api-spec/api/indices.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json similarity index 100% rename from rest-api-spec/api/indices.stats.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.stats.json diff --git a/rest-api-spec/api/indices.update_aliases.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json similarity index 100% rename from rest-api-spec/api/indices.update_aliases.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.update_aliases.json diff --git a/rest-api-spec/api/indices.upgrade.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json similarity index 100% rename from rest-api-spec/api/indices.upgrade.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.upgrade.json diff --git a/rest-api-spec/api/indices.validate_query.json b/rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json similarity index 100% rename from rest-api-spec/api/indices.validate_query.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/indices.validate_query.json diff --git a/rest-api-spec/api/info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/info.json similarity index 100% rename from rest-api-spec/api/info.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/info.json diff --git a/rest-api-spec/api/mget.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mget.json similarity index 100% rename from rest-api-spec/api/mget.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/mget.json diff --git a/rest-api-spec/api/mpercolate.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mpercolate.json similarity index 100% rename from rest-api-spec/api/mpercolate.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/mpercolate.json diff --git a/rest-api-spec/api/msearch.json b/rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json similarity index 100% rename from rest-api-spec/api/msearch.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/msearch.json diff --git a/rest-api-spec/api/mtermvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json similarity index 100% rename from rest-api-spec/api/mtermvectors.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/mtermvectors.json diff --git a/rest-api-spec/api/nodes.hot_threads.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json similarity index 100% rename from rest-api-spec/api/nodes.hot_threads.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/nodes.hot_threads.json diff --git a/rest-api-spec/api/nodes.info.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json similarity index 100% rename from rest-api-spec/api/nodes.info.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/nodes.info.json diff --git a/rest-api-spec/api/nodes.stats.json b/rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json similarity index 100% rename from rest-api-spec/api/nodes.stats.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/nodes.stats.json diff --git a/rest-api-spec/api/percolate.json b/rest-api-spec/src/main/resources/rest-api-spec/api/percolate.json similarity index 100% rename from rest-api-spec/api/percolate.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/percolate.json diff --git a/rest-api-spec/api/ping.json b/rest-api-spec/src/main/resources/rest-api-spec/api/ping.json similarity index 100% rename from rest-api-spec/api/ping.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/ping.json diff --git a/rest-api-spec/api/put_script.json b/rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json similarity index 100% rename from rest-api-spec/api/put_script.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/put_script.json diff --git a/rest-api-spec/api/put_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/put_template.json similarity index 100% rename from rest-api-spec/api/put_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/put_template.json diff --git a/rest-api-spec/api/scroll.json b/rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json similarity index 100% rename from rest-api-spec/api/scroll.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/scroll.json diff --git a/rest-api-spec/api/search.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search.json similarity index 100% rename from rest-api-spec/api/search.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/search.json diff --git a/rest-api-spec/api/search_exists.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_exists.json similarity index 100% rename from rest-api-spec/api/search_exists.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/search_exists.json diff --git a/rest-api-spec/api/search_shards.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json similarity index 100% rename from rest-api-spec/api/search_shards.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/search_shards.json diff --git a/rest-api-spec/api/search_template.json b/rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json similarity index 100% rename from rest-api-spec/api/search_template.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/search_template.json diff --git a/rest-api-spec/api/snapshot.create.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json similarity index 100% rename from rest-api-spec/api/snapshot.create.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create.json diff --git a/rest-api-spec/api/snapshot.create_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json similarity index 100% rename from rest-api-spec/api/snapshot.create_repository.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.create_repository.json diff --git a/rest-api-spec/api/snapshot.delete.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json similarity index 100% rename from rest-api-spec/api/snapshot.delete.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete.json diff --git a/rest-api-spec/api/snapshot.delete_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json similarity index 100% rename from rest-api-spec/api/snapshot.delete_repository.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.delete_repository.json diff --git a/rest-api-spec/api/snapshot.get.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json similarity index 100% rename from rest-api-spec/api/snapshot.get.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get.json diff --git a/rest-api-spec/api/snapshot.get_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json similarity index 100% rename from rest-api-spec/api/snapshot.get_repository.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.get_repository.json diff --git a/rest-api-spec/api/snapshot.restore.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json similarity index 100% rename from rest-api-spec/api/snapshot.restore.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.restore.json diff --git a/rest-api-spec/api/snapshot.status.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json similarity index 100% rename from rest-api-spec/api/snapshot.status.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.status.json diff --git a/rest-api-spec/api/snapshot.verify_repository.json b/rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json similarity index 100% rename from rest-api-spec/api/snapshot.verify_repository.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/snapshot.verify_repository.json diff --git a/rest-api-spec/api/suggest.json b/rest-api-spec/src/main/resources/rest-api-spec/api/suggest.json similarity index 100% rename from rest-api-spec/api/suggest.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/suggest.json diff --git a/rest-api-spec/api/termvectors.json b/rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json similarity index 100% rename from rest-api-spec/api/termvectors.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/termvectors.json diff --git a/rest-api-spec/api/update.json b/rest-api-spec/src/main/resources/rest-api-spec/api/update.json similarity index 100% rename from rest-api-spec/api/update.json rename to rest-api-spec/src/main/resources/rest-api-spec/api/update.json diff --git a/rest-api-spec/test/README.asciidoc b/rest-api-spec/src/main/resources/rest-api-spec/test/README.asciidoc similarity index 100% rename from rest-api-spec/test/README.asciidoc rename to rest-api-spec/src/main/resources/rest-api-spec/test/README.asciidoc diff --git a/rest-api-spec/test/bulk/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/10_basic.yaml similarity index 100% rename from rest-api-spec/test/bulk/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/bulk/10_basic.yaml diff --git a/rest-api-spec/test/bulk/20_list_of_strings.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/20_list_of_strings.yaml similarity index 100% rename from rest-api-spec/test/bulk/20_list_of_strings.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/bulk/20_list_of_strings.yaml diff --git a/rest-api-spec/test/bulk/30_big_string.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/bulk/30_big_string.yaml similarity index 100% rename from rest-api-spec/test/bulk/30_big_string.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/bulk/30_big_string.yaml diff --git a/rest-api-spec/test/cat.aliases/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.aliases/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.aliases/10_basic.yaml diff --git a/rest-api-spec/test/cat.allocation/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.allocation/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.allocation/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.allocation/10_basic.yaml diff --git a/rest-api-spec/test/cat.count/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.count/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.count/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.count/10_basic.yaml diff --git a/rest-api-spec/test/cat.fielddata/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.fielddata/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.fielddata/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.fielddata/10_basic.yaml diff --git a/rest-api-spec/test/cat.health/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.health/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.health/10_basic.yaml diff --git a/rest-api-spec/test/cat.indices/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.indices/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.indices/10_basic.yaml diff --git a/rest-api-spec/test/cat.nodes/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.nodes/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.nodes/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.nodes/10_basic.yaml diff --git a/rest-api-spec/test/cat.plugins/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.plugins/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.plugins/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.plugins/10_basic.yaml diff --git a/rest-api-spec/test/cat.recovery/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.recovery/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.recovery/10_basic.yaml diff --git a/rest-api-spec/test/cat.segments/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.segments/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.segments/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.segments/10_basic.yaml diff --git a/rest-api-spec/test/cat.shards/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.shards/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.shards/10_basic.yaml diff --git a/rest-api-spec/test/cat.thread_pool/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cat.thread_pool/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cat.thread_pool/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cat.thread_pool/10_basic.yaml diff --git a/rest-api-spec/test/cluster.health/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cluster.health/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.health/10_basic.yaml diff --git a/rest-api-spec/test/cluster.pending_tasks/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.pending_tasks/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cluster.pending_tasks/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.pending_tasks/10_basic.yaml diff --git a/rest-api-spec/test/cluster.put_settings/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.put_settings/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cluster.put_settings/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.put_settings/10_basic.yaml diff --git a/rest-api-spec/test/cluster.reroute/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cluster.reroute/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/10_basic.yaml diff --git a/rest-api-spec/test/cluster.reroute/11_explain.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/11_explain.yaml similarity index 100% rename from rest-api-spec/test/cluster.reroute/11_explain.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/11_explain.yaml diff --git a/rest-api-spec/test/cluster.reroute/20_response_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/20_response_filtering.yaml similarity index 100% rename from rest-api-spec/test/cluster.reroute/20_response_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.reroute/20_response_filtering.yaml diff --git a/rest-api-spec/test/cluster.state/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/10_basic.yaml similarity index 100% rename from rest-api-spec/test/cluster.state/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/10_basic.yaml diff --git a/rest-api-spec/test/cluster.state/20_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/20_filtering.yaml similarity index 100% rename from rest-api-spec/test/cluster.state/20_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/20_filtering.yaml diff --git a/rest-api-spec/test/cluster.state/30_expand_wildcards.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/30_expand_wildcards.yaml similarity index 100% rename from rest-api-spec/test/cluster.state/30_expand_wildcards.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/cluster.state/30_expand_wildcards.yaml diff --git a/rest-api-spec/test/count/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/count/10_basic.yaml similarity index 100% rename from rest-api-spec/test/count/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/count/10_basic.yaml diff --git a/rest-api-spec/test/count/20_query_string.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/count/20_query_string.yaml similarity index 100% rename from rest-api-spec/test/count/20_query_string.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/count/20_query_string.yaml diff --git a/rest-api-spec/test/create/10_with_id.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/10_with_id.yaml similarity index 100% rename from rest-api-spec/test/create/10_with_id.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/10_with_id.yaml diff --git a/rest-api-spec/test/create/15_without_id.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/15_without_id.yaml similarity index 100% rename from rest-api-spec/test/create/15_without_id.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/15_without_id.yaml diff --git a/rest-api-spec/test/create/30_internal_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/30_internal_version.yaml similarity index 100% rename from rest-api-spec/test/create/30_internal_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/30_internal_version.yaml diff --git a/rest-api-spec/test/create/35_external_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/35_external_version.yaml similarity index 100% rename from rest-api-spec/test/create/35_external_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/35_external_version.yaml diff --git a/rest-api-spec/test/create/36_external_gte_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/36_external_gte_version.yaml similarity index 100% rename from rest-api-spec/test/create/36_external_gte_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/36_external_gte_version.yaml diff --git a/rest-api-spec/test/create/37_force_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/37_force_version.yaml similarity index 100% rename from rest-api-spec/test/create/37_force_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/37_force_version.yaml diff --git a/rest-api-spec/test/create/40_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/40_routing.yaml similarity index 100% rename from rest-api-spec/test/create/40_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/40_routing.yaml diff --git a/rest-api-spec/test/create/50_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/50_parent.yaml similarity index 100% rename from rest-api-spec/test/create/50_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/50_parent.yaml diff --git a/rest-api-spec/test/create/55_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/55_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/create/55_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/55_parent_with_routing.yaml diff --git a/rest-api-spec/test/create/60_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yaml similarity index 100% rename from rest-api-spec/test/create/60_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/60_refresh.yaml diff --git a/rest-api-spec/test/create/70_timestamp.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/70_timestamp.yaml similarity index 100% rename from rest-api-spec/test/create/70_timestamp.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/70_timestamp.yaml diff --git a/rest-api-spec/test/create/75_ttl.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/create/75_ttl.yaml similarity index 100% rename from rest-api-spec/test/create/75_ttl.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/75_ttl.yaml diff --git a/rest-api-spec/test/create/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/create/TODO.txt similarity index 100% rename from rest-api-spec/test/create/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/create/TODO.txt diff --git a/rest-api-spec/test/delete/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/10_basic.yaml similarity index 100% rename from rest-api-spec/test/delete/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/10_basic.yaml diff --git a/rest-api-spec/test/delete/11_shard_header.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/11_shard_header.yaml similarity index 100% rename from rest-api-spec/test/delete/11_shard_header.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/11_shard_header.yaml diff --git a/rest-api-spec/test/delete/20_internal_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/20_internal_version.yaml similarity index 100% rename from rest-api-spec/test/delete/20_internal_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/20_internal_version.yaml diff --git a/rest-api-spec/test/delete/25_external_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/25_external_version.yaml similarity index 100% rename from rest-api-spec/test/delete/25_external_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/25_external_version.yaml diff --git a/rest-api-spec/test/delete/26_external_gte_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/26_external_gte_version.yaml similarity index 100% rename from rest-api-spec/test/delete/26_external_gte_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/26_external_gte_version.yaml diff --git a/rest-api-spec/test/delete/27_force_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/27_force_version.yaml similarity index 100% rename from rest-api-spec/test/delete/27_force_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/27_force_version.yaml diff --git a/rest-api-spec/test/delete/30_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yaml similarity index 100% rename from rest-api-spec/test/delete/30_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/30_routing.yaml diff --git a/rest-api-spec/test/delete/40_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/40_parent.yaml similarity index 100% rename from rest-api-spec/test/delete/40_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/40_parent.yaml diff --git a/rest-api-spec/test/delete/42_missing_parent.yml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/42_missing_parent.yml similarity index 100% rename from rest-api-spec/test/delete/42_missing_parent.yml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/42_missing_parent.yml diff --git a/rest-api-spec/test/delete/45_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/45_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/delete/45_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/45_parent_with_routing.yaml diff --git a/rest-api-spec/test/delete/50_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/50_refresh.yaml similarity index 100% rename from rest-api-spec/test/delete/50_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/50_refresh.yaml diff --git a/rest-api-spec/test/delete/60_missing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/60_missing.yaml similarity index 100% rename from rest-api-spec/test/delete/60_missing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/60_missing.yaml diff --git a/rest-api-spec/test/delete/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/delete/TODO.txt similarity index 100% rename from rest-api-spec/test/delete/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/delete/TODO.txt diff --git a/rest-api-spec/test/exists/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/10_basic.yaml similarity index 100% rename from rest-api-spec/test/exists/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/exists/10_basic.yaml diff --git a/rest-api-spec/test/exists/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/30_parent.yaml similarity index 100% rename from rest-api-spec/test/exists/30_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/exists/30_parent.yaml diff --git a/rest-api-spec/test/exists/40_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/40_routing.yaml similarity index 100% rename from rest-api-spec/test/exists/40_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/exists/40_routing.yaml diff --git a/rest-api-spec/test/exists/55_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/55_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/exists/55_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/exists/55_parent_with_routing.yaml diff --git a/rest-api-spec/test/exists/60_realtime_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/60_realtime_refresh.yaml similarity index 100% rename from rest-api-spec/test/exists/60_realtime_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/exists/60_realtime_refresh.yaml diff --git a/rest-api-spec/test/exists/70_defaults.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/70_defaults.yaml similarity index 100% rename from rest-api-spec/test/exists/70_defaults.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/exists/70_defaults.yaml diff --git a/rest-api-spec/test/exists/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/exists/TODO.txt similarity index 100% rename from rest-api-spec/test/exists/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/exists/TODO.txt diff --git a/rest-api-spec/test/explain/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/explain/10_basic.yaml similarity index 100% rename from rest-api-spec/test/explain/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/explain/10_basic.yaml diff --git a/rest-api-spec/test/explain/20_source_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/explain/20_source_filtering.yaml similarity index 100% rename from rest-api-spec/test/explain/20_source_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/explain/20_source_filtering.yaml diff --git a/rest-api-spec/test/explain/30_query_string.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/explain/30_query_string.yaml similarity index 100% rename from rest-api-spec/test/explain/30_query_string.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/explain/30_query_string.yaml diff --git a/rest-api-spec/test/explain/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/explain/TODO.txt similarity index 100% rename from rest-api-spec/test/explain/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/explain/TODO.txt diff --git a/rest-api-spec/test/field_stats/10_basics.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/field_stats/10_basics.yaml similarity index 100% rename from rest-api-spec/test/field_stats/10_basics.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/field_stats/10_basics.yaml diff --git a/rest-api-spec/test/get/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/10_basic.yaml similarity index 100% rename from rest-api-spec/test/get/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/10_basic.yaml diff --git a/rest-api-spec/test/get/15_default_values.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/15_default_values.yaml similarity index 100% rename from rest-api-spec/test/get/15_default_values.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/15_default_values.yaml diff --git a/rest-api-spec/test/get/20_fields.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/20_fields.yaml similarity index 100% rename from rest-api-spec/test/get/20_fields.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/20_fields.yaml diff --git a/rest-api-spec/test/get/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/30_parent.yaml similarity index 100% rename from rest-api-spec/test/get/30_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/30_parent.yaml diff --git a/rest-api-spec/test/get/40_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/40_routing.yaml similarity index 100% rename from rest-api-spec/test/get/40_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/40_routing.yaml diff --git a/rest-api-spec/test/get/55_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/55_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/get/55_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/55_parent_with_routing.yaml diff --git a/rest-api-spec/test/get/60_realtime_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/60_realtime_refresh.yaml similarity index 100% rename from rest-api-spec/test/get/60_realtime_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/60_realtime_refresh.yaml diff --git a/rest-api-spec/test/get/70_source_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/70_source_filtering.yaml similarity index 100% rename from rest-api-spec/test/get/70_source_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/70_source_filtering.yaml diff --git a/rest-api-spec/test/get/80_missing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/80_missing.yaml similarity index 100% rename from rest-api-spec/test/get/80_missing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/80_missing.yaml diff --git a/rest-api-spec/test/get/90_versions.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get/90_versions.yaml similarity index 100% rename from rest-api-spec/test/get/90_versions.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/90_versions.yaml diff --git a/rest-api-spec/test/get/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/get/TODO.txt similarity index 100% rename from rest-api-spec/test/get/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/get/TODO.txt diff --git a/rest-api-spec/test/get_source/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/10_basic.yaml similarity index 100% rename from rest-api-spec/test/get_source/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/10_basic.yaml diff --git a/rest-api-spec/test/get_source/15_default_values.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/15_default_values.yaml similarity index 100% rename from rest-api-spec/test/get_source/15_default_values.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/15_default_values.yaml diff --git a/rest-api-spec/test/get_source/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/30_parent.yaml similarity index 100% rename from rest-api-spec/test/get_source/30_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/30_parent.yaml diff --git a/rest-api-spec/test/get_source/40_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/40_routing.yaml similarity index 100% rename from rest-api-spec/test/get_source/40_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/40_routing.yaml diff --git a/rest-api-spec/test/get_source/55_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/55_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/get_source/55_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/55_parent_with_routing.yaml diff --git a/rest-api-spec/test/get_source/60_realtime_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/60_realtime_refresh.yaml similarity index 100% rename from rest-api-spec/test/get_source/60_realtime_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/60_realtime_refresh.yaml diff --git a/rest-api-spec/test/get_source/70_source_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/70_source_filtering.yaml similarity index 100% rename from rest-api-spec/test/get_source/70_source_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/70_source_filtering.yaml diff --git a/rest-api-spec/test/get_source/80_missing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/80_missing.yaml similarity index 100% rename from rest-api-spec/test/get_source/80_missing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/80_missing.yaml diff --git a/rest-api-spec/test/get_source/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/get_source/TODO.txt similarity index 100% rename from rest-api-spec/test/get_source/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/get_source/TODO.txt diff --git a/rest-api-spec/test/index/10_with_id.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/10_with_id.yaml similarity index 100% rename from rest-api-spec/test/index/10_with_id.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/10_with_id.yaml diff --git a/rest-api-spec/test/index/15_without_id.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/15_without_id.yaml similarity index 100% rename from rest-api-spec/test/index/15_without_id.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/15_without_id.yaml diff --git a/rest-api-spec/test/index/20_optype.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/20_optype.yaml similarity index 100% rename from rest-api-spec/test/index/20_optype.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/20_optype.yaml diff --git a/rest-api-spec/test/index/30_internal_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/30_internal_version.yaml similarity index 100% rename from rest-api-spec/test/index/30_internal_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/30_internal_version.yaml diff --git a/rest-api-spec/test/index/35_external_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/35_external_version.yaml similarity index 100% rename from rest-api-spec/test/index/35_external_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/35_external_version.yaml diff --git a/rest-api-spec/test/index/36_external_gte_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/36_external_gte_version.yaml similarity index 100% rename from rest-api-spec/test/index/36_external_gte_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/36_external_gte_version.yaml diff --git a/rest-api-spec/test/index/37_force_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/37_force_version.yaml similarity index 100% rename from rest-api-spec/test/index/37_force_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/37_force_version.yaml diff --git a/rest-api-spec/test/index/40_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/40_routing.yaml similarity index 100% rename from rest-api-spec/test/index/40_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/40_routing.yaml diff --git a/rest-api-spec/test/index/50_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/50_parent.yaml similarity index 100% rename from rest-api-spec/test/index/50_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/50_parent.yaml diff --git a/rest-api-spec/test/index/55_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/55_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/index/55_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/55_parent_with_routing.yaml diff --git a/rest-api-spec/test/index/60_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/60_refresh.yaml similarity index 100% rename from rest-api-spec/test/index/60_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/60_refresh.yaml diff --git a/rest-api-spec/test/index/70_timestamp.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/70_timestamp.yaml similarity index 100% rename from rest-api-spec/test/index/70_timestamp.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/70_timestamp.yaml diff --git a/rest-api-spec/test/index/75_ttl.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/index/75_ttl.yaml similarity index 100% rename from rest-api-spec/test/index/75_ttl.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/75_ttl.yaml diff --git a/rest-api-spec/test/index/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/index/TODO.txt similarity index 100% rename from rest-api-spec/test/index/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/index/TODO.txt diff --git a/rest-api-spec/test/indices.analyze/10_analyze.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.analyze/10_analyze.yaml similarity index 100% rename from rest-api-spec/test/indices.analyze/10_analyze.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.analyze/10_analyze.yaml diff --git a/rest-api-spec/test/indices.clear_cache/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.clear_cache/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.clear_cache/10_basic.yaml diff --git a/rest-api-spec/test/indices.create/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.create/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.create/10_basic.yaml diff --git a/rest-api-spec/test/indices.delete_alias/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.delete_alias/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/10_basic.yaml diff --git a/rest-api-spec/test/indices.delete_alias/all_path_options.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/all_path_options.yaml similarity index 100% rename from rest-api-spec/test/indices.delete_alias/all_path_options.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_alias/all_path_options.yaml diff --git a/rest-api-spec/test/indices.delete_warmer/all_path_options.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_warmer/all_path_options.yaml similarity index 100% rename from rest-api-spec/test/indices.delete_warmer/all_path_options.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_warmer/all_path_options.yaml diff --git a/rest-api-spec/test/indices.exists/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.exists/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists/10_basic.yaml diff --git a/rest-api-spec/test/indices.exists/20_read_only_index.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists/20_read_only_index.yaml similarity index 100% rename from rest-api-spec/test/indices.exists/20_read_only_index.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists/20_read_only_index.yaml diff --git a/rest-api-spec/test/indices.exists_alias/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists_alias/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.exists_alias/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists_alias/10_basic.yaml diff --git a/rest-api-spec/test/indices.exists_template/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists_template/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.exists_template/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists_template/10_basic.yaml diff --git a/rest-api-spec/test/indices.exists_type/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists_type/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.exists_type/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.exists_type/10_basic.yaml diff --git a/rest-api-spec/test/indices.flush/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.flush/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.flush/10_basic.yaml diff --git a/rest-api-spec/test/indices.get/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_alias/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get_alias/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_alias/20_empty.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/20_empty.yaml similarity index 100% rename from rest-api-spec/test/indices.get_alias/20_empty.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_alias/20_empty.yaml diff --git a/rest-api-spec/test/indices.get_aliases/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_aliases/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get_aliases/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_aliases/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get_field_mapping/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml similarity index 100% rename from rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/20_missing_field.yaml diff --git a/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml similarity index 100% rename from rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/30_missing_type.yaml diff --git a/rest-api-spec/test/indices.get_field_mapping/40_missing_index.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/40_missing_index.yaml similarity index 100% rename from rest-api-spec/test/indices.get_field_mapping/40_missing_index.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/40_missing_index.yaml diff --git a/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml similarity index 100% rename from rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_field_mapping/50_field_wildcards.yaml diff --git a/rest-api-spec/test/indices.get_mapping/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get_mapping/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_mapping/20_missing_type.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/20_missing_type.yaml similarity index 100% rename from rest-api-spec/test/indices.get_mapping/20_missing_type.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/20_missing_type.yaml diff --git a/rest-api-spec/test/indices.get_mapping/30_missing_index.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/30_missing_index.yaml similarity index 100% rename from rest-api-spec/test/indices.get_mapping/30_missing_index.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/30_missing_index.yaml diff --git a/rest-api-spec/test/indices.get_mapping/40_aliases.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/40_aliases.yaml similarity index 100% rename from rest-api-spec/test/indices.get_mapping/40_aliases.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/40_aliases.yaml diff --git a/rest-api-spec/test/indices.get_mapping/50_wildcard_expansion.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/50_wildcard_expansion.yaml similarity index 100% rename from rest-api-spec/test/indices.get_mapping/50_wildcard_expansion.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/50_wildcard_expansion.yaml diff --git a/rest-api-spec/test/indices.get_mapping/60_empty.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/60_empty.yaml similarity index 100% rename from rest-api-spec/test/indices.get_mapping/60_empty.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_mapping/60_empty.yaml diff --git a/rest-api-spec/test/indices.get_settings/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_settings/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get_settings/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_settings/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_settings/20_aliases.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_settings/20_aliases.yaml similarity index 100% rename from rest-api-spec/test/indices.get_settings/20_aliases.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_settings/20_aliases.yaml diff --git a/rest-api-spec/test/indices.get_template/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_template/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get_template/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_template/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_template/20_get_missing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_template/20_get_missing.yaml similarity index 100% rename from rest-api-spec/test/indices.get_template/20_get_missing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_template/20_get_missing.yaml diff --git a/rest-api-spec/test/indices.get_warmer/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_warmer/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.get_warmer/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_warmer/10_basic.yaml diff --git a/rest-api-spec/test/indices.get_warmer/20_empty.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_warmer/20_empty.yaml similarity index 100% rename from rest-api-spec/test/indices.get_warmer/20_empty.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.get_warmer/20_empty.yaml diff --git a/rest-api-spec/test/indices.open/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.open/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/10_basic.yaml diff --git a/rest-api-spec/test/indices.open/20_multiple_indices.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/20_multiple_indices.yaml similarity index 100% rename from rest-api-spec/test/indices.open/20_multiple_indices.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.open/20_multiple_indices.yaml diff --git a/rest-api-spec/test/indices.optimize/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.optimize/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.optimize/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.optimize/10_basic.yaml diff --git a/rest-api-spec/test/indices.put_alias/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.put_alias/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/10_basic.yaml diff --git a/rest-api-spec/test/indices.put_alias/all_path_options.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/all_path_options.yaml similarity index 100% rename from rest-api-spec/test/indices.put_alias/all_path_options.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_alias/all_path_options.yaml diff --git a/rest-api-spec/test/indices.put_mapping/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.put_mapping/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/10_basic.yaml diff --git a/rest-api-spec/test/indices.put_mapping/all_path_options.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/all_path_options.yaml similarity index 100% rename from rest-api-spec/test/indices.put_mapping/all_path_options.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_mapping/all_path_options.yaml diff --git a/rest-api-spec/test/indices.put_settings/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_settings/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.put_settings/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_settings/10_basic.yaml diff --git a/rest-api-spec/test/indices.put_settings/all_path_options.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_settings/all_path_options.yaml similarity index 100% rename from rest-api-spec/test/indices.put_settings/all_path_options.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_settings/all_path_options.yaml diff --git a/rest-api-spec/test/indices.put_template/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_template/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.put_template/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_template/10_basic.yaml diff --git a/rest-api-spec/test/indices.put_warmer/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_warmer/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.put_warmer/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_warmer/10_basic.yaml diff --git a/rest-api-spec/test/indices.put_warmer/20_aliases.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_warmer/20_aliases.yaml similarity index 100% rename from rest-api-spec/test/indices.put_warmer/20_aliases.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_warmer/20_aliases.yaml diff --git a/rest-api-spec/test/indices.put_warmer/all_path_options.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_warmer/all_path_options.yaml similarity index 100% rename from rest-api-spec/test/indices.put_warmer/all_path_options.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.put_warmer/all_path_options.yaml diff --git a/rest-api-spec/test/indices.recovery/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.recovery/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.recovery/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.recovery/10_basic.yaml diff --git a/rest-api-spec/test/indices.refresh/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.refresh/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.refresh/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.refresh/10_basic.yaml diff --git a/rest-api-spec/test/indices.segments/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.segments/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.segments/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.segments/10_basic.yaml diff --git a/rest-api-spec/test/indices.stats/10_index.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/10_index.yaml similarity index 100% rename from rest-api-spec/test/indices.stats/10_index.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/10_index.yaml diff --git a/rest-api-spec/test/indices.stats/11_metric.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/11_metric.yaml similarity index 100% rename from rest-api-spec/test/indices.stats/11_metric.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/11_metric.yaml diff --git a/rest-api-spec/test/indices.stats/12_level.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/12_level.yaml similarity index 100% rename from rest-api-spec/test/indices.stats/12_level.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/12_level.yaml diff --git a/rest-api-spec/test/indices.stats/13_fields.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/13_fields.yaml similarity index 100% rename from rest-api-spec/test/indices.stats/13_fields.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/13_fields.yaml diff --git a/rest-api-spec/test/indices.stats/14_groups.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/14_groups.yaml similarity index 100% rename from rest-api-spec/test/indices.stats/14_groups.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/14_groups.yaml diff --git a/rest-api-spec/test/indices.stats/15_types.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/15_types.yaml similarity index 100% rename from rest-api-spec/test/indices.stats/15_types.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.stats/15_types.yaml diff --git a/rest-api-spec/test/indices.update_aliases/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.update_aliases/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.update_aliases/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.update_aliases/10_basic.yaml diff --git a/rest-api-spec/test/indices.update_aliases/20_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.update_aliases/20_routing.yaml similarity index 100% rename from rest-api-spec/test/indices.update_aliases/20_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.update_aliases/20_routing.yaml diff --git a/rest-api-spec/test/indices.upgrade/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.upgrade/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.upgrade/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.upgrade/10_basic.yaml diff --git a/rest-api-spec/test/indices.validate_query/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yaml similarity index 100% rename from rest-api-spec/test/indices.validate_query/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/10_basic.yaml diff --git a/rest-api-spec/test/indices.validate_query/20_query_string.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string.yaml similarity index 100% rename from rest-api-spec/test/indices.validate_query/20_query_string.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/indices.validate_query/20_query_string.yaml diff --git a/rest-api-spec/test/info/10_info.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/info/10_info.yaml similarity index 100% rename from rest-api-spec/test/info/10_info.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/info/10_info.yaml diff --git a/rest-api-spec/test/info/20_lucene_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/info/20_lucene_version.yaml similarity index 100% rename from rest-api-spec/test/info/20_lucene_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/info/20_lucene_version.yaml diff --git a/rest-api-spec/test/mget/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/10_basic.yaml similarity index 100% rename from rest-api-spec/test/mget/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/10_basic.yaml diff --git a/rest-api-spec/test/mget/11_default_index_type.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/11_default_index_type.yaml similarity index 100% rename from rest-api-spec/test/mget/11_default_index_type.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/11_default_index_type.yaml diff --git a/rest-api-spec/test/mget/12_non_existent_index.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/12_non_existent_index.yaml similarity index 100% rename from rest-api-spec/test/mget/12_non_existent_index.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/12_non_existent_index.yaml diff --git a/rest-api-spec/test/mget/13_missing_metadata.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/13_missing_metadata.yaml similarity index 100% rename from rest-api-spec/test/mget/13_missing_metadata.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/13_missing_metadata.yaml diff --git a/rest-api-spec/test/mget/15_ids.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/15_ids.yaml similarity index 100% rename from rest-api-spec/test/mget/15_ids.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/15_ids.yaml diff --git a/rest-api-spec/test/mget/20_fields.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/20_fields.yaml similarity index 100% rename from rest-api-spec/test/mget/20_fields.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/20_fields.yaml diff --git a/rest-api-spec/test/mget/30_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/30_parent.yaml similarity index 100% rename from rest-api-spec/test/mget/30_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/30_parent.yaml diff --git a/rest-api-spec/test/mget/40_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/40_routing.yaml similarity index 100% rename from rest-api-spec/test/mget/40_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/40_routing.yaml diff --git a/rest-api-spec/test/mget/55_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/55_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/mget/55_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/55_parent_with_routing.yaml diff --git a/rest-api-spec/test/mget/60_realtime_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/60_realtime_refresh.yaml similarity index 100% rename from rest-api-spec/test/mget/60_realtime_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/60_realtime_refresh.yaml diff --git a/rest-api-spec/test/mget/70_source_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/70_source_filtering.yaml similarity index 100% rename from rest-api-spec/test/mget/70_source_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/70_source_filtering.yaml diff --git a/rest-api-spec/test/mget/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/TODO.txt similarity index 100% rename from rest-api-spec/test/mget/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/mget/TODO.txt diff --git a/rest-api-spec/test/mlt/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mlt/10_basic.yaml similarity index 100% rename from rest-api-spec/test/mlt/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mlt/10_basic.yaml diff --git a/rest-api-spec/test/mlt/20_docs.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mlt/20_docs.yaml similarity index 100% rename from rest-api-spec/test/mlt/20_docs.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mlt/20_docs.yaml diff --git a/rest-api-spec/test/mlt/30_unlike.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mlt/30_unlike.yaml similarity index 100% rename from rest-api-spec/test/mlt/30_unlike.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mlt/30_unlike.yaml diff --git a/rest-api-spec/test/mpercolate/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mpercolate/10_basic.yaml similarity index 100% rename from rest-api-spec/test/mpercolate/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mpercolate/10_basic.yaml diff --git a/rest-api-spec/test/msearch/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/msearch/10_basic.yaml similarity index 100% rename from rest-api-spec/test/msearch/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/msearch/10_basic.yaml diff --git a/rest-api-spec/test/mtermvectors/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mtermvectors/10_basic.yaml similarity index 100% rename from rest-api-spec/test/mtermvectors/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/mtermvectors/10_basic.yaml diff --git a/rest-api-spec/test/nodes.info/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/10_basic.yaml similarity index 100% rename from rest-api-spec/test/nodes.info/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/10_basic.yaml diff --git a/rest-api-spec/test/nodes.info/20_transport.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/20_transport.yaml similarity index 100% rename from rest-api-spec/test/nodes.info/20_transport.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/nodes.info/20_transport.yaml diff --git a/rest-api-spec/test/nodes.stats/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/10_basic.yaml similarity index 100% rename from rest-api-spec/test/nodes.stats/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/10_basic.yaml diff --git a/rest-api-spec/test/nodes.stats/20_response_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/20_response_filtering.yaml similarity index 100% rename from rest-api-spec/test/nodes.stats/20_response_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/nodes.stats/20_response_filtering.yaml diff --git a/rest-api-spec/test/percolate/15_new.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/percolate/15_new.yaml similarity index 100% rename from rest-api-spec/test/percolate/15_new.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/percolate/15_new.yaml diff --git a/rest-api-spec/test/percolate/16_existing_doc.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/percolate/16_existing_doc.yaml similarity index 100% rename from rest-api-spec/test/percolate/16_existing_doc.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/percolate/16_existing_doc.yaml diff --git a/rest-api-spec/test/percolate/17_empty.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/percolate/17_empty.yaml similarity index 100% rename from rest-api-spec/test/percolate/17_empty.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/percolate/17_empty.yaml diff --git a/rest-api-spec/test/percolate/18_highligh_with_query.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/percolate/18_highligh_with_query.yaml similarity index 100% rename from rest-api-spec/test/percolate/18_highligh_with_query.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/percolate/18_highligh_with_query.yaml diff --git a/rest-api-spec/test/percolate/19_nested.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/percolate/19_nested.yaml similarity index 100% rename from rest-api-spec/test/percolate/19_nested.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/percolate/19_nested.yaml diff --git a/rest-api-spec/test/ping/10_ping.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/ping/10_ping.yaml similarity index 100% rename from rest-api-spec/test/ping/10_ping.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/ping/10_ping.yaml diff --git a/rest-api-spec/test/script/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/script/10_basic.yaml similarity index 100% rename from rest-api-spec/test/script/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/script/10_basic.yaml diff --git a/rest-api-spec/test/script/20_versions.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/script/20_versions.yaml similarity index 100% rename from rest-api-spec/test/script/20_versions.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/script/20_versions.yaml diff --git a/rest-api-spec/test/script/30_expressions.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/script/30_expressions.yaml similarity index 100% rename from rest-api-spec/test/script/30_expressions.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/script/30_expressions.yaml diff --git a/rest-api-spec/test/scroll/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/scroll/10_basic.yaml similarity index 100% rename from rest-api-spec/test/scroll/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/scroll/10_basic.yaml diff --git a/rest-api-spec/test/scroll/11_clear.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/scroll/11_clear.yaml similarity index 100% rename from rest-api-spec/test/scroll/11_clear.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/scroll/11_clear.yaml diff --git a/rest-api-spec/test/search.aggregation/10_histogram.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yaml similarity index 100% rename from rest-api-spec/test/search.aggregation/10_histogram.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/10_histogram.yaml diff --git a/rest-api-spec/test/search/10_source_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/10_source_filtering.yaml similarity index 100% rename from rest-api-spec/test/search/10_source_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/10_source_filtering.yaml diff --git a/rest-api-spec/test/search/20_default_values.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/20_default_values.yaml similarity index 100% rename from rest-api-spec/test/search/20_default_values.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/20_default_values.yaml diff --git a/rest-api-spec/test/search/30_template_query_execution.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/30_template_query_execution.yaml similarity index 100% rename from rest-api-spec/test/search/30_template_query_execution.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/30_template_query_execution.yaml diff --git a/rest-api-spec/test/search/40_search_request_template.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/40_search_request_template.yaml similarity index 100% rename from rest-api-spec/test/search/40_search_request_template.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/40_search_request_template.yaml diff --git a/rest-api-spec/test/search/50_search_count.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/50_search_count.yaml similarity index 100% rename from rest-api-spec/test/search/50_search_count.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/50_search_count.yaml diff --git a/rest-api-spec/test/search/60_query_string.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/60_query_string.yaml similarity index 100% rename from rest-api-spec/test/search/60_query_string.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/60_query_string.yaml diff --git a/rest-api-spec/test/search/70_response_filtering.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/70_response_filtering.yaml similarity index 100% rename from rest-api-spec/test/search/70_response_filtering.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/70_response_filtering.yaml diff --git a/rest-api-spec/test/search/issue4895.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/issue4895.yaml similarity index 100% rename from rest-api-spec/test/search/issue4895.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/issue4895.yaml diff --git a/rest-api-spec/test/search/issue9606.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/issue9606.yaml similarity index 100% rename from rest-api-spec/test/search/issue9606.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/issue9606.yaml diff --git a/rest-api-spec/test/search/test_sig_terms.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search/test_sig_terms.yaml similarity index 100% rename from rest-api-spec/test/search/test_sig_terms.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search/test_sig_terms.yaml diff --git a/rest-api-spec/test/search_exists/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search_exists/10_basic.yaml similarity index 100% rename from rest-api-spec/test/search_exists/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search_exists/10_basic.yaml diff --git a/rest-api-spec/test/search_exists/20_query_string.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search_exists/20_query_string.yaml similarity index 100% rename from rest-api-spec/test/search_exists/20_query_string.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search_exists/20_query_string.yaml diff --git a/rest-api-spec/test/search_shards/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic.yaml similarity index 100% rename from rest-api-spec/test/search_shards/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/search_shards/10_basic.yaml diff --git a/rest-api-spec/test/snapshot.get_repository/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get_repository/10_basic.yaml similarity index 100% rename from rest-api-spec/test/snapshot.get_repository/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/snapshot.get_repository/10_basic.yaml diff --git a/rest-api-spec/test/suggest/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/suggest/10_basic.yaml similarity index 100% rename from rest-api-spec/test/suggest/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/suggest/10_basic.yaml diff --git a/rest-api-spec/test/suggest/20_context.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/suggest/20_context.yaml similarity index 100% rename from rest-api-spec/test/suggest/20_context.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/suggest/20_context.yaml diff --git a/rest-api-spec/test/template/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/template/10_basic.yaml similarity index 100% rename from rest-api-spec/test/template/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/template/10_basic.yaml diff --git a/rest-api-spec/test/template/20_search.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/template/20_search.yaml similarity index 100% rename from rest-api-spec/test/template/20_search.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/template/20_search.yaml diff --git a/rest-api-spec/test/termvectors/10_basic.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/10_basic.yaml similarity index 100% rename from rest-api-spec/test/termvectors/10_basic.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/10_basic.yaml diff --git a/rest-api-spec/test/termvectors/20_issue7121.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/20_issue7121.yaml similarity index 100% rename from rest-api-spec/test/termvectors/20_issue7121.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/20_issue7121.yaml diff --git a/rest-api-spec/test/termvectors/30_realtime.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/30_realtime.yaml similarity index 100% rename from rest-api-spec/test/termvectors/30_realtime.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/30_realtime.yaml diff --git a/rest-api-spec/test/termvectors/40_versions.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/40_versions.yaml similarity index 100% rename from rest-api-spec/test/termvectors/40_versions.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/termvectors/40_versions.yaml diff --git a/rest-api-spec/test/update/10_doc.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/10_doc.yaml similarity index 100% rename from rest-api-spec/test/update/10_doc.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/10_doc.yaml diff --git a/rest-api-spec/test/update/11_shard_header.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/11_shard_header.yaml similarity index 100% rename from rest-api-spec/test/update/11_shard_header.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/11_shard_header.yaml diff --git a/rest-api-spec/test/update/15_script.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/15_script.yaml similarity index 100% rename from rest-api-spec/test/update/15_script.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/15_script.yaml diff --git a/rest-api-spec/test/update/20_doc_upsert.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/20_doc_upsert.yaml similarity index 100% rename from rest-api-spec/test/update/20_doc_upsert.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/20_doc_upsert.yaml diff --git a/rest-api-spec/test/update/22_doc_as_upsert.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/22_doc_as_upsert.yaml similarity index 100% rename from rest-api-spec/test/update/22_doc_as_upsert.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/22_doc_as_upsert.yaml diff --git a/rest-api-spec/test/update/25_script_upsert.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/25_script_upsert.yaml similarity index 100% rename from rest-api-spec/test/update/25_script_upsert.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/25_script_upsert.yaml diff --git a/rest-api-spec/test/update/30_internal_version.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/30_internal_version.yaml similarity index 100% rename from rest-api-spec/test/update/30_internal_version.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/30_internal_version.yaml diff --git a/rest-api-spec/test/update/35_other_versions.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/35_other_versions.yaml similarity index 100% rename from rest-api-spec/test/update/35_other_versions.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/35_other_versions.yaml diff --git a/rest-api-spec/test/update/40_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/40_routing.yaml similarity index 100% rename from rest-api-spec/test/update/40_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/40_routing.yaml diff --git a/rest-api-spec/test/update/50_parent.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/50_parent.yaml similarity index 100% rename from rest-api-spec/test/update/50_parent.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/50_parent.yaml diff --git a/rest-api-spec/test/update/55_parent_with_routing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/55_parent_with_routing.yaml similarity index 100% rename from rest-api-spec/test/update/55_parent_with_routing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/55_parent_with_routing.yaml diff --git a/rest-api-spec/test/update/60_refresh.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/60_refresh.yaml similarity index 100% rename from rest-api-spec/test/update/60_refresh.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/60_refresh.yaml diff --git a/rest-api-spec/test/update/70_timestamp.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/70_timestamp.yaml similarity index 100% rename from rest-api-spec/test/update/70_timestamp.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/70_timestamp.yaml diff --git a/rest-api-spec/test/update/75_ttl.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/75_ttl.yaml similarity index 100% rename from rest-api-spec/test/update/75_ttl.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/75_ttl.yaml diff --git a/rest-api-spec/test/update/80_fields.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/80_fields.yaml similarity index 100% rename from rest-api-spec/test/update/80_fields.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/80_fields.yaml diff --git a/rest-api-spec/test/update/85_fields_meta.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/85_fields_meta.yaml similarity index 100% rename from rest-api-spec/test/update/85_fields_meta.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/85_fields_meta.yaml diff --git a/rest-api-spec/test/update/90_missing.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/update/90_missing.yaml similarity index 100% rename from rest-api-spec/test/update/90_missing.yaml rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/90_missing.yaml diff --git a/rest-api-spec/test/update/TODO.txt b/rest-api-spec/src/main/resources/rest-api-spec/test/update/TODO.txt similarity index 100% rename from rest-api-spec/test/update/TODO.txt rename to rest-api-spec/src/main/resources/rest-api-spec/test/update/TODO.txt