From b9ccee8731a6dc3d784a16314a28d8fae1bfbb85 Mon Sep 17 00:00:00 2001 From: Dimitrios Athanasiou Date: Wed, 17 May 2017 15:57:22 +0100 Subject: [PATCH] [TEST] Rename remaining yaml tests to yml Original commit: elastic/x-pack-elasticsearch@5ee8b9ab7bb8cd33190d0dcc5421e86594dd2f4f --- .../{ldapWithGroupSearch.yaml => ldapWithGroupSearch.yml} | 1 - .../{ldapWithRoleMapping.yaml => ldapWithRoleMapping.yml} | 1 - .../test/authenticate/{10_basic.yaml => 10_basic.yml} | 0 .../test/change_password/{10_basic.yaml => 10_basic.yml} | 1 - .../rest-api-spec/test/graph/{10_basic.yaml => 10_basic.yml} | 0 .../test/license/{20_put_license.yaml => 20_put_license.yml} | 0 .../test/ml/{custom_all_field.yaml => custom_all_field.yml} | 0 .../test/ml/{datafeeds_crud.yaml => datafeeds_crud.yml} | 0 .../{delete_model_snapshot.yaml => delete_model_snapshot.yml} | 0 .../rest-api-spec/test/ml/{filter_crud.yaml => filter_crud.yml} | 0 .../test/ml/{get_datafeed_stats.yaml => get_datafeed_stats.yml} | 0 .../test/ml/{get_datafeeds.yaml => get_datafeeds.yml} | 0 .../rest-api-spec/test/ml/{get_filters.yaml => get_filters.yml} | 0 .../ml/{get_model_snapshots.yaml => get_model_snapshots.yml} | 0 .../test/ml/{index_layout.yaml => index_layout.yml} | 1 - .../rest-api-spec/test/ml/{jobs_crud.yaml => jobs_crud.yml} | 0 .../rest-api-spec/test/ml/{jobs_get.yaml => jobs_get.yml} | 0 ...jobs_get_result_buckets.yaml => jobs_get_result_buckets.yml} | 0 ...et_result_categories.yaml => jobs_get_result_categories.yml} | 0 ..._result_influencers.yaml => jobs_get_result_influencers.yml} | 0 ...jobs_get_result_records.yaml => jobs_get_result_records.yml} | 0 .../test/ml/{jobs_get_stats.yaml => jobs_get_stats.yml} | 0 ..._default_mappings.yaml => ml_anomalies_default_mappings.yml} | 0 .../rest-api-spec/test/ml/{post_data.yaml => post_data.yml} | 0 .../test/ml/{preview_datafeed.yaml => preview_datafeed.yml} | 0 .../{revert_model_snapshot.yaml => revert_model_snapshot.yml} | 0 .../ml/{start_stop_datafeed.yaml => start_stop_datafeed.yml} | 0 .../{update_model_snapshot.yaml => update_model_snapshot.yml} | 0 .../rest-api-spec/test/ml/{validate.yaml => validate.yml} | 0 .../test/ml/{validate_detector.yaml => validate_detector.yml} | 0 .../test/monitoring/bulk/{10_basic.yaml => 10_basic.yml} | 0 .../monitoring/bulk/{20_privileges.yaml => 20_privileges.yml} | 0 .../test/role_mapping/{10_basic.yaml => 10_basic.yml} | 0 .../role_mapping/{20_get_missing.yaml => 20_get_missing.yml} | 0 .../test/role_mapping/{30_delete.yaml => 30_delete.yml} | 0 .../rest-api-spec/test/roles/{10_basic.yaml => 10_basic.yml} | 1 - .../test/roles/{11_idx_arrays.yaml => 11_idx_arrays.yml} | 1 - .../test/roles/{20_get_missing.yaml => 20_get_missing.yml} | 0 ..._prohibited_role_query.yaml => 30_prohibited_role_query.yml} | 0 ..._small_users_one_index.yaml => 10_small_users_one_index.yml} | 0 .../rest-api-spec/test/token/{10_basic.yaml => 10_basic.yml} | 0 .../rest-api-spec/test/users/{10_basic.yaml => 10_basic.yml} | 0 .../users/{15_overwrite_user.yaml => 15_overwrite_user.yml} | 0 .../test/users/{16_update_user.yaml => 16_update_user.yml} | 1 - .../test/users/{20_get_missing.yaml => 20_get_missing.yml} | 0 .../users/{30_enable_disable.yaml => 30_enable_disable.yml} | 1 - .../users/{31_create_disabled.yaml => 31_create_disabled.yml} | 1 - .../test/watcher/ack_watch/{10_basic.yaml => 10_basic.yml} | 0 ..._ack_individual_action.yaml => 20_ack_individual_action.yml} | 0 ...et_condition.yaml => 30_reset_ack_after_unmet_condition.yml} | 1 - .../test/watcher/activate_watch/{10_basic.yaml => 10_basic.yml} | 0 .../block_direct_index_access/{10_basic.yaml => 10_basic.yml} | 0 .../test/watcher/delete_watch/{10_basic.yaml => 10_basic.yml} | 0 .../test/watcher/execute_watch/{10_basic.yaml => 10_basic.yml} | 0 .../test/watcher/get_watch/{10_basic.yaml => 10_basic.yml} | 0 .../test/watcher/get_watch/{20_missing.yaml => 20_missing.yml} | 0 .../test/watcher/put_watch/{10_basic.yaml => 10_basic.yml} | 0 ...rottle_period.yaml => 20_put_watch_with_throttle_period.yml} | 0 ...period.yaml => 30_put_watch_with_action_throttle_period.yml} | 0 ..._put_watch_as_inactive.yaml => 40_put_watch_as_inactive.yml} | 0 ...hment_validation.yaml => 50_email_attachment_validation.yml} | 0 ...on_condition.yaml => 60_put_watch_with_action_condition.yml} | 0 ...sing_id.yaml => 70_put_watch_with_index_action_using_id.yml} | 0 .../watcher/restart_watcher/{10_basic.yaml => 10_basic.yml} | 0 .../test/watcher/start_watcher/{10_basic.yaml => 10_basic.yml} | 0 .../test/watcher/stats/{10_basic.yaml => 10_basic.yml} | 0 .../test/watcher/stop_watcher/{10_basic.yaml => 10_basic.yml} | 0 .../rest-api-spec/test/xpack/{10_basic.yaml => 10_basic.yml} | 2 -- .../rest-api-spec/test/xpack/{15_basic.yaml => 15_basic.yml} | 2 -- 69 files changed, 14 deletions(-) rename plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/{ldapWithGroupSearch.yaml => ldapWithGroupSearch.yml} (78%) rename plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/{ldapWithRoleMapping.yaml => ldapWithRoleMapping.yml} (82%) rename plugin/src/test/resources/rest-api-spec/test/authenticate/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/change_password/{10_basic.yaml => 10_basic.yml} (98%) rename plugin/src/test/resources/rest-api-spec/test/graph/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/license/{20_put_license.yaml => 20_put_license.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{custom_all_field.yaml => custom_all_field.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{datafeeds_crud.yaml => datafeeds_crud.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{delete_model_snapshot.yaml => delete_model_snapshot.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{filter_crud.yaml => filter_crud.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{get_datafeed_stats.yaml => get_datafeed_stats.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{get_datafeeds.yaml => get_datafeeds.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{get_filters.yaml => get_filters.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{get_model_snapshots.yaml => get_model_snapshots.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{index_layout.yaml => index_layout.yml} (99%) rename plugin/src/test/resources/rest-api-spec/test/ml/{jobs_crud.yaml => jobs_crud.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{jobs_get.yaml => jobs_get.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{jobs_get_result_buckets.yaml => jobs_get_result_buckets.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{jobs_get_result_categories.yaml => jobs_get_result_categories.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{jobs_get_result_influencers.yaml => jobs_get_result_influencers.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{jobs_get_result_records.yaml => jobs_get_result_records.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{jobs_get_stats.yaml => jobs_get_stats.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{ml_anomalies_default_mappings.yaml => ml_anomalies_default_mappings.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{post_data.yaml => post_data.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{preview_datafeed.yaml => preview_datafeed.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{revert_model_snapshot.yaml => revert_model_snapshot.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{start_stop_datafeed.yaml => start_stop_datafeed.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{update_model_snapshot.yaml => update_model_snapshot.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{validate.yaml => validate.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/ml/{validate_detector.yaml => validate_detector.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/{20_privileges.yaml => 20_privileges.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/role_mapping/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/role_mapping/{20_get_missing.yaml => 20_get_missing.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/role_mapping/{30_delete.yaml => 30_delete.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/roles/{10_basic.yaml => 10_basic.yml} (98%) rename plugin/src/test/resources/rest-api-spec/test/roles/{11_idx_arrays.yaml => 11_idx_arrays.yml} (97%) rename plugin/src/test/resources/rest-api-spec/test/roles/{20_get_missing.yaml => 20_get_missing.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/roles/{30_prohibited_role_query.yaml => 30_prohibited_role_query.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/set_security_user/{10_small_users_one_index.yaml => 10_small_users_one_index.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/token/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/users/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/users/{15_overwrite_user.yaml => 15_overwrite_user.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/users/{16_update_user.yaml => 16_update_user.yml} (98%) rename plugin/src/test/resources/rest-api-spec/test/users/{20_get_missing.yaml => 20_get_missing.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/users/{30_enable_disable.yaml => 30_enable_disable.yml} (98%) rename plugin/src/test/resources/rest-api-spec/test/users/{31_create_disabled.yaml => 31_create_disabled.yml} (96%) rename plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/{20_ack_individual_action.yaml => 20_ack_individual_action.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/{30_reset_ack_after_unmet_condition.yaml => 30_reset_ack_after_unmet_condition.yml} (97%) rename plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/block_direct_index_access/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/{20_missing.yaml => 20_missing.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/{20_put_watch_with_throttle_period.yaml => 20_put_watch_with_throttle_period.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/{30_put_watch_with_action_throttle_period.yaml => 30_put_watch_with_action_throttle_period.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/{40_put_watch_as_inactive.yaml => 40_put_watch_as_inactive.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/{50_email_attachment_validation.yaml => 50_email_attachment_validation.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/{60_put_watch_with_action_condition.yaml => 60_put_watch_with_action_condition.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/{70_put_watch_with_index_action_using_id.yaml => 70_put_watch_with_index_action_using_id.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/restart_watcher/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/stats/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/{10_basic.yaml => 10_basic.yml} (100%) rename plugin/src/test/resources/rest-api-spec/test/xpack/{10_basic.yaml => 10_basic.yml} (84%) rename plugin/src/test/resources/rest-api-spec/test/xpack/{15_basic.yaml => 15_basic.yml} (99%) diff --git a/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yaml b/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml similarity index 78% rename from plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yaml rename to plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml index db70f28232a..047a994897f 100644 --- a/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yaml +++ b/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithGroupSearch.yml @@ -1,4 +1,3 @@ -# This LDAP connection does group lookup by a subtree search, no role mapping ldap: urls: - ldap://ldap.example.com:1389 diff --git a/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yaml b/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml similarity index 82% rename from plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yaml rename to plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml index d98f48e90bc..be43af4e02c 100644 --- a/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yaml +++ b/plugin/src/test/resources/org/elasticsearch/xpack/security/authc/ldap/support/ldapWithRoleMapping.yml @@ -1,4 +1,3 @@ -# This LDAP connection does group lookup by attribute with group to role mapping ldap: urls: # these connections are not round-robin, but primary, secondary, etc. When the first fails the second is attempted - ldap://ldap.example.com:1389 diff --git a/plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/authenticate/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yml similarity index 98% rename from plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yml index a2e25cb9e2e..562a56f4154 100644 --- a/plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/change_password/10_basic.yml @@ -54,7 +54,6 @@ teardown: "Test changing users password": - skip: features: catch_unauthorized -# validate that the user actually works - do: headers: Authorization: "Basic am9lOnMza3JpdA==" diff --git a/plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/graph/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yaml b/plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yaml rename to plugin/src/test/resources/rest-api-spec/test/license/20_put_license.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/custom_all_field.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/datafeeds_crud.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/delete_model_snapshot.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/filter_crud.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/get_datafeed_stats.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/get_datafeeds.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/get_filters.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/get_filters.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/get_filters.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/get_filters.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/get_model_snapshots.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yml similarity index 99% rename from plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yml index 3608a21c9f6..94f8a9b276e 100644 --- a/plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/ml/index_layout.yml @@ -154,7 +154,6 @@ job_id: index-layout-job2 - match: {count: 3} -# Put some categorizer state - do: index: index: .ml-state diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/jobs_crud.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/jobs_get.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_buckets.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_categories.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_influencers.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_result_records.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/jobs_get_stats.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/ml_anomalies_default_mappings.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/post_data.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/post_data.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/post_data.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/post_data.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/preview_datafeed.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/revert_model_snapshot.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/start_stop_datafeed.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/update_model_snapshot.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/validate.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/validate.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/validate.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/validate.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yaml b/plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yaml rename to plugin/src/test/resources/rest-api-spec/test/ml/validate_detector.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yaml b/plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yaml rename to plugin/src/test/resources/rest-api-spec/test/monitoring/bulk/20_privileges.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/role_mapping/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yaml b/plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yaml rename to plugin/src/test/resources/rest-api-spec/test/role_mapping/20_get_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yaml b/plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yaml rename to plugin/src/test/resources/rest-api-spec/test/role_mapping/30_delete.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yml similarity index 98% rename from plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yml index 220a0100b1d..badfcec6406 100644 --- a/plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/roles/10_basic.yml @@ -66,7 +66,6 @@ teardown: } - match: { role: { created: true } } -# test that the role actually works - do: headers: Authorization: "Basic am9lOnMza3JpdA==" diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yaml b/plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml similarity index 97% rename from plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yaml rename to plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml index c9743a005e8..4d32866ee8b 100644 --- a/plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/roles/11_idx_arrays.yml @@ -53,7 +53,6 @@ teardown: } - match: { user: { created: true } } -# Index a doc and make sure the "joe" user can see it - do: index: index: foo diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yaml b/plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yaml rename to plugin/src/test/resources/rest-api-spec/test/roles/20_get_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yaml b/plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yaml rename to plugin/src/test/resources/rest-api-spec/test/roles/30_prohibited_role_query.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yaml b/plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yaml rename to plugin/src/test/resources/rest-api-spec/test/set_security_user/10_small_users_one_index.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/token/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/token/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/token/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/token/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/users/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/users/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yaml b/plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yaml rename to plugin/src/test/resources/rest-api-spec/test/users/15_overwrite_user.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yaml b/plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yml similarity index 98% rename from plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yaml rename to plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yml index 019a7014712..19c577832fa 100644 --- a/plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/users/16_update_user.yml @@ -37,7 +37,6 @@ teardown: - skip: features: [headers, catch_unauthorized] -# test that the role actually works - do: headers: Authorization: "Basic am9lOnMza3JpdA==" diff --git a/plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yaml b/plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yaml rename to plugin/src/test/resources/rest-api-spec/test/users/20_get_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yaml b/plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml similarity index 98% rename from plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yaml rename to plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml index 1d906f5d003..746aaed73be 100644 --- a/plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/users/30_enable_disable.yml @@ -24,7 +24,6 @@ teardown: --- "Test disable then enable user": -# check that the user works - do: headers: Authorization: "Basic am9lOnMza3JpdA==" diff --git a/plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yaml b/plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml similarity index 96% rename from plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yaml rename to plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml index c2ca1c4b343..50811a3cb69 100644 --- a/plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/users/31_create_disabled.yml @@ -24,7 +24,6 @@ teardown: --- "Test disable then enable user": -# validate user cannot login - do: catch: unauthorized headers: diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/20_ack_individual_action.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml similarity index 97% rename from plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml index fb2670deaf5..6385fb351fb 100644 --- a/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/watcher/ack_watch/30_reset_ack_after_unmet_condition.yml @@ -11,7 +11,6 @@ teardown: id: "my_watch" ignore: 404 -# See https://github.com/elastic/x-pack-elasticsearch/issues/1123 --- "Ensure that ack status is reset after unsuccesful execution": diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/activate_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/block_direct_index_access/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/block_direct_index_access/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/block_direct_index_access/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/block_direct_index_access/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/delete_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/execute_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/get_watch/20_missing.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/20_put_watch_with_throttle_period.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/30_put_watch_with_action_throttle_period.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/40_put_watch_as_inactive.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/50_email_attachment_validation.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/60_put_watch_with_action_condition.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/put_watch/70_put_watch_with_index_action_using_id.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/restart_watcher/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/restart_watcher/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/restart_watcher/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/restart_watcher/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/start_watcher/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/stats/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yml similarity index 100% rename from plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/watcher/stop_watcher/10_basic.yml diff --git a/plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yml similarity index 84% rename from plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yml index 1b084271907..ec037b42c1a 100644 --- a/plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/xpack/10_basic.yml @@ -1,5 +1,3 @@ -# Integration tests for monitoring -# "X-Pack loaded": - do: cluster.state: {} diff --git a/plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yaml b/plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yml similarity index 99% rename from plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yaml rename to plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yml index 5e61f98bbc2..2cf06f4bce3 100644 --- a/plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yaml +++ b/plugin/src/test/resources/rest-api-spec/test/xpack/15_basic.yml @@ -1,5 +1,3 @@ -# Integration tests xpack info and usage API -# "X-Pack Info and Usage": - do: