-
Notifications
You must be signed in to change notification settings - Fork 45
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
Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy #1045
Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy #1045
Conversation
Signed-off-by: Siddhartha Bingi <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1045 +/- ##
=========================================
Coverage 75.53% 75.53%
Complexity 1050 1050
=========================================
Files 101 101
Lines 5215 5215
Branches 498 498
=========================================
Hits 3939 3939
Misses 1038 1038
Partials 238 238 ☔ 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.
LGTM. Already pushed this identical change here: fb5852f
Signed-off-by: Siddhartha Bingi <[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.
Re-reviewing after latest push. A few improvements can be made.
src/test/java/org/opensearch/flowframework/rest/RestWorkflowStateTenantAwareIT.java
Show resolved
Hide resolved
src/test/java/org/opensearch/flowframework/rest/RestWorkflowStateTenantAwareIT.java
Show resolved
Hide resolved
src/test/java/org/opensearch/flowframework/rest/RestWorkflowStateTenantAwareIT.java
Show resolved
Hide resolved
Signed-off-by: Siddhartha Bingi <[email protected]>
…test for workflow provisioning under multitenancy (#1045) * Fixing unit tests related to mlclient getTask Signed-off-by: Siddhartha Bingi <[email protected]> * Adding integration tests for workflow provisioning under multitenancy Signed-off-by: Siddhartha Bingi <[email protected]> * Addressing comments Signed-off-by: Siddhartha Bingi <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> (cherry picked from commit e18afa6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…test for workflow provisioning under multitenancy (#1045) * Fixing unit tests related to mlclient getTask Signed-off-by: Siddhartha Bingi <[email protected]> * Adding integration tests for workflow provisioning under multitenancy Signed-off-by: Siddhartha Bingi <[email protected]> * Addressing comments Signed-off-by: Siddhartha Bingi <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> (cherry picked from commit e18afa6) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ng integration test for workflow provisioning under multitenancy (#1046) Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045) * Fixing unit tests related to mlclient getTask * Adding integration tests for workflow provisioning under multitenancy * Addressing comments --------- (cherry picked from commit e18afa6) Signed-off-by: Siddhartha Bingi <[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> Co-authored-by: Siddhartha Bingi <[email protected]>
…test for workflow provisioning under multitenancy (opensearch-project#1045) * Fixing unit tests related to mlclient getTask Signed-off-by: Siddhartha Bingi <[email protected]> * Adding integration tests for workflow provisioning under multitenancy Signed-off-by: Siddhartha Bingi <[email protected]> * Addressing comments Signed-off-by: Siddhartha Bingi <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Signed-off-by: Vikas Adyar <[email protected]>
* Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045) * Fixing unit tests related to mlclient getTask Signed-off-by: Siddhartha Bingi <[email protected]> * Adding integration tests for workflow provisioning under multitenancy Signed-off-by: Siddhartha Bingi <[email protected]> * Addressing comments Signed-off-by: Siddhartha Bingi <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Signed-off-by: Vikas Adyar <[email protected]> * chore(deps): update aws-actions/configure-aws-credentials action to v4.0.3 (#1029) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * fix(deps): update dependency com.google.code.gson:gson to v2.12.1 (#1035) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * 1050: * Changed the indentation from spaces to tab. * Included private no-args constructors. * refactoring. Signed-off-by: Vikas Adyar <[email protected]> * fix(deps): update dependency software.amazon.cryptography:aws-cryptographic-material-providers to v1.9.0 (#1047) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * chore(deps): update plugin org.gradle.test-retry to v1.6.2 (#1052) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * fix(deps): update dependency org.dafny:dafnyruntime to v4.10.0 (#1053) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * Update template for alert summary with new log pattern tools (#1021) * Update template for alert summary with log pattern Signed-off-by: Sihan He <[email protected]> * Update ChangeLog Signed-off-by: Sihan He <[email protected]> --------- Signed-off-by: Sihan He <[email protected]> Signed-off-by: Vikas Adyar <[email protected]> * JDK 11 compatible changes. Signed-off-by: Vikas Adyar <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Signed-off-by: Vikas Adyar <[email protected]> Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Sihan He <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: 000FLMS <[email protected]>
* Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045) * Fixing unit tests related to mlclient getTask Signed-off-by: Siddhartha Bingi <[email protected]> * Adding integration tests for workflow provisioning under multitenancy Signed-off-by: Siddhartha Bingi <[email protected]> * Addressing comments Signed-off-by: Siddhartha Bingi <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Signed-off-by: Vikas Adyar <[email protected]> * chore(deps): update aws-actions/configure-aws-credentials action to v4.0.3 (#1029) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * fix(deps): update dependency com.google.code.gson:gson to v2.12.1 (#1035) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * 1050: * Changed the indentation from spaces to tab. * Included private no-args constructors. * refactoring. Signed-off-by: Vikas Adyar <[email protected]> * fix(deps): update dependency software.amazon.cryptography:aws-cryptographic-material-providers to v1.9.0 (#1047) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * chore(deps): update plugin org.gradle.test-retry to v1.6.2 (#1052) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * fix(deps): update dependency org.dafny:dafnyruntime to v4.10.0 (#1053) Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Vikas Adyar <[email protected]> * Update template for alert summary with new log pattern tools (#1021) * Update template for alert summary with log pattern Signed-off-by: Sihan He <[email protected]> * Update ChangeLog Signed-off-by: Sihan He <[email protected]> --------- Signed-off-by: Sihan He <[email protected]> Signed-off-by: Vikas Adyar <[email protected]> * JDK 11 compatible changes. Signed-off-by: Vikas Adyar <[email protected]> --------- Signed-off-by: Siddhartha Bingi <[email protected]> Signed-off-by: Vikas Adyar <[email protected]> Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Sihan He <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: 000FLMS <[email protected]> (cherry picked from commit 2acbb56) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1050: Reduce build warnings. (#1051) * Fixing unit tests related to mlclient getTask and adding integration test for workflow provisioning under multitenancy (#1045) * Fixing unit tests related to mlclient getTask * Adding integration tests for workflow provisioning under multitenancy * Addressing comments --------- * chore(deps): update aws-actions/configure-aws-credentials action to v4.0.3 (#1029) * fix(deps): update dependency com.google.code.gson:gson to v2.12.1 (#1035) * 1050: * Changed the indentation from spaces to tab. * Included private no-args constructors. * refactoring. * fix(deps): update dependency software.amazon.cryptography:aws-cryptographic-material-providers to v1.9.0 (#1047) * chore(deps): update plugin org.gradle.test-retry to v1.6.2 (#1052) * fix(deps): update dependency org.dafny:dafnyruntime to v4.10.0 (#1053) * Update template for alert summary with new log pattern tools (#1021) * Update template for alert summary with log pattern * Update ChangeLog --------- * JDK 11 compatible changes. --------- (cherry picked from commit 2acbb56) Signed-off-by: Siddhartha Bingi <[email protected]> Signed-off-by: Vikas Adyar <[email protected]> Signed-off-by: mend-for-github-com[bot] <mend-for-github-com[bot]@users.noreply.github.com> Signed-off-by: Sihan He <[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> Co-authored-by: Siddhartha Bingi <[email protected]> Co-authored-by: Siddhartha Bingi <[email protected]> Co-authored-by: mend-for-github-com[bot] <50673670+mend-for-github-com[bot]@users.noreply.github.com> Co-authored-by: 000FLMS <[email protected]>
Description
Related Issues
#1025
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.