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

Refactored code base #7

Merged

Conversation

owaiskazi19
Copy link
Member

Signed-off-by: Owais Kazi owaiskazi19@gmail.com

Description

Restructured the code base

Issues Resolved

Closes #5

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: Owais Kazi <owaiskazi19@gmail.com>
@owaiskazi19 owaiskazi19 requested a review from a team May 5, 2022 17:29
@owaiskazi19 owaiskazi19 changed the title Refactored structure Refactored code base May 5, 2022
build.gradle Outdated
@@ -25,7 +25,7 @@ ext {
apply plugin: 'application'
apply from: 'gradle/formatting.gradle'

mainClassName = 'transportservice.ExtensionsRunner'
mainClassName = 'opensearchSDK.transport.ExtensionsRunner'
Copy link
Member

Choose a reason for hiding this comment

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

Can we pull out the runner from Transport?
Conceptually Runner has nothing to do with Transport, it just initializes a bunch of data structures needed for an extension to run.

@@ -30,7 +30,7 @@
* GitHub history for details.
*/

package transportservice.netty4;
package opensearchSDK.netty4;
Copy link
Member

Choose a reason for hiding this comment

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

Let this be opensearchSDK.transport.xyz ?
This is a direct package from https://github.com/opensearch-project/OpenSearch/blob/main/modules/transport-netty4/src/main/java/org/opensearch/transport/netty4/Netty4MessageChannelHandler.java#L33

Lets keep it consistent and whenever we close opensearch-project/OpenSearch#3118
We can remove this piece of code easily.

Signed-off-by: Owais Kazi <owaiskazi19@gmail.com>
@saratvemulapalli saratvemulapalli merged commit b731582 into opensearch-project:main May 6, 2022
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.

[FEATURE] Restructure the code base
4 participants