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

Modify namespace from opendistro to opensearch #12

Merged
merged 2 commits into from
May 19, 2021

Conversation

sruti1312
Copy link
Contributor

@sruti1312 sruti1312 commented May 18, 2021

Signed-off-by: Sruti Parthiban [email protected]

Is your feature request related to a problem? Please provide an existing Issue # , or describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you are proposing
Modify namespace from opendistro to opensearch

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

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.

@@ -69,7 +68,7 @@ public void testSimpleOverride() throws Exception {

try {
final Response response = client().performRequest(postRequest);
Assert.assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode());
assertEquals(HttpStatus.SC_OK, response.getStatusLine().getStatusCode());
Copy link
Contributor

Choose a reason for hiding this comment

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

assertEquals seems not imported

@@ -53,8 +53,9 @@ public void init() {

@Test
public void testGetNodeStatsShardsPerCollection() {
assertEquals(
DEFAULT_NUM_OF_SHARDS_PER_COLLECTION, controller.getNodeStatsShardsPerCollection());
Assert.assertEquals(
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we keep an uniform format here in the package-wise? (either use Assert.assertEquals or assertEquals)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right. Assert.assertEquals is used almost everywhere. In case of ConfigOverridesIT.java, it extends that from the PerformanceAnalyzerIntegTestBase. Spotless takes care of these changes automatically.

Copy link
Contributor

@hxiao608 hxiao608 left a comment

Choose a reason for hiding this comment

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

There are a few doc links that can also be changed. For example, in Readme.md, the api reference. https://docs-beta.opensearch.org/

@sruti1312 sruti1312 requested a review from hxiao608 May 18, 2021 21:09
@sruti1312 sruti1312 merged commit cb34f28 into main May 19, 2021
@sruti1312 sruti1312 deleted the partsrut-namespace-change branch May 19, 2021 01:07
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.

3 participants