Skip to content

Commit

Permalink
Update deprecated tags to follow YARD's conventions
Browse files Browse the repository at this point in the history
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
  • Loading branch information
harshavamsi committed Oct 20, 2022
1 parent 84fcd91 commit d456ce7
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 69 deletions.
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/allocation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ module Actions
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [String] :bytes The unit in which to display byte values (options: b, k, kb, m, mb, g, gb, t, tb, p, pb)
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
5 changes: 2 additions & 3 deletions opensearch-api/lib/opensearch/api/actions/cat/indices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ module Actions
# @option arguments [List] :index A comma-separated list of index names to limit the returned information
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [String] :bytes The unit in which to display byte values (options: b, k, kb, m, mb, g, gb, t, tb, p, pb)
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false) *Deprecated*
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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 [String] :health A health status ("green", "yellow", or "red" to filter only indices matching the specified health status (options: green, yellow, red)
Expand Down
2 changes: 1 addition & 1 deletion opensearch-api/lib/opensearch/api/actions/cat/master.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# specific language governing permissions and limitations
# under the License.

# <b>DEPRECATED:</b> Please use <tt>cluster_manager</tt> instead.
# @deprecated Please use cluster_manager instead.
module OpenSearch
module API
module Cat
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/nodeattrs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ module Actions
#
# @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)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/nodes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ module Actions
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [Boolean] :full_id Return the full node ID instead of the shortened version (default: false)
# @option arguments [Boolean] :local Calculate the selected nodes using the local cluster state rather than the state from cluster_manager node (default: false) *Deprecated*
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ module Actions
#
# @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)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/plugins.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ module Actions
#
# @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)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ module Actions
#
# @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
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/shards.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ module Actions
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [String] :bytes The unit in which to display byte values (options: b, k, kb, m, mb, g, gb, t, tb, p, pb)
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false) *Deprecated*
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/snapshots.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ module Actions
# @option arguments [List] :repository Name of repository from which to fetch the snapshot information
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [Boolean] :ignore_unavailable Set to true to ignore unavailable snapshots
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/templates.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ module Actions
# @option arguments [String] :name A pattern that returned template names must match
# @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)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cat/thread_pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ module Actions
# @option arguments [String] :format a short version of the Accept header, e.g. json, yaml
# @option arguments [String] :size The multiplier in which to display values *Deprecated* (options: , k, m, g, t, p)
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ module Actions
# Returns information about whether a particular component template exist
#
# @option arguments [String] :name The name of the template
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# @option arguments [Hash] :headers Custom HTTP headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ module Actions
# Returns one or more component templates
#
# @option arguments [List] :name The comma separated names of the component templates
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# @option arguments [Hash] :headers Custom HTTP headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ module Actions
# Returns cluster settings.
#
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Boolean] :include_defaults Whether to return all default clusters setting.
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cluster/health.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ module Actions
# @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
# @option arguments [String] :level Specify the level of detail for returned information (options: cluster, indices, shards)
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [String] :wait_for_active_shards Wait until the specified number of shards is active
Expand Down
3 changes: 1 addition & 2 deletions opensearch-api/lib/opensearch/api/actions/cluster/reroute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ module Actions
# @option arguments [Boolean] :explain Return an explanation of why the commands can or cannot be executed
# @option arguments [Boolean] :retry_failed Retries allocation of shards that are blocked due to too many subsequent allocation failures
# @option arguments [List] :metric Limit the information returned to the specified metrics. Defaults to all but metadata (options: _all, blocks, metadata, nodes, routing_table, cluster_manager_node, version)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Time] :timeout Explicit operation timeout
# @option arguments [Hash] :headers Custom HTTP headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ module Features
module Actions
# Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
#
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Hash] :headers Custom HTTP headers
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ module Actions
#
# @option arguments [String] :name The name of the template
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# @option arguments [Hash] :headers Custom HTTP headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ module Actions
#
# @option arguments [List] :name The comma separated names of the index templates
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# @option arguments [Hash] :headers Custom HTTP headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ module Actions
#
# @option arguments [List] :name The comma separated names of the index templates
# @option arguments [Boolean] :flat_settings Return settings in flat format (default: false)
# <b>DEPRECATED:</b> Please use <tt>cluster_manager_timeout</tt> instead.
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
# @option arguments [Time] :master_timeout (DEPRECATED: use cluster_manager_timeout instead) Explicit operation timeout for connection to master node
# @option arguments [Time] :cluster_manager_timeout Explicit operation timeout for connection to cluster_manager node
# @option arguments [Boolean] :local Return local information, do not retrieve the state from cluster_manager node (default: false)
# @option arguments [Hash] :headers Custom HTTP headers
Expand Down
Loading

0 comments on commit d456ce7

Please sign in to comment.