-
Notifications
You must be signed in to change notification settings - Fork 46
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
Update comments around deprecated and inclusive naming #112
Merged
dblock
merged 5 commits into
opensearch-project:main
from
harshavamsi:feature/inclusive_naming
Nov 21, 2022
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
d210ca4
Update comments around deprecated and inclusive naming
harshavamsi b3640c5
Merge branch 'main' into feature/inclusive_naming
harshavamsi ac31ec3
Adding cluster manager to more URL params
harshavamsi 8647bd8
Adding cluster manager to more URL params
harshavamsi 2d63eb4
Updating comments for cluster_manager
harshavamsi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
opensearch-api/lib/opensearch/api/actions/cat/cluster_manager.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# The OpenSearch Contributors require contributions made to | ||
# this file be licensed under the Apache-2.0 license or a | ||
# compatible open source license. | ||
# | ||
# Modifications Copyright OpenSearch Contributors. See | ||
# GitHub history for details. | ||
|
||
module OpenSearch | ||
module API | ||
module Cat | ||
module Actions | ||
# Returns information about the cluster_manager node. | ||
# | ||
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml | ||
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false) | ||
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node | ||
# @option arguments [List] :h Comma-separated list of column names to display | ||
# @option arguments [Boolean] :help Return help information | ||
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by | ||
# @option arguments [Boolean] :v Verbose mode. Display column headers | ||
# @option arguments [Hash] :headers Custom HTTP headers | ||
# | ||
# | ||
def cluster_manager(arguments = {}) | ||
headers = arguments.delete(:headers) || {} | ||
|
||
arguments = arguments.clone | ||
|
||
method = OpenSearch::API::HTTP_GET | ||
path = '_cat/cluster_manager' | ||
params = Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__) | ||
|
||
body = nil | ||
perform_request(method, path, params, body, headers).body | ||
end | ||
|
||
# Register this action with its valid params when the module is loaded. | ||
# | ||
# @since 6.2.0 | ||
ParamsRegistry.register(:cluster_manager, %i[ | ||
format | ||
local | ||
cluster_manager_timeout | ||
h | ||
help | ||
s | ||
v | ||
].freeze) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can change this later, but I think this should be
opensearch_
because OS assumes operating system a lot.