Skip to content

[Backport 2.x] Fix windows encoding issues (#2206)#2217

Merged
cwperks merged 1 commit into2.xfrom
backport/backport-2206-to-2.x
Nov 2, 2022
Merged

[Backport 2.x] Fix windows encoding issues (#2206)#2217
cwperks merged 1 commit into2.xfrom
backport/backport-2206-to-2.x

Conversation

@peternied
Copy link
Copy Markdown
Member

@peternied peternied commented Nov 2, 2022

Description

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes #2194

Signed-off-by: Peter Nied petern@amazon.com
(cherry picked from commit a040b86)

Check List

  • New functionality includes testing
  • 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.

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes #2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
@peternied peternied requested a review from a team November 2, 2022 17:43
@peternied peternied added the v2.4.0 'Issues and PRs related to version v2.4.0' label Nov 2, 2022
@peternied peternied mentioned this pull request Nov 2, 2022
3 tasks
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 2, 2022

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.99%. Comparing base (920fdf0) to head (e8cd5f3).
⚠️ Report is 671 commits behind head on 2.x.

Files with missing lines Patch % Lines
...dlic/auth/http/saml/AuthTokenProcessorHandler.java 0.00% 1 Missing ⚠️
...a/org/opensearch/security/tools/SecurityAdmin.java 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                2.x    #2217      +/-   ##
============================================
- Coverage     61.06%   60.99%   -0.07%     
+ Complexity     3242     3238       -4     
============================================
  Files           257      257              
  Lines         18089    18089              
  Branches       3225     3225              
============================================
- Hits          11046    11034      -12     
- Misses         5474     5487      +13     
+ Partials       1569     1568       -1     
Files with missing lines Coverage Δ
...earch/security/auditlog/impl/AbstractAuditLog.java 73.75% <100.00%> (ø)
...ty/configuration/ConfigurationLoaderSecurity7.java 66.39% <100.00%> (ø)
...ensearch/security/ssl/DefaultSecurityKeyStore.java 67.63% <100.00%> (ø)
.../org/opensearch/security/support/ConfigHelper.java 86.00% <100.00%> (ø)
...dlic/auth/http/saml/AuthTokenProcessorHandler.java 47.28% <0.00%> (ø)
...a/org/opensearch/security/tools/SecurityAdmin.java 36.00% <0.00%> (ø)

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cwperks cwperks merged commit 18cd908 into 2.x Nov 2, 2022
@cwperks cwperks deleted the backport/backport-2206-to-2.x branch November 2, 2022 20:08
wuychn pushed a commit to ochprince/security that referenced this pull request Mar 16, 2023
…ject#2217)

Adds spotbugs [1] to detect internalization before they are added to the codebase, also fixed several encoding bugs that impact windows users.

[1] https://spotbugs.readthedocs.io/en/stable/index.html

Closes opensearch-project#2194

Signed-off-by: Peter Nied <petern@amazon.com>
(cherry picked from commit a040b86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2.4.0 'Issues and PRs related to version v2.4.0'

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants