elasticsearch-api 7.2.1 → 7.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -16
- data/{LICENSE.txt → LICENSE} +0 -0
- data/README.md +1 -18
- data/Rakefile +3 -16
- data/elasticsearch-api.gemspec +4 -17
- data/lib/elasticsearch-api.rb +3 -16
- data/lib/elasticsearch/api.rb +3 -16
- data/lib/elasticsearch/api/actions/abort_benchmark.rb +3 -16
- data/lib/elasticsearch/api/actions/benchmark.rb +3 -16
- data/lib/elasticsearch/api/actions/bulk.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/aliases.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/allocation.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/count.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/fielddata.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/health.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/help.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/indices.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/master.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/nodes.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/plugins.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/recovery.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/repositories.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/segments.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/shards.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/snapshots.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/tasks.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/templates.rb +3 -16
- data/lib/elasticsearch/api/actions/cat/thread_pool.rb +3 -16
- data/lib/elasticsearch/api/actions/clear_scroll.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/get_settings.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/health.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/put_settings.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/remote_info.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/reroute.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/state.rb +3 -16
- data/lib/elasticsearch/api/actions/cluster/stats.rb +3 -16
- data/lib/elasticsearch/api/actions/count.rb +3 -16
- data/lib/elasticsearch/api/actions/create.rb +3 -16
- data/lib/elasticsearch/api/actions/delete.rb +3 -16
- data/lib/elasticsearch/api/actions/delete_by_query.rb +3 -16
- data/lib/elasticsearch/api/actions/delete_by_rethrottle.rb +3 -16
- data/lib/elasticsearch/api/actions/delete_script.rb +3 -16
- data/lib/elasticsearch/api/actions/exists.rb +3 -16
- data/lib/elasticsearch/api/actions/exists_source.rb +3 -16
- data/lib/elasticsearch/api/actions/explain.rb +3 -16
- data/lib/elasticsearch/api/actions/field_caps.rb +3 -16
- data/lib/elasticsearch/api/actions/get.rb +3 -16
- data/lib/elasticsearch/api/actions/get_script.rb +3 -16
- data/lib/elasticsearch/api/actions/get_source.rb +3 -16
- data/lib/elasticsearch/api/actions/index.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/analyze.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/clear_cache.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/close.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/create.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/delete.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/delete_alias.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/delete_template.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/exists.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/exists_alias.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/exists_template.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/exists_type.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/flush.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/flush_synced.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/forcemerge.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/get.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/get_alias.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/get_mapping.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/get_settings.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/get_template.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/open.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/put_alias.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/put_mapping.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/put_settings.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/put_template.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/recovery.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/refresh.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/rollover.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/segments.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/shard_stores.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/shrink.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/split.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/stats.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/update_aliases.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/upgrade.rb +3 -16
- data/lib/elasticsearch/api/actions/indices/validate_query.rb +3 -16
- data/lib/elasticsearch/api/actions/info.rb +3 -16
- data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +3 -16
- data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +3 -16
- data/lib/elasticsearch/api/actions/ingest/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +3 -16
- data/lib/elasticsearch/api/actions/ingest/simulate.rb +3 -16
- data/lib/elasticsearch/api/actions/mget.rb +3 -16
- data/lib/elasticsearch/api/actions/msearch.rb +3 -16
- data/lib/elasticsearch/api/actions/msearch_template.rb +3 -16
- data/lib/elasticsearch/api/actions/mtermvectors.rb +3 -16
- data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +3 -16
- data/lib/elasticsearch/api/actions/nodes/info.rb +3 -16
- data/lib/elasticsearch/api/actions/nodes/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +3 -16
- data/lib/elasticsearch/api/actions/nodes/shutdown.rb +3 -16
- data/lib/elasticsearch/api/actions/nodes/stats.rb +3 -16
- data/lib/elasticsearch/api/actions/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/ping.rb +3 -16
- data/lib/elasticsearch/api/actions/put_script.rb +3 -16
- data/lib/elasticsearch/api/actions/rank_eval.rb +3 -16
- data/lib/elasticsearch/api/actions/reindex.rb +3 -16
- data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +3 -16
- data/lib/elasticsearch/api/actions/remote/info.rb +3 -16
- data/lib/elasticsearch/api/actions/render_search_template.rb +3 -16
- data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +3 -16
- data/lib/elasticsearch/api/actions/scroll.rb +3 -16
- data/lib/elasticsearch/api/actions/search.rb +3 -16
- data/lib/elasticsearch/api/actions/search_shards.rb +3 -16
- data/lib/elasticsearch/api/actions/search_template.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/create.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/delete.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/get.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/restore.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/status.rb +3 -16
- data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +3 -16
- data/lib/elasticsearch/api/actions/tasks/cancel.rb +3 -16
- data/lib/elasticsearch/api/actions/tasks/get.rb +3 -16
- data/lib/elasticsearch/api/actions/tasks/list.rb +3 -16
- data/lib/elasticsearch/api/actions/tasks/params_registry.rb +3 -16
- data/lib/elasticsearch/api/actions/termvectors.rb +3 -16
- data/lib/elasticsearch/api/actions/update.rb +3 -16
- data/lib/elasticsearch/api/actions/update_by_query.rb +3 -16
- data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +3 -16
- data/lib/elasticsearch/api/namespace/cat.rb +3 -16
- data/lib/elasticsearch/api/namespace/cluster.rb +3 -16
- data/lib/elasticsearch/api/namespace/common.rb +3 -16
- data/lib/elasticsearch/api/namespace/indices.rb +3 -16
- data/lib/elasticsearch/api/namespace/ingest.rb +3 -16
- data/lib/elasticsearch/api/namespace/nodes.rb +3 -16
- data/lib/elasticsearch/api/namespace/remote.rb +3 -16
- data/lib/elasticsearch/api/namespace/snapshot.rb +3 -16
- data/lib/elasticsearch/api/namespace/tasks.rb +3 -16
- data/lib/elasticsearch/api/utils.rb +3 -16
- data/lib/elasticsearch/api/version.rb +4 -17
- data/spec/elasticsearch/api/actions/abort_benchmark_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/benchmark_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/bulk_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/aliases_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/allocation_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/count_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/fielddata_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/health_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/help_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/indices_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/master_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/nodeattrs_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/nodes_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/pending_tasks_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/plugins_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/recovery_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/repositories_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/segments_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/shards_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/snapshot_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/tasks_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/templates_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cat/thread_pool_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/clear_scroll_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/get_settings_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/health_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/pending_tasks_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/put_settings_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/remote_info_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/reroute_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/state_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/cluster/stats_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/count_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/create_document_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/delete_by_query_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/delete_document_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/delete_script_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/exists_document_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/explain_document_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/field_caps_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/get_document_source_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/get_document_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/get_script_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/hashie_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/index_document_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/analyze_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/close_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/create_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/delete_alias_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/delete_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/delete_template_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/exists_alias_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/exists_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/exists_template_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/exists_type_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/flush_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/flush_synced_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/forcemerge_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/get_alias_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/get_mapping_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/get_settings_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/get_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/open_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/put_alias_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/put_mapping_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/put_settings_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/put_template_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/recovery_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/refresh_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/rollover_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/segments_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/shard_stores_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/shrink_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/split_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/stats_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/update_aliases_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/upgrade_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/indices/validate_query_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/info_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/ingest/simulate_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/json_builders_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/mget_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/msearch_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/msearch_template_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/mtermvectors_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/nodes/info_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/nodes/shutdown_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/nodes/stats_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/ping_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/put_script_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/reindex_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/remote/info_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/render_search_template_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/scoll_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/search_shards_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/search_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/search_template_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/create_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/delete_repository_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/delete_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/get_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/restore_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/status_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/tasks/cancel_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/tasks/get_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/tasks/list_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/termvectors_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/update_by_query_spec.rb +3 -16
- data/spec/elasticsearch/api/actions/update_document_spec.rb +3 -16
- data/spec/elasticsearch/api/api_spec.rb +3 -16
- data/spec/elasticsearch/api/client_spec.rb +3 -16
- data/spec/elasticsearch/api/rest_api_yaml_spec.rb +3 -16
- data/spec/elasticsearch/api/utils_spec.rb +3 -16
- data/spec/rest_yaml_tests_helper.rb +3 -16
- data/spec/spec_helper.rb +3 -16
- data/test/integration/yaml_test_runner.rb +3 -16
- data/test/test_helper.rb +3 -16
- data/utils/Gemfile +3 -16
- data/utils/Thorfile +3 -16
- data/utils/thor/generate_api.rb +3 -16
- data/utils/thor/generate_source.rb +3 -16
- data/utils/thor/lister.rb +3 -16
- data/utils/thor/templates/ruby/method.erb +3 -16
- data/utils/thor/templates/ruby/test.erb +3 -16
- data/utils/thor/templates/ruby/test_helper.rb +3 -16
- metadata +4 -4
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
#
|
18
5
|
require 'spec_helper'
|
19
6
|
require 'rest_yaml_tests_helper'
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'spec_helper'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require "#{File.expand_path(File.dirname('..'), '..')}/api-spec-testing/test_file"
|
19
6
|
require "#{File.expand_path(File.dirname('..'), '..')}/api-spec-testing/rspec_matchers"
|
data/spec/spec_helper.rb
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'pry-nav'
|
19
6
|
require 'yaml'
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
19
6
|
JRUBY = defined?(JRUBY_VERSION)
|
data/test/test_helper.rb
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
ELASTICSEARCH_HOSTS = if hosts = ENV['TEST_ES_SERVER'] || ENV['ELASTICSEARCH_HOSTS']
|
19
6
|
hosts.split(',').map do |host|
|
data/utils/Gemfile
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
source 'https://rubygems.org'
|
19
6
|
|
data/utils/Thorfile
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require File.expand_path('./thor/generate_api')
|
19
6
|
require File.expand_path('./thor/generate_source')
|
data/utils/thor/generate_api.rb
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
require 'thor'
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
# encoding: UTF-8
|
19
6
|
|
data/utils/thor/lister.rb
CHANGED
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
# encoding: UTF-8
|
19
6
|
|
@@ -1,19 +1,6 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V
|
2
|
-
#
|
3
|
-
#
|
4
|
-
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
-
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
-
# not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
1
|
+
# Licensed to Elasticsearch B.V under one or more agreements.
|
2
|
+
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
|
3
|
+
# See the LICENSE file in the project root for more information
|
17
4
|
|
18
5
|
module Elasticsearch
|
19
6
|
module API
|