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

[Meta] Deprecate non-inclusive naming #2589

Closed
20 tasks done
anasalkouz opened this issue Mar 24, 2022 · 3 comments
Closed
20 tasks done

[Meta] Deprecate non-inclusive naming #2589

anasalkouz opened this issue Mar 24, 2022 · 3 comments
Labels
campaign Parent issues of OpenSearch release campaigns. enhancement Enhancement or improvement to existing feature or request Meta Meta issue, not directly linked to a PR

Comments

@anasalkouz
Copy link
Member

anasalkouz commented Mar 24, 2022

This is a meta issue to track the pan and progress of applying inclusive naming across OpenSearch Repositories

Timeline

OpenSearch 2.0 will deprecate several APIs in core. Plugins will deprecate APIs in 2.0. By a 2.x version all non-inclusive terminology will be deprecated, and all deprecated APIs will be removed in 3.0.

High Level Plan
Every repository that uses non-inclusive words should replace all the non-inclusive usages in the code base. There are 2 main action to take as following:

  • We have provided alternative REST APIs/settings for the existing non-inclusive usages for OpenSearch main repository, which means all the REST APIs/settings that contain "master" or "blacklist/whitelist" will have alternative usages that uses "cluster_manager" or "denylist/allowlist". That being said, you should use the new introduced REST APIs/settings in 2.0. Please see here for the inclusive alternative REST APIs/settings.
  • You should replace non-inclusive usages into your repositories, the following is our suggested plan to follow:
    • Replace the non-inclusive words in code comment and internal variable/method/class/package name in 2.0.
    • Introduce alternative REST APIs/settings for the existing non-inclusive usages and deprecate old usage in 2.0.
    • Replace non-inclusive usages for OpenSearch REST API and setting with provided inclusive ones in 2.0
    • Replace non-inclusive usages for OpenSearch Java API and remove all deprecated usages in 3.0.

List of Issues
When being compatible with OpenSearch 2.0:

List of REST APIs and settings that contain non-inclusive name in other repositories
REST API of plugins

Configuration / Setting

  • OpenSearch Dashboards
    Impacted setting names:
    opensearch.requestHeadersWhitelist ,
    server.compression.referrerWhitelist ,
    server.xsrf.whitelist .
    Detail: These settings can be configured through opensearch_dahsboards.yml file in config directory.

  • Security
    Impacted configuration file: whitelist.yml
    Document: https://www.opensearch.org/docs/1.2/security-plugin/configuration/yaml/#whitelistyml
    Detail: It is a YAML file in plugins/opensearch-security/securityconfig directory, configurations defined in the file can be imported to Security plugin.

@anasalkouz anasalkouz added enhancement Enhancement or improvement to existing feature or request untriaged v2.0.0 Version 2.0.0 Meta Meta issue, not directly linked to a PR and removed untriaged labels Mar 24, 2022
@anasalkouz anasalkouz changed the title [Meta] The plan to applying inclusive naming [Meta] Applying inclusive naming Mar 24, 2022
@stockholmux
Copy link
Member

I'm glad to see this!

@dblock dblock added campaign Parent issues of OpenSearch release campaigns. v3.0.0 Issues and PRs related to version 3.0.0 labels Apr 18, 2022
@dblock
Copy link
Member

dblock commented Apr 18, 2022

I've updated the timeline: OpenSearch 2.0 will deprecate several APIs in core. Plugins will deprecate APIs in 2.1. By a 2.x version all non-inclusive terminology will be deprecated, and all deprecated APIs will be removed in 3.0. This issue is now only about deprecation.

@dblock dblock changed the title [Meta] Applying inclusive naming [Meta] Deprecate non-inclusive naming Apr 18, 2022
@dblock dblock added v2.1.0 Issues and PRs related to version 2.1.0 and removed v3.0.0 Issues and PRs related to version 3.0.0 labels Apr 18, 2022
@kartg kartg removed the v2.0.0 Version 2.0.0 label Apr 28, 2022
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 14, 2022
…Manager

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories
Every repository that uses non-inclusive words should replace all the non-inclusive usages in the code base.

In this change we are replacing the instances of the terminology "isDevClusterMaster" with "isDevClusterManager".

Signed-off-by: manasvis <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 14, 2022
As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories

Every repository that uses non-inclusive words should replace all the non-inclusive usages in the code base.

We are deprecating setupMaster in favor of setupClusterManager

Signed-off-by: manasvis <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 14, 2022
…evClusterManager

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories
Every repository that uses non-inclusive words should replace all the non-inclusive usages in the code base.

In this change we are deprecating the terminology "isDevClusterMaster" and adding  "isDevClusterManager" for future usages.

Signed-off-by: manasvis <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 15, 2022
As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories
We are deprecating setupMaster in favor of setupClusterManager

Signed-off-by: manasvinibs <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 15, 2022
As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories
We are deprecating setupMaster in favor of setupClusterManager

