Skip to content
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

Merged
merged 11 commits into from
Feb 10, 2025
Merged

1050: Reduce build warnings. #1051

merged 11 commits into from
Feb 10, 2025

Conversation

vAdyar
Copy link
Contributor

@vAdyar vAdyar commented Feb 5, 2025

Description

  • Changed the indentation from spaces to tab.
  • Included private no-args constructors.
  • refactoring.

Related Issues

Resolves #1050

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • [ ] API changes companion pull request created.
  • Commits are signed per the DCO using --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.

Copy link

codecov bot commented Feb 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.57%. Comparing base (950437b) to head (fae5e7c).
Report is 2 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

Copy link
Member

@dbwiddis dbwiddis left a 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:

@vAdyar
Copy link
Contributor Author

vAdyar commented Feb 7, 2025

@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?

@dbwiddis
Copy link
Member

dbwiddis commented Feb 7, 2025

@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.

siddharthabingi and others added 8 commits February 9, 2025 00:10
…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]>
@vAdyar
Copy link
Contributor Author

vAdyar commented Feb 8, 2025

@dbwiddis Looks like all check are fine. Can you review again?

@dbwiddis
Copy link
Member

dbwiddis commented Feb 8, 2025

@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 indentWithSpaces to leadingTabsToSpaces. :)

@vAdyar
Copy link
Contributor Author

vAdyar commented Feb 9, 2025

My bad it wasn't rebased properly! Rebased the PR. :)

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@joshpalis joshpalis left a 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

@joshpalis joshpalis merged commit 2acbb56 into opensearch-project:main Feb 10, 2025
23 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 10, 2025
* 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>
joshpalis pushed a commit that referenced this pull request Feb 10, 2025
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch skip-changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reduce build warnings
5 participants