-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update comments around deprecated and inclusive naming
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
- Loading branch information
1 parent
d0056eb
commit aeb08b3
Showing
95 changed files
with
462 additions
and
212 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
* @VijayanB @jayeshathila @robsears @vamshin @dblock @VachaShah @nhtruong | ||
# This should match the team set up in https://github.com/orgs/opensearch-project/teams and include any additional contributors | ||
* @opensearch-project/clients @robsears |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,78 @@ | ||
# OpenSearch Ruby Client Maintainers | ||
- [Overview](#overview) | ||
- [Current Maintainers](#current-maintainers) | ||
- [Maintainer Responsibilities](#maintainer-responsibilities) | ||
- [Uphold Code of Conduct](#uphold-code-of-conduct) | ||
- [Prioritize Security](#prioritize-security) | ||
- [Review Pull Requests](#review-pull-requests) | ||
- [Triage Open Issues](#triage-open-issues) | ||
- [Backports](#backports) | ||
- [Be Responsive](#be-responsive) | ||
- [Maintain Overall Health of the Repo](#maintain-overall-health-of-the-repo) | ||
- [Use Semver](#use-semver) | ||
- [Release Frequently](#release-frequently) | ||
- [Promote Other Maintainers](#promote-other-maintainers) | ||
|
||
## Overview | ||
|
||
This document explains who the maintainers are (see below), what they do in this repo, and how they should be doing it. If you're interested in contributing, see [CONTRIBUTING](CONTRIBUTING.md). | ||
|
||
## Current Maintainers | ||
|
||
| Maintainer | GitHub ID | Affiliation | | ||
|-------------------------|-------------------------------------------------|-------------| | ||
| Vijayan Balasubramanian | [VijayanB](https://github.com/VijayanB) | Amazon | | ||
| Jayesh Hathila | [jayeshathila](https://github.com/jayeshathila) | Amazon | | ||
| Rob Sears | [robsears](https://github.com/robsears) | Bonsai | | ||
| Vamshi Vijay Nakkirtha | [vamshin](https://github.com/vamshin) | Amazon | | ||
| Daniel Doubrovkine | [dblock](https://github.com/dblock) | Amazon | | ||
| Vacha Shah | [VachaShah](https://github.com/VachaShah) | Amazon | | ||
| Theo Truong | [nhtruong](https://github.com/nhtruong) | Amazon | | ||
|
||
## Emeritus | ||
|
||
| Maintainer | GitHub ID | Affiliation | | ||
|-------------------------|-------------------------------------------------|-------------| | ||
| Yuvraj Jaiswal | [yuvi17](https://github.com/yuvi17) | Amazon | | ||
|
||
[This document](https://github.com/opensearch-project/.github/blob/main/MAINTAINERS.md) | ||
explains what maintainers do in this repo, and how they should be doing it. | ||
If you're interested in contributing, see [CONTRIBUTING](CONTRIBUTING.md). | ||
| Maintainer | GitHub ID | Affiliation | | ||
| ------------------------ | --------------------------------------- | ----------- | | ||
| Vijayan Balasubramanian | [VijayanB](https://github.com/VijayanB) | Amazon | | ||
| Jayesh Hathila | [jayeshathila](https://github.com/jayeshathila) | Amazon | | ||
| Rob Sears | [robsears](https://github.com/robsears) | Bonsai | | ||
| Vamshi Vijay Nakkirtha | [vamshin](https://github.com/vamshin) | Amazon | | ||
| Yuvraj Jaiswal | [yuvi17](https://github.com/yuvi17) | Amazon | | ||
|
||
## Maintainer Responsibilities | ||
|
||
Maintainers are active and visible members of the community, and have [maintain-level permissions on a repository](https://docs.github.com/en/organizations/managing-access-to-your-organizations-repositories/repository-permission-levels-for-an-organization). Use those privileges to serve the community and evolve code as follows. | ||
|
||
### Uphold Code of Conduct | ||
|
||
Model the behavior set forward by the [Code of Conduct](CODE_OF_CONDUCT.md) and raise any violations to other maintainers and admins. | ||
|
||
### Prioritize Security | ||
|
||
Security is your number one priority. Maintainer's Github keys must be password protected securely and any reported security vulnerabilities are addressed before features or bugs. | ||
|
||
Note that this repository is monitored and supported 24/7 by Amazon Security, see [Reporting a Vulnerability](SECURITY.md) for details. | ||
|
||
### Review Pull Requests | ||
|
||
Review pull requests regularly, comment, suggest, reject, merge and close. Accept only high quality pull-requests. Provide code reviews and guidance on incomming pull requests. Don't let PRs be stale and do your best to be helpful to contributors. | ||
|
||
### Triage Open Issues | ||
|
||
Manage labels, review issues regularly, and triage by labelling them. | ||
|
||
All repositories in this organization have a standard set of labels, including `bug`, `documentation`, `duplicate`, `enhancement`, `good first issue`, `help wanted`, `blocker`, `invalid`, `question`, `wontfix`, and `untriaged`, along with release labels, such as `v1.0.0`, `v1.1.0`, `v2.0.0`, `patch`, and `backport`. | ||
|
||
Use labels to target an issue or a PR for a given release, add `help wanted` to good issues for new community members, and `blocker` for issues that scare you or need immediate attention. Request for more information from a submitter if an issue is not clear. Create new labels as needed by the project. | ||
|
||
### Backports | ||
|
||
The Github workflow in [backport.yml](.github/workflows/backport.yml) creates backport PRs automatically when the original PR with an appropriate label `backport <backport-branch-name>` is merged to main. To backport a PR to `1.x`, add a label `backport 1.x` to the PR, once this PR is merged to main, the workflow will create a backport PR to the `1.x` branch. | ||
|
||
### Be Responsive | ||
|
||
Respond to enhancement requests, and forum posts. Allocate time to reviewing and commenting on issues and conversations as they come in. | ||
|
||
### Maintain Overall Health of the Repo | ||
|
||
Keep the `main` branch at production quality at all times. Backport features as needed. Cut release branches and tags to enable future patches. | ||
|
||
### Use Semver | ||
|
||
Use and enforce [semantic versioning](https://semver.org/) and do not let breaking changes be made outside of major releases. | ||
|
||
### Release Frequently | ||
|
||
Make frequent project releases to the community. | ||
|
||
### Promote Other Maintainers | ||
|
||
Assist, add, and remove [MAINTAINERS](MAINTAINERS.md). Exercise good judgement, and propose high quality contributors to become co-maintainers. | ||
|
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
55 changes: 55 additions & 0 deletions
55
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,55 @@ | ||
# 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, [ | ||
: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
Oops, something went wrong.