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

Rename classes, variables, methods to incorporate OpenSearch #21

Merged

Conversation

VachaShah
Copy link
Contributor

Signed-off-by: Vacha Shah vachshah@amazon.com

Description

This PR updates the classes, variables, methods to incorporate OpenSearch.

Issues Resolved

Part 2 of #19

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to the example below, renaming actual paths and settings needs to be done carefully. Please check names? Thanks.

@@ -42,7 +42,7 @@ public AuthUserRequestBuilder(String auth) {
}

public Request build() {
Request request = new Request("GET", "/_opendistro/_security/authinfo");
Request request = new Request("GET", "/_opensearch/_security/authinfo");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to track this down in the security plugin and make sure that this is the change that was made there. I think the path is different.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security plugin has not yet updated the path. I restored it to the original _opendistro path till security makes the changes. There are several other security settings that will also need to be changed once security plugin makes the change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please open an issue in this repo to change this later, linking to an issue in security to watch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure I have opened a new issue in this repo #22.

Signed-off-by: Vacha Shah <vachshah@amazon.com>
@VachaShah VachaShah force-pushed the rename_classes_variables_methods branch from 0d65989 to 3bb9ef1 Compare May 19, 2021 18:03
@VachaShah VachaShah requested a review from dblock May 19, 2021 18:09
@VachaShah VachaShah merged commit 44f1059 into opensearch-project:main May 19, 2021
@VachaShah VachaShah deleted the rename_classes_variables_methods branch May 20, 2021 17:29
wuychn pushed a commit to ochprince/common-utils that referenced this pull request Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants