-
Notifications
You must be signed in to change notification settings - Fork 36
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
GET API to fetch workflow-step.json #394
Conversation
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #394 +/- ##
============================================
- Coverage 72.88% 72.17% -0.71%
- Complexity 601 613 +12
============================================
Files 75 79 +4
Lines 2998 3069 +71
Branches 233 237 +4
============================================
+ Hits 2185 2215 +30
- Misses 710 752 +42
+ Partials 103 102 -1 ☔ View full report in Codecov by Sentry. |
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.
Approved, but with some small comments and a suggestion
src/main/java/org/opensearch/flowframework/rest/RestGetWorkflowStepAction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/rest/RestGetWorkflowStepAction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/transport/GetWorkflowStepTransportAction.java
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/transport/GetWorkflowStepTransportAction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/rest/RestGetWorkflowStepAction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/rest/RestGetWorkflowStepAction.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/transport/GetWorkflowStepTransportAction.java
Show resolved
Hide resolved
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
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.
LGTM for an overall API. If we are able to pass a parameter (yeah that means creating a new request type to send the parameter) to limit it to a single request type that'd be ideal. That can be in a follow-up PR if desired.
* Implemented GET API for workflow step Signed-off-by: Owais Kazi <[email protected]> * Added rest test case Signed-off-by: Owais Kazi <[email protected]> * Added tests and javadocs Signed-off-by: Owais Kazi <[email protected]> * Addressed PR comments Signed-off-by: Owais Kazi <[email protected]> * Removed CreateIndex and CreateIngestPipeline from json Signed-off-by: Owais Kazi <[email protected]> --------- Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit ebf8b90) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
GET API to fetch workflow-step.json (#394) * Implemented GET API for workflow step * Added rest test case * Added tests and javadocs * Addressed PR comments * Removed CreateIndex and CreateIngestPipeline from json --------- (cherry picked from commit ebf8b90) Signed-off-by: Owais Kazi <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description Adds permission for a new Get Workflow Step API. opensearch-project/flow-framework#394 ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] 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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: owaiskazi19 <[email protected]>
Description Adds permission for a new Get Workflow Step API. opensearch-project/flow-framework#394 ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] 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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: owaiskazi19 <[email protected]> (cherry picked from commit b8a315a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description Adds permission for a new Get Workflow Step API. opensearch-project/flow-framework#394 ### Check List - [ ] New functionality includes testing - [ ] New functionality has been documented - [ ] 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](https://github.com/opensearch-project/OpenSearch/blob/main/CONTRIBUTING.md#developer-certificate-of-origin). Signed-off-by: owaiskazi19 <[email protected]>
Description
This PR achieves the below:
create_index
andcreate_ingest_pipeline
from the jsonRequest:
Refer this for response.
Issues Resolved
Fixes #364
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.