-
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
Search APIs to fetch all the workflows present #139
Conversation
Codecov Report
@@ Coverage Diff @@
## main #139 +/- ##
============================================
+ Coverage 67.58% 67.70% +0.12%
- Complexity 318 330 +12
============================================
Files 38 43 +5
Lines 1490 1539 +49
Branches 140 142 +2
============================================
+ Hits 1007 1042 +35
- Misses 434 448 +14
Partials 49 49
|
src/main/java/org/opensearch/flowframework/rest/AbstractSearchWorkflowAction.java
Show resolved
Hide resolved
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.
Initial pass, looks good so far. A small comment, and can you also include logs in the PR description after hitting this API?
src/main/java/org/opensearch/flowframework/rest/AbstractSearchWorkflowAction.java
Show resolved
Hide resolved
Posted the response in the issue. Do you want me to add in the PR as well? |
@owaiskazi19 Perhaps lets merge in #142 first prior to this PR. After rebasing, you can also set this new API behind the feature flag |
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
Signed-off-by: Owais Kazi <[email protected]>
8140f81
to
0bdedd2
Compare
Signed-off-by: Owais Kazi <[email protected]>
src/main/java/org/opensearch/flowframework/rest/AbstractSearchWorkflowAction.java
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/rest/AbstractSearchWorkflowAction.java
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/transport/SearchWorkflowTransportAction.java
Show resolved
Hide resolved
Signed-off-by: Owais Kazi <[email protected]>
* Initial Implementation of Search API Signed-off-by: Owais Kazi <[email protected]> * Added tests Signed-off-by: Owais Kazi <[email protected]> * Added tests for transport action Signed-off-by: Owais Kazi <[email protected]> * Added javadoc Signed-off-by: Owais Kazi <[email protected]> * Set APIs behind the feature flag Signed-off-by: Owais Kazi <[email protected]> * Minor comment Signed-off-by: Owais Kazi <[email protected]> --------- Signed-off-by: Owais Kazi <[email protected]> (cherry picked from commit dbbff74) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Search APIs to fetch all the workflows present (#139) * Initial Implementation of Search API * Added tests * Added tests for transport action * Added javadoc * Set APIs behind the feature flag * Minor comment --------- (cherry picked from commit dbbff74) 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
This PR adds 2 APIs:
The request and response are present in the issue.
Issues Resolved
Closes #124
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.