-
Notifications
You must be signed in to change notification settings - Fork 67
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
Conversation
Signed-off-by: Sruti Parthiban <[email protected]>
c0b961a
to
060141b
Compare
@@ -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()); |
There was a problem hiding this comment.
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( |
There was a problem hiding this comment.
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)
There was a problem hiding this comment.
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.
There was a problem hiding this 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 <[email protected]>
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
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.