Skip to content

Linting round4#381

Merged
gregschohn merged 3 commits intoopensearch-project:mainfrom
gregschohn:Linting_Round4
Nov 5, 2023
Merged

Linting round4#381
gregschohn merged 3 commits intoopensearch-project:mainfrom
gregschohn:Linting_Round4

Conversation

@gregschohn
Copy link
Copy Markdown
Collaborator

Description

More improvements to fix issues caught in running a lint checker.

Check List

  • New functionality includes testing
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented
  • Commits are signed per the DCO using --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.

…eptions are handled (see SonarQube rule: S2142).

Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
The most major changes were to retrieving AWS Secrets for Auth.  Now the credentials provider and region are passed in.  The former is wrapped within a try-with-resources block and the latter required me to pull in a new jarfile for AWS ARNS so that the region can be parsed from the ARN specified.

Signed-off-by: Greg Schohn <greg.schohn@gmail.com>
@gregschohn gregschohn marked this pull request as ready for review November 3, 2023 18:37
@gregschohn gregschohn merged commit 9a20ab5 into opensearch-project:main Nov 5, 2023
@gregschohn gregschohn deleted the Linting_Round4 branch November 6, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants