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

Updating JobExecutionResponseReader interface to add RequestContext #3062

Conversation

amityadav005
Copy link
Contributor

Description

  1. updating the signature of JobExecutionResponseReader interface
  2. updating signature from JSONObject getResultWithJobId(String jobId, String resultLocation) to getResultFromResultIndex( AsyncQueryJobMetadata asyncQueryJobMetadata, AsyncQueryRequestContext asyncQueryRequestContext)
  3. adding in AsyncQueryRequestContext in getResultWithQueryId method

Related Issues

Resolves #[Issue number to be closed when this PR is merged]
na

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Copy link
Collaborator

@ykmr1224 ykmr1224 left a comment

Choose a reason for hiding this comment

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

Please sign the commit per the DCO using --signoff

Copy link
Collaborator

@noCharger noCharger left a comment

Choose a reason for hiding this comment

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

+1 on DCO, also pls fix CI by running :spotlessApply. Also make sure ./gradlew build pass locally

Execution failed for task ':spotlessJavaCheck'.

@amityadav005 amityadav005 force-pushed the response_reader_interface_changes branch from 2024867 to 60dd109 Compare October 11, 2024 19:21
@amityadav005 amityadav005 force-pushed the response_reader_interface_changes branch from 60dd109 to fccc556 Compare October 13, 2024 16:48
@ykmr1224 ykmr1224 added the maintenance Improves code quality, but not the product label Oct 16, 2024
@ykmr1224 ykmr1224 merged commit 7666a44 into opensearch-project:main Oct 16, 2024
15 of 16 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 16, 2024
…3062)

* Updating JobExecutionResponseReader interface to add RequestContext

Signed-off-by: AMIT YADAV <[email protected]>

* Updating JobExecutionResponseReader interface to add RequestContext

Signed-off-by: AMIT YADAV <[email protected]>

---------

Signed-off-by: AMIT YADAV <[email protected]>
Co-authored-by: AMIT YADAV <[email protected]>
(cherry picked from commit 7666a44)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Swiddis Swiddis added the v2.18.0 Issues targeting release v2.18.0 label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x maintenance Improves code quality, but not the product v2.18.0 Issues targeting release v2.18.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants