Skip to content

[Feature/extensions] Provide Extension API to OpenSearch#4100

Merged
owaiskazi19 merged 20 commits intoopensearch-project:feature/extensionsfrom
dbwiddis:registerApi
Aug 19, 2022
Merged

[Feature/extensions] Provide Extension API to OpenSearch#4100
owaiskazi19 merged 20 commits intoopensearch-project:feature/extensionsfrom
dbwiddis:registerApi

Conversation

@dbwiddis
Copy link
Copy Markdown
Member

@dbwiddis dbwiddis commented Aug 2, 2022

Signed-off-by: Daniel Widdis widdis@gmail.com

Description

Companion PR: opensearch-project/opensearch-sdk-java#74

Extensions will report their APIs to the ExtensionsOrchestrator upon initial registration and potentially later in the Extension's lifecycle. These APIs will be registered and mapped so that when Users submit API requests they can be forwarded to the appropriate extensions.

This PR handles the communication of the REST API from the Extension to OpenSearch. Future PRs will complete the process of registering the REST Handlers and redirecting inbound requests.

Issues Resolved

Fixes opensearch-project/opensearch-sdk-java#68

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.

@dbwiddis dbwiddis changed the title [Feature/Extensions] Provide Extension API to OpenSearch [Feature/extensions] Provide Extension API to OpenSearch Aug 2, 2022
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 2, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 3, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 3, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 3, 2022

Gradle Check (Jenkins) Run Completed with:

@dbwiddis dbwiddis marked this pull request as ready for review August 3, 2022 05:26
@dbwiddis dbwiddis requested review from a team and reta as code owners August 3, 2022 05:26
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 3, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 3, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 4, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 4, 2022

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 4, 2022

Gradle Check (Jenkins) Run Completed with:

@dbwiddis dbwiddis marked this pull request as draft August 4, 2022 17:28
@dbwiddis dbwiddis marked this pull request as ready for review August 4, 2022 19:50
@joshpalis joshpalis self-requested a review August 4, 2022 20:46
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@owaiskazi19
Copy link
Copy Markdown
Member

Precommit failing

> Task :server:compileJava
/home/runner/work/OpenSearch/OpenSearch/server/src/main/java/org/opensearch/extensions/ExtensionsOrchestrator.java:232: error: cannot find symbol
                    extensionsList.add(de);
                                       ^
  symbol:   variable de
  location: class ExtensionsOrchestrator
/home/runner/work/OpenSearch/OpenSearch/server/src/main/java/org/opensearch/extensions/ExtensionsOrchestrator.java:233: error: cannot find symbol
                    extensionIdMap.put(extension.getUniqueId(), de);
                                                                ^
  symbol:   variable de

Signed-off-by: Daniel Widdis <widdis@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

Copy link
Copy Markdown
Member

@owaiskazi19 owaiskazi19 left a comment

Choose a reason for hiding this comment

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

Comments will be addressed in the follow up PR.

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT:
  • URL:
  • CommitID: 3794d6a

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

dbwiddis and others added 2 commits August 19, 2022 09:08
Signed-off-by: Daniel Widdis <widdis@gmail.com>
…rch-project#4258)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

reta and others added 3 commits August 19, 2022 15:04
…rch-project#4258)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
@github-actions
Copy link
Copy Markdown
Contributor

Gradle Check (Jenkins) Run Completed with:

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.

6 participants