Skip to content

Modify namespace from opendistro to opensearch#12

Merged
sruti1312 merged 2 commits intomainfrom
partsrut-namespace-change
May 19, 2021
Merged

Modify namespace from opendistro to opensearch#12
sruti1312 merged 2 commits intomainfrom
partsrut-namespace-change

Conversation

@sruti1312
Copy link
Contributor

@sruti1312 sruti1312 commented May 18, 2021

Signed-off-by: Sruti Parthiban partsrut@amazon.com

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.

Signed-off-by: Sruti Parthiban <partsrut@amazon.com>
@sruti1312 sruti1312 force-pushed the partsrut-namespace-change branch from c0b961a to 060141b Compare May 18, 2021 17:11
@sruti1312 sruti1312 requested review from hxiao608 and jotok May 18, 2021 17:12
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

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/

Signed-off-by: Sruti Parthiban <partsrut@amazon.com>
@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