-
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
Update workflow state without using painless script #894
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #894 +/- ##
============================================
+ Coverage 77.55% 78.04% +0.48%
- Complexity 966 977 +11
============================================
Files 97 97
Lines 4531 4554 +23
Branches 422 423 +1
============================================
+ Hits 3514 3554 +40
+ Misses 835 823 -12
+ Partials 182 177 -5 ☔ View full report in Codecov by Sentry. |
5b6fbc5
to
0907c21
Compare
src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java
Outdated
Show resolved
Hide resolved
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>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
Signed-off-by: Daniel Widdis <widdis@gmail.com>
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 with minor comments
src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java
Outdated
Show resolved
Hide resolved
src/main/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandler.java
Show resolved
Hide resolved
src/test/java/org/opensearch/flowframework/indices/FlowFrameworkIndicesHandlerTests.java
Show resolved
Hide resolved
Signed-off-by: Daniel Widdis <widdis@gmail.com>
* Update resources without using painless script Signed-off-by: Daniel Widdis <widdis@gmail.com> * Remove error field without using painless script Signed-off-by: Daniel Widdis <widdis@gmail.com> * Remove unused script update method Signed-off-by: Daniel Widdis <widdis@gmail.com> * Reorder methods for logical relationships Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add change log, more test coverage Signed-off-by: Daniel Widdis <widdis@gmail.com> * Do 5 retries for resource list updates Signed-off-by: Daniel Widdis <widdis@gmail.com> * Make retries a constant Signed-off-by: Daniel Widdis <widdis@gmail.com> --------- Signed-off-by: Daniel Widdis <widdis@gmail.com> (cherry picked from commit d0879d7) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) Update workflow state without using painless script (#894) * Update resources without using painless script * Remove error field without using painless script * Remove unused script update method * Reorder methods for logical relationships * Add change log, more test coverage * Do 5 retries for resource list updates * Make retries a constant --------- (cherry picked from commit d0879d7) Signed-off-by: Daniel Widdis <widdis@gmail.com> 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
Removes methods using painless script for workflow state updates.
Related Issues
Fixes #779 (except for the part that will be covered by #780)
Check List
--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.