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

Limit the use of extensions term in the codebase #2748

Merged
merged 3 commits into from
May 9, 2023

Conversation

peternied
Copy link
Member

Description

Extensions are a big part of what we are building into OpenSearch and Security. While we need these features we should try to build them as generically as possible, this checkstyle scan will help enforce this and also allow for working around the term usage with comments as we do have places where extensions need to be treated differently.

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.

Extensions are a big part of what we are building into OpenSearch and
Security.  While we need these features we should try to build them as
generically as possible, this checkstyle scan will help enforce this and
also allow for working around the term usage with comments as we do have
places where extensions need to be treated differently.

Signed-off-by: Peter Nied <[email protected]>
@peternied peternied marked this pull request as ready for review May 8, 2023 18:59
@codecov-commenter
Copy link

codecov-commenter commented May 9, 2023

Codecov Report

Merging #2748 (73e2b45) into main (54d47ab) will decrease coverage by 0.02%.
The diff coverage is 33.33%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##               main    #2748      +/-   ##
============================================
- Coverage     61.36%   61.35%   -0.02%     
- Complexity     3413     3414       +1     
============================================
  Files           272      272              
  Lines         18850    18850              
  Branches       3296     3296              
============================================
- Hits          11568    11565       -3     
- Misses         5684     5687       +3     
  Partials       1598     1598              
Impacted Files Coverage Δ
.../opensearch/security/OpenSearchSecurityPlugin.java 80.15% <ø> (ø)
...ensearch/security/ssl/DefaultSecurityKeyStore.java 67.49% <ø> (ø)
...search/security/ssl/util/CertificateValidator.java 69.41% <ø> (ø)
...java/org/opensearch/security/ssl/util/TLSUtil.java 93.75% <ø> (ø)
...g/opensearch/security/support/ConfigConstants.java 94.44% <ø> (ø)
.../org/opensearch/security/support/HeaderHelper.java 63.15% <ø> (ø)
...a/org/opensearch/security/tools/SecurityAdmin.java 39.54% <ø> (ø)
...security/transport/OIDClusterRequestEvaluator.java 0.00% <ø> (ø)
...rch/security/transport/SecurityRequestHandler.java 63.70% <ø> (ø)
...ity/configuration/DlsFilterLevelActionHandler.java 55.27% <33.33%> (ø)

... and 1 file with indirect coverage changes

@peternied peternied merged commit f4def32 into opensearch-project:main May 9, 2023
@peternied peternied deleted the ext-limiter branch May 9, 2023 21:20
sebastianmichalski pushed a commit to sebastianmichalski/security that referenced this pull request May 19, 2023
…2748)

* Limit the use of extensions term in the codebase

Extensions are a big part of what we are building into OpenSearch and
Security.  While we need these features we should try to build them as
generically as possible, this checkstyle scan will help enforce this and
also allow for working around the term usage with comments as we do have
places where extensions need to be treated differently.

Signed-off-by: Peter Nied <[email protected]>
MaciejMierzwa pushed a commit to MaciejMierzwa/security that referenced this pull request Jun 13, 2023
…2748)

* Limit the use of extensions term in the codebase

Extensions are a big part of what we are building into OpenSearch and
Security.  While we need these features we should try to build them as
generically as possible, this checkstyle scan will help enforce this and
also allow for working around the term usage with comments as we do have
places where extensions need to be treated differently.

Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Maciej Mierzwa <[email protected]>
MaciejMierzwa pushed a commit to MaciejMierzwa/security that referenced this pull request Jun 13, 2023
…2748)

* Limit the use of extensions term in the codebase

Extensions are a big part of what we are building into OpenSearch and
Security.  While we need these features we should try to build them as
generically as possible, this checkstyle scan will help enforce this and
also allow for working around the term usage with comments as we do have
places where extensions need to be treated differently.

Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Maciej Mierzwa <[email protected]>
samuelcostae pushed a commit to samuelcostae/security that referenced this pull request Jun 19, 2023
…2748)

* Limit the use of extensions term in the codebase

Extensions are a big part of what we are building into OpenSearch and
Security.  While we need these features we should try to build them as
generically as possible, this checkstyle scan will help enforce this and
also allow for working around the term usage with comments as we do have
places where extensions need to be treated differently.

Signed-off-by: Peter Nied <[email protected]>
samuelcostae pushed a commit to samuelcostae/security that referenced this pull request Jun 19, 2023
…2748)

* Limit the use of extensions term in the codebase

Extensions are a big part of what we are building into OpenSearch and
Security.  While we need these features we should try to build them as
generically as possible, this checkstyle scan will help enforce this and
also allow for working around the term usage with comments as we do have
places where extensions need to be treated differently.

Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Sam <[email protected]>
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.

4 participants