Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates API 9.0.0 #2479

Merged
merged 6 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions elasticsearch-api/api-spec-testing/wipe_cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -441,11 +441,11 @@ def clear_ml_filters(client)
end

def delete_all_node_shutdown_metadata(client)
nodes = client.shutdown.get_node
return unless nodes['nodes']
nodes = client.perform_request(Elasticsearch::API::HTTP_GET, '_nodes/shutdown')
return unless nodes&.body['nodes'].any?

nodes['nodes'].each do |node|
client.shutdown.delete_node(node['node_id'])
nodes.body['nodes'].each do |node|
client.perform_request(Elasticsearch::API::HTTP_DELETE, "_nodes/#{node['node_id']}/shutdown")
end
end

Expand Down
3 changes: 0 additions & 3 deletions elasticsearch-api/lib/elasticsearch/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def self.included(base)
Elasticsearch::API::Remote,
Elasticsearch::API::DanglingIndices,
Elasticsearch::API::Features,
Elasticsearch::API::Shutdown,
Elasticsearch::API::AsyncSearch,
Elasticsearch::API::Autoscaling,
Elasticsearch::API::CrossClusterReplication,
Expand All @@ -69,7 +68,6 @@ def self.included(base)
Elasticsearch::API::Logstash,
Elasticsearch::API::Migration,
Elasticsearch::API::MachineLearning,
Elasticsearch::API::Monitoring,
Elasticsearch::API::Rollup,
Elasticsearch::API::SearchableSnapshots,
Elasticsearch::API::Security,
Expand All @@ -84,7 +82,6 @@ def self.included(base)
Elasticsearch::API::Synonyms,
Elasticsearch::API::Esql,
Elasticsearch::API::Inference,
Elasticsearch::API::Profiling,
Elasticsearch::API::Simulate,
Elasticsearch::API::Connector,
Elasticsearch::API::QueryRules
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

57 changes: 0 additions & 57 deletions elasticsearch-api/lib/elasticsearch/api/actions/capabilities.rb

This file was deleted.

Loading