-
Notifications
You must be signed in to change notification settings - Fork 44
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
1050: Reduce build warnings. #1051
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1051 +/- ##
============================================
+ Coverage 75.53% 75.57% +0.04%
Complexity 1050 1050
============================================
Files 101 101
Lines 5215 5212 -3
Branches 498 498
============================================
Hits 3939 3939
+ Misses 1038 1035 -3
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.
Hey @vAdyar thanks for contributing! The addition of the private constructors and change of private variable look great.
Changed the indentation from spaces to tab.
The intent is not to change the formatting, but just to change the name of the parameter used to control it, specifically this line:
indentWithSpaces() |
We don't want tabs. That line converts all tabs to spaces (good) but the name of the parameter has changed.
Some hints:
- after making any changes, run the command line
./gradlew spotlessApply
to format your code. - you need to use DCO to signoff each commit. Most editors have a little check box you can select to add the SIgned-off-by line. Or you can use the
-s
switch if committing from the command line. You can sign off the immediate previous commits withgit commit -s --amend
assuming you've set up your name and email in git. See https://github.com/opensearch-project/flow-framework/blob/main/CONTRIBUTING.md#developer-certificate-of-origin
@dbwiddis I've signed off my latest comment as mentioned in the document. I'm still somehow seeing the DCO check getting failed. Any clue on this? |
You can click on the failed check and scroll to the bottom: https://github.com/opensearch-project/flow-framework/pull/1051/checks?check_run_id=36856487375 Looks like you have your name but not an email address there. |
src/main/java/org/opensearch/flowframework/util/ApiSpecFetcher.java
Outdated
Show resolved
Hide resolved
…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]>
…4.0.3 (opensearch-project#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]>
…ensearch-project#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]>
* Included private no-args constructors. * refactoring. Signed-off-by: Vikas Adyar <[email protected]>
…raphic-material-providers to v1.9.0 (opensearch-project#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]>
…h-project#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]>
…earch-project#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]>
…rch-project#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]>
@dbwiddis Looks like all check are fine. Can you review again? |
Well the DCO passes and spotless does too, but you still haven't backed out the JDK21 changes to APISpecFetcher or changed the name of |
Signed-off-by: Vikas Adyar <[email protected]>
My bad it wasn't rebased properly! Rebased the PR. :) |
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!
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.
Thank you for your contribution @vAdyar! Changes look good to me
* 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
Resolves #1050
Check List
[ ] API changes companion pull request created.--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.