Skip to content

Commit

Permalink
Merge branch 'opensearch-project:main' into boostedCoverage
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-crawford authored Aug 22, 2023
2 parents b46f25c + 75f529a commit f9756f3
Show file tree
Hide file tree
Showing 6 changed files with 283 additions and 101 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ forbiddenApisTest.enabled = false
filepermissions.enabled = false
forbiddenPatterns.enabled = false
testingConventions.enabled = false
// Conflicts between runtime kafka-clients:x.y.z & testRuntime kafka-clients:x.y.z:test
jarHell.enabled = false
jarHell.enabled = true
tasks.whenTaskAdded {task ->
if(task.name.contains("forbiddenApisIntegrationTest")) {
task.enabled = false
Expand Down
41 changes: 41 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
coverage:
status:
project:
# Exclusions to prevent false positives triggered
# Tracking with https://github.com/opensearch-project/security/issues/3137
default: false
plugin:
paths:
- "!src/main/java/com/amazon/dlic/auth/http/jwt/keybyoidc/SelfRefreshingKeySet.java"
- "!src/main/java/com/amazon/dlic/auth/ldap2/LDAPConnectionFactoryFactory.java"
- "!src/main/java/org/opensearch/security/transport/SecurityInterceptor.java"
- "!src/main/java/org/opensearch/security/auditlog/AuditLogSslExceptionHandler.java"
- "!src/main/java/org/opensearch/security/configuration/StaticResourceException.java"
- "!src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java"
- "!src/main/java/org/opensearch/security/ssl/transport/SecuritySSLNettyTransport.java"
- "!src/main/java/org/opensearch/security/ssl/util/SSLConnectionTestUtil.java"
- "src/main"
target: auto
threshold: 0%
inconsistent-coverage-files:
paths:
- "src/main/java/com/amazon/dlic/auth/http/jwt/keybyoidc/SelfRefreshingKeySet.java"
- "src/main/java/com/amazon/dlic/auth/ldap2/LDAPConnectionFactoryFactory.java"
- "src/main/java/org/opensearch/security/transport/SecurityInterceptor.java"
- "src/main/java/org/opensearch/security/auditlog/AuditLogSslExceptionHandler.java"
- "src/main/java/org/opensearch/security/configuration/StaticResourceException.java"
- "src/main/java/org/opensearch/security/dlic/rest/api/AuditApiAction.java"
- "src/main/java/org/opensearch/security/ssl/transport/SecuritySSLNettyTransport.java"
- "src/main/java/org/opensearch/security/ssl/util/SSLConnectionTestUtil.java"
target: auto
threshold: 50%
tests:
paths:
- "src/integrationTest"
- "src/test"
target: 100%

comment:
layout: "reach, diff, flags, files"
behavior: default
require_changes: true
Loading

0 comments on commit f9756f3

Please sign in to comment.