Signed-off-by: manasvinibs <[email protected]>
kavilla pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
… nodes (#1761)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories

Issue - #1688

Signed-off-by: manasvinibs <[email protected]>
(cherry picked from commit 6aba08a)

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
…meout

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - opensearch-project#1685
Signed-off-by: manasvinibs <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
…nction names

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - opensearch-project#1692
Signed-off-by: manasvinibs <[email protected]>
joshuarrrr pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
… nodes (#1761) (#1779)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories

Issue - #1688

Signed-off-by: manasvinibs <[email protected]>
(cherry picked from commit 6aba08a)

Signed-off-by: Manasvini B Suryanarayana <[email protected]>

Co-authored-by: Manasvini B Suryanarayana <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
…nction names

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - opensearch-project#1692
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
…meout

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - opensearch-project#1685
Signed-off-by: manasvinibs <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
…meout

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - opensearch-project#1685
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 23, 2022
…nction names

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - opensearch-project#1692
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
manasvinibs added a commit to manasvinibs/OpenSearch-Dashboards that referenced this issue Jun 24, 2022
…meout

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - opensearch-project#1685
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
joshuarrrr pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 24, 2022
…nction names (#1778)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - #1692
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
opensearch-trigger-bot bot pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 24, 2022
…nction names (#1778)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - #1692
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
(cherry picked from commit e32a259)
kavilla pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 24, 2022
…meout (#1788)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Includes updates from generation with the removal of type.

Issues:
#1685
#1290

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
opensearch-trigger-bot bot pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 24, 2022
…meout (#1788)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Includes updates from generation with the removal of type.

Issues:
#1685
#1290

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
(cherry picked from commit c659831)
joshuarrrr pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 24, 2022
…nction names (#1778) (#1793)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Issue - #1692
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
(cherry picked from commit e32a259)

Co-authored-by: Manasvini B Suryanarayana <[email protected]>
kavilla pushed a commit to opensearch-project/OpenSearch-Dashboards that referenced this issue Jun 24, 2022
…meout (#1788) (#1794)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories.

Includes updates from generation with the removal of type.

Issues:
#1685
#1290

Signed-off-by: Manasvini B Suryanarayana <[email protected]>
(cherry picked from commit c659831)

Co-authored-by: Manasvini B Suryanarayana <[email protected]>
@saratvemulapalli
Copy link
Member

@anasalkouz / @tlfeng this issue is tagged 2.1.0.
I know we had revert couple of PRs. Is it safe to assume we will not completely ship in 2.1?

cliu123 pushed a commit to cliu123/OpenSearch-Dashboards that referenced this issue Jun 30, 2022
…evClusterManager (opensearch-project#1719) (opensearch-project#1762)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories

In this change we are deprecating the terminology "isDevClusterMaster" and adding  "isDevClusterManager" for future usages.

Signed-off-by: manasvinibs <[email protected]>
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
(cherry picked from commit 1dda730)

Co-authored-by: Manasvini B Suryanarayana <[email protected]>
cliu123 pushed a commit to cliu123/OpenSearch-Dashboards that referenced this issue Jun 30, 2022
…pensearch-project#1752) (opensearch-project#1769)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories
We are deprecating setupMaster in favor of setupClusterManager

Signed-off-by: manasvinibs <[email protected]>
(cherry picked from commit 9e508e7)

Signed-off-by: Manasvini B Suryanarayana <[email protected]>

Co-authored-by: Manasvini B Suryanarayana <[email protected]>
cliu123 pushed a commit to cliu123/OpenSearch-Dashboards that referenced this issue Jun 30, 2022
…evClusterManager (opensearch-project#1719) (opensearch-project#1762)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories

In this change we are deprecating the terminology "isDevClusterMaster" and adding  "isDevClusterManager" for future usages.

Signed-off-by: manasvinibs <[email protected]>
Signed-off-by: Manasvini B Suryanarayana <[email protected]>
(cherry picked from commit 1dda730)

Co-authored-by: Manasvini B Suryanarayana <[email protected]>
cliu123 pushed a commit to cliu123/OpenSearch-Dashboards that referenced this issue Jun 30, 2022
…pensearch-project#1752) (opensearch-project#1769)

As part of the meta issue opensearch-project/OpenSearch#2589 to track the plan and progress of applying inclusive naming across OpenSearch Repositories
We are deprecating setupMaster in favor of setupClusterManager

Signed-off-by: manasvinibs <[email protected]>
(cherry picked from commit 9e508e7)

Signed-off-by: Manasvini B Suryanarayana <[email protected]>

Co-authored-by: Manasvini B Suryanarayana <[email protected]>
@Rishikesh1159 Rishikesh1159 removed the v2.1.0 Issues and PRs related to version 2.1.0 label Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
campaign Parent issues of OpenSearch release campaigns. enhancement Enhancement or improvement to existing feature or request Meta Meta issue, not directly linked to a PR
Projects
None yet
Development

No branches or pull requests

6 participants