diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d5b2372..90cbad7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -6,9 +6,6 @@ on: description: Dry-Run required: false type: boolean - push: - branches: - - coreV2 name: publish diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e6f8775..32dbe0e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "4.0.0" + ".": "5.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index d2b8d68..7a6c4cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +## [5.0.0](https://github.com/mxenabled/path-facilities/compare/v4.0.0...5.0.0) (2023-06-07) + + +### ⚠ BREAKING CHANGES + +* upgrade to core:3.0.0 + +### Bug Fixes + +* semantic release ([f5a986f](https://github.com/mxenabled/path-facilities/commit/f5a986ff1814df147a1f07eebadbd6b36c02a28f)) + + +### Build System + +* upgrade to core:3.0.0 ([79dbbf5](https://github.com/mxenabled/path-facilities/commit/79dbbf5e773fa3b15759c18ff088899707d774c3)) + +## [4.0.1](https://github.com/mxenabled/path-facilities/compare/v4.0.0...4.0.1) (2023-06-06) + + +### Bug Fixes + +* semantic release ([f5a986f](https://github.com/mxenabled/path-facilities/commit/f5a986ff1814df147a1f07eebadbd6b36c02a28f)) + # Changelog ## [4.0.0](https://github.com/mxenabled/path-facilities/compare/v3.0.1...v4.0.0) (2023-05-16) diff --git a/README.md b/README.md index 364885a..ceb1cf2 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ _Gradle_ ```groovy dependencies { - api platform("com.mx.path-facilities:platform:4.0.0") + api platform("com.mx.path-facilities:platform:5.0.0") implementation "com.mx.path-facilities:store-redis" implementation "com.mx.path-facilities:store-vault" @@ -41,13 +41,13 @@ _Gradle_ ```groovy dependencies { - implementation "com.mx.path-facilities:store-redis:4.0.0" - implementation "com.mx.path-facilities:store-vault:4.0.0" - implementation "com.mx.path-facilities:encryption-service-vault:4.0.0" - implementation "com.mx.path-facilities:encryption-service-jasypt:4.0.0" - implementation "com.mx.path-facilities:message-broker-nats:4.0.0" - implementation "com.mx.path-facilities:fault-tolerant-executor-resilience4j:4.0.0" - implementation "com.mx.path-facilities:exception-reporter-honeybadger:4.0.0" + implementation "com.mx.path-facilities:store-redis:5.0.0" + implementation "com.mx.path-facilities:store-vault:5.0.0" + implementation "com.mx.path-facilities:encryption-service-vault:5.0.0" + implementation "com.mx.path-facilities:encryption-service-jasypt:5.0.0" + implementation "com.mx.path-facilities:message-broker-nats:5.0.0" + implementation "com.mx.path-facilities:fault-tolerant-executor-resilience4j:5.0.0" + implementation "com.mx.path-facilities:exception-reporter-honeybadger:5.0.0" } ``` diff --git a/build.gradle b/build.gradle index 0f30bd0..b0cb55f 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { id "io.github.gradle-nexus.publish-plugin" version "1.1.0" } -version "4.0.0" // x-release-please-version +version "5.0.0" // x-release-please-version def platformProject = "platform" @@ -22,7 +22,7 @@ allprojects { targetCompatibility = 1.8 ext { - pathSDKVersion = "[2.0,3.0)" + pathSDKVersion = "[3.0,4.0)" } repositories { @@ -85,7 +85,7 @@ subprojects { coppuccino { rootDir = "${projectDir}/" dependencies { - excludePreReleaseVersions = false + excludePreReleaseVersions = true } } diff --git a/encryption-service-jasypt/dependency_suppression.xml b/encryption-service-jasypt/dependency_suppression.xml deleted file mode 100644 index b00d296..0000000 --- a/encryption-service-jasypt/dependency_suppression.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/encryption-service-jasypt/gradle.lockfile b/encryption-service-jasypt/gradle.lockfile index ad16bdf..947464f 100644 --- a/encryption-service-jasypt/gradle.lockfile +++ b/encryption-service-jasypt/gradle.lockfile @@ -21,13 +21,13 @@ com.google.guava:guava:28.2-jre=checkstyle com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:common:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:context:2.0.0=testRuntimeClasspath -com.mx.path-core:gateway:2.0.0=testRuntimeClasspath -com.mx.path-core:messaging:2.0.0=testRuntimeClasspath -com.mx.path-core:platform:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:testing:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:utilities:2.0.0=testRuntimeClasspath +com.mx.path-core:common:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:context:3.0.0=testRuntimeClasspath +com.mx.path-core:gateway:3.0.0=testRuntimeClasspath +com.mx.path-core:messaging:3.0.0=testRuntimeClasspath +com.mx.path-core:platform:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:testing:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:utilities:3.0.0=testRuntimeClasspath com.puppycrawl.tools:checkstyle:8.29=checkstyle com.sun.activation:jakarta.activation:1.2.2=testRuntimeClasspath com.sun.istack:istack-commons-runtime:3.0.12=testRuntimeClasspath diff --git a/encryption-service-vault/dependency_suppression.xml b/encryption-service-vault/dependency_suppression.xml deleted file mode 100644 index b00d296..0000000 --- a/encryption-service-vault/dependency_suppression.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/encryption-service-vault/gradle.lockfile b/encryption-service-vault/gradle.lockfile index 35e8472..4611777 100644 --- a/encryption-service-vault/gradle.lockfile +++ b/encryption-service-vault/gradle.lockfile @@ -22,13 +22,13 @@ com.google.guava:guava:28.2-jre=checkstyle com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:common:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:context:2.0.0=testRuntimeClasspath -com.mx.path-core:gateway:2.0.0=testRuntimeClasspath -com.mx.path-core:messaging:2.0.0=testRuntimeClasspath -com.mx.path-core:platform:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:testing:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:utilities:2.0.0=testRuntimeClasspath +com.mx.path-core:common:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:context:3.0.0=testRuntimeClasspath +com.mx.path-core:gateway:3.0.0=testRuntimeClasspath +com.mx.path-core:messaging:3.0.0=testRuntimeClasspath +com.mx.path-core:platform:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:testing:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:utilities:3.0.0=testRuntimeClasspath com.puppycrawl.tools:checkstyle:8.29=checkstyle com.sun.activation:jakarta.activation:1.2.2=testRuntimeClasspath com.sun.istack:istack-commons-runtime:3.0.12=testRuntimeClasspath diff --git a/encryption-service-vault/src/main/java/com/mx/path/service/facility/security/vault/VaultEncryptionService.java b/encryption-service-vault/src/main/java/com/mx/path/service/facility/security/vault/VaultEncryptionService.java index c700789..555b070 100644 --- a/encryption-service-vault/src/main/java/com/mx/path/service/facility/security/vault/VaultEncryptionService.java +++ b/encryption-service-vault/src/main/java/com/mx/path/service/facility/security/vault/VaultEncryptionService.java @@ -226,20 +226,20 @@ final Vault buildAuthenticatedDriver(Vault authenticationDriver) { case APPROLE: resp = authenticationDriver.auth().loginByAppRole(configuration.getAppRole(), configuration.getSecretId()); - validateVaultAuthenticationResponse(resp, "Unable to login via jwt"); + validateVaultAuthenticationResponse(resp, "Unable to login via vault app-role"); token = resp.getAuthClientToken(); break; case APPID: resp = authenticationDriver.auth().loginByAppID("app-id/login", configuration.getAppId(), configuration.getUserId()); - validateVaultAuthenticationResponse(resp, "Unable to login via app-id"); + validateVaultAuthenticationResponse(resp, "Unable to login via vault app-id"); token = resp.getAuthClientToken(); break; default: - throw new VaultEncryptionConfigurationException("Invalid authentication type: " + getConfiguration().getAuthentication()); + throw new VaultEncryptionConfigurationException("Invalid vault authentication type: " + getConfiguration().getAuthentication()); } return buildVaultDriver(token); @@ -260,7 +260,7 @@ private String doEncrypt(String plaintext) { String path = "transit/encrypt/" + configuration.getKeyName(); LogicalResponse response = logicalWriteWithReauthentication(path, Collections.singletonMap("plaintext", encodedValue)); - validateVaultOperationResponse(response, "Encrypt failed"); + validateVaultOperationResponse(response, "Vault encrypt failed"); return response.getData().get("ciphertext"); } @@ -269,7 +269,7 @@ private String doDecrypt(String ciphertext) { LogicalResponse response = logicalWriteWithReauthentication( "transit/decrypt/" + configuration.getKeyName(), Collections.singletonMap("ciphertext", ciphertext)); - validateVaultOperationResponse(response, "Decrypt failed"); + validateVaultOperationResponse(response, "Vault decrypt failed"); String plaintext = response.getData().get("plaintext"); @@ -336,7 +336,7 @@ private LogicalResponse logicalReadWithReauthentication(final String path) { resetDriver(); continue; } catch (VaultException e) { - throw new VaultEncryptionOperationException("Logical read failed", e); + throw new VaultEncryptionOperationException("Vault logical read failed", e); } // If the response is permission denied @@ -347,7 +347,7 @@ private LogicalResponse logicalReadWithReauthentication(final String path) { } } - throw new VaultEncryptionAuthenticationException("Permission denied and unable to reauthenticate"); + throw new VaultEncryptionAuthenticationException("Permission denied and unable to reauthenticate vault read"); } private LogicalResponse logicalWriteWithReauthentication(final String path, final Map nameValuePairs) { @@ -359,7 +359,7 @@ private LogicalResponse logicalWriteWithReauthentication(final String path, fina resetDriver(); continue; } catch (VaultException e) { - throw new VaultEncryptionOperationException("Logical write failed", e); + throw new VaultEncryptionOperationException("Vault logical write failed", e); } // If the response is permission denied @@ -370,6 +370,6 @@ private LogicalResponse logicalWriteWithReauthentication(final String path, fina } } - throw new VaultEncryptionAuthenticationException("Permission denied and unable to reauthenticate"); + throw new VaultEncryptionAuthenticationException("Permission denied and unable to reauthenticate vault write"); } } diff --git a/encryption-service-vault/src/test/groovy/com/mx/path/service/facility/security/vault/VaultEncryptionServiceTest.groovy b/encryption-service-vault/src/test/groovy/com/mx/path/service/facility/security/vault/VaultEncryptionServiceTest.groovy index 00d1332..ab1d37f 100644 --- a/encryption-service-vault/src/test/groovy/com/mx/path/service/facility/security/vault/VaultEncryptionServiceTest.groovy +++ b/encryption-service-vault/src/test/groovy/com/mx/path/service/facility/security/vault/VaultEncryptionServiceTest.groovy @@ -287,7 +287,7 @@ class VaultEncryptionServiceTest extends Specification { then: def ex = thrown(VaultEncryptionAuthenticationException) - ex.getMessage() == "Permission denied and unable to reauthenticate" + ex.getMessage() == "Permission denied and unable to reauthenticate vault write" verify(subject, times(3)).resetDriver() || true } @@ -305,7 +305,7 @@ class VaultEncryptionServiceTest extends Specification { then: def ex = thrown(VaultEncryptionOperationException) - ex.getMessage() == "Logical write failed" + ex.getMessage() == "Vault logical write failed" verify(subject, never()).resetDriver() || true } @@ -366,7 +366,7 @@ class VaultEncryptionServiceTest extends Specification { then: def ex = thrown(VaultEncryptionAuthenticationException) - ex.getMessage() == "Permission denied and unable to reauthenticate" + ex.getMessage() == "Permission denied and unable to reauthenticate vault write" verify(subject, times(3)).resetDriver() || true } @@ -384,7 +384,7 @@ class VaultEncryptionServiceTest extends Specification { then: def ex = thrown(VaultEncryptionOperationException) - ex.getMessage() == "Logical write failed" + ex.getMessage() == "Vault logical write failed" verify(subject, never()).resetDriver() || true } diff --git a/exception-reporter-honeybadger/dependency_suppression.xml b/exception-reporter-honeybadger/dependency_suppression.xml deleted file mode 100644 index b00d296..0000000 --- a/exception-reporter-honeybadger/dependency_suppression.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/exception-reporter-honeybadger/gradle.lockfile b/exception-reporter-honeybadger/gradle.lockfile index 52c9b61..0a46eea 100644 --- a/exception-reporter-honeybadger/gradle.lockfile +++ b/exception-reporter-honeybadger/gradle.lockfile @@ -24,13 +24,13 @@ com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=chec com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.jcabi:jcabi-log:0.20.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.jcabi:jcabi-manifests:1.2.1=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:common:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:context:2.0.0=testRuntimeClasspath -com.mx.path-core:gateway:2.0.0=testRuntimeClasspath -com.mx.path-core:messaging:2.0.0=testRuntimeClasspath -com.mx.path-core:platform:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:testing:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:utilities:2.0.0=testRuntimeClasspath +com.mx.path-core:common:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:context:3.0.0=testRuntimeClasspath +com.mx.path-core:gateway:3.0.0=testRuntimeClasspath +com.mx.path-core:messaging:3.0.0=testRuntimeClasspath +com.mx.path-core:platform:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:testing:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:utilities:3.0.0=testRuntimeClasspath com.puppycrawl.tools:checkstyle:8.29=checkstyle com.sun.activation:jakarta.activation:1.2.2=testRuntimeClasspath com.sun.istack:istack-commons-runtime:3.0.12=testRuntimeClasspath diff --git a/fault-tolerant-executor-resilience4j/dependency_suppression.xml b/fault-tolerant-executor-resilience4j/dependency_suppression.xml deleted file mode 100644 index b00d296..0000000 --- a/fault-tolerant-executor-resilience4j/dependency_suppression.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/fault-tolerant-executor-resilience4j/gradle.lockfile b/fault-tolerant-executor-resilience4j/gradle.lockfile index dae99bc..481c709 100644 --- a/fault-tolerant-executor-resilience4j/gradle.lockfile +++ b/fault-tolerant-executor-resilience4j/gradle.lockfile @@ -21,13 +21,13 @@ com.google.guava:guava:28.2-jre=checkstyle com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:common:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:context:2.0.0=testRuntimeClasspath -com.mx.path-core:gateway:2.0.0=testRuntimeClasspath -com.mx.path-core:messaging:2.0.0=testRuntimeClasspath -com.mx.path-core:platform:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:testing:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:utilities:2.0.0=testRuntimeClasspath +com.mx.path-core:common:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:context:3.0.0=testRuntimeClasspath +com.mx.path-core:gateway:3.0.0=testRuntimeClasspath +com.mx.path-core:messaging:3.0.0=testRuntimeClasspath +com.mx.path-core:platform:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:testing:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:utilities:3.0.0=testRuntimeClasspath com.puppycrawl.tools:checkstyle:8.29=checkstyle com.sun.activation:jakarta.activation:1.2.2=testRuntimeClasspath com.sun.istack:istack-commons-runtime:3.0.12=testRuntimeClasspath diff --git a/fault-tolerant-executor-resilience4j/src/main/java/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutor.java b/fault-tolerant-executor-resilience4j/src/main/java/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutor.java index 94f78e9..e6ee0fd 100644 --- a/fault-tolerant-executor-resilience4j/src/main/java/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutor.java +++ b/fault-tolerant-executor-resilience4j/src/main/java/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutor.java @@ -7,13 +7,9 @@ import lombok.AccessLevel; import lombok.Setter; -import com.mx.path.core.common.accessor.PathResponseStatus; import com.mx.path.core.common.configuration.Configuration; -import com.mx.path.core.common.connect.ConnectException; import com.mx.path.core.common.connect.ServiceUnavailableException; import com.mx.path.core.common.connect.TooManyRequestsException; -import com.mx.path.core.common.exception.PathRequestException; -import com.mx.path.core.common.exception.PathSystemException; import com.mx.path.core.common.process.FaultTolerantExecutor; import com.mx.path.core.common.process.FaultTolerantTask; import com.mx.path.service.facility.fault_tolerant_executor.resilience4j.configuration.Configurations; @@ -36,7 +32,7 @@ public Resilience4jFaultTolerantExecutor(@Configuration Configurations configura @SuppressWarnings("PMD.CyclomaticComplexity") @Override - public void submit(String scope, FaultTolerantTask task) { + public void submit(String scope, FaultTolerantTask task) throws Exception { try { executeDecoratorStack(scope, task); } catch (BulkheadFullException e) { @@ -51,13 +47,6 @@ public void submit(String scope, FaultTolerantTask task) { throw new com.mx.path.core.common.connect.TimeoutException( "Resilience4j triggered a timeout.", e); - } catch (PathRequestException | PathSystemException e) { - throw e; // rethrow Path exceptions - } catch (Exception e) { - throw new ConnectException( - "An unknown error occurred", - PathResponseStatus.INTERNAL_ERROR, - e); } } diff --git a/fault-tolerant-executor-resilience4j/src/test/groovy/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutorTest.groovy b/fault-tolerant-executor-resilience4j/src/test/groovy/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutorTest.groovy index 2a392c9..9b39f5d 100644 --- a/fault-tolerant-executor-resilience4j/src/test/groovy/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutorTest.groovy +++ b/fault-tolerant-executor-resilience4j/src/test/groovy/com/mx/path/service/facility/fault_tolerant_executor/resilience4j/Resilience4jFaultTolerantExecutorTest.groovy @@ -6,6 +6,7 @@ import java.time.Duration import java.util.concurrent.TimeoutException import com.mx.path.core.common.accessor.PathResponseStatus +import com.mx.path.core.common.accessor.UpstreamSystemMaintenance import com.mx.path.core.common.connect.ConnectException import com.mx.path.core.common.connect.ServiceUnavailableException import com.mx.path.core.common.connect.TooManyRequestsException @@ -39,16 +40,19 @@ class Resilience4jFaultTolerantExecutorTest extends Specification { subject.submit("DEFAULT", { config -> }) then: - def exception = thrown(ConnectException) - exception.status == failureStatus - exception.cause == originalException + def exception = thrown(expectedType) + failureStatus == null ? !exception.hasProperty("status") : exception.status == failureStatus + !wrapsOriginalException || exception.cause == originalException + wrapsOriginalException || exception.cause == null where: - originalException || failureStatus - mock(BulkheadFullException) || PathResponseStatus.UPSTREAM_SERVICE_UNAVAILABLE - mock(CallNotPermittedException) || PathResponseStatus.UPSTREAM_SERVICE_UNAVAILABLE - new TimeoutException() || PathResponseStatus.UPSTREAM_SERVICE_UNAVAILABLE - new RuntimeException() || PathResponseStatus.INTERNAL_ERROR + originalException || wrapsOriginalException || expectedType || failureStatus + mock(BulkheadFullException) || true || TooManyRequestsException || PathResponseStatus.UPSTREAM_SERVICE_UNAVAILABLE + mock(CallNotPermittedException) || true || ServiceUnavailableException || PathResponseStatus.UPSTREAM_SERVICE_UNAVAILABLE + new TimeoutException() || true || com.mx.path.core.common.connect.TimeoutException || PathResponseStatus.UPSTREAM_SERVICE_UNAVAILABLE + new UpstreamSystemMaintenance("upstream is being maintained") || false || UpstreamSystemMaintenance || PathResponseStatus.UPSTREAM_SERVICE_UNAVAILABLE + new RuntimeException() || false || RuntimeException || null + new NullPointerException() || false || NullPointerException || null } def "runs a submitted task"() { diff --git a/message-broker-nats/dependency_suppression.xml b/message-broker-nats/dependency_suppression.xml deleted file mode 100644 index b00d296..0000000 --- a/message-broker-nats/dependency_suppression.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/message-broker-nats/gradle.lockfile b/message-broker-nats/gradle.lockfile index 7c03c78..47fdf52 100644 --- a/message-broker-nats/gradle.lockfile +++ b/message-broker-nats/gradle.lockfile @@ -21,13 +21,13 @@ com.google.guava:guava:28.2-jre=checkstyle com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:common:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:context:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:gateway:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:messaging:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:platform:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:testing:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:utilities:2.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:common:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:context:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:gateway:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:messaging:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:platform:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:testing:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:utilities:3.0.0=testCompileClasspath,testRuntimeClasspath com.puppycrawl.tools:checkstyle:8.29=checkstyle com.sun.activation:jakarta.activation:1.2.2=testRuntimeClasspath com.sun.istack:istack-commons-runtime:3.0.12=testCompileClasspath,testRuntimeClasspath diff --git a/store-redis/dependency_suppression.xml b/store-redis/dependency_suppression.xml deleted file mode 100644 index b00d296..0000000 --- a/store-redis/dependency_suppression.xml +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/store-redis/gradle.lockfile b/store-redis/gradle.lockfile index 09c2e64..bb3c814 100644 --- a/store-redis/gradle.lockfile +++ b/store-redis/gradle.lockfile @@ -21,13 +21,13 @@ com.google.guava:guava:28.2-jre=checkstyle com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:common:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:context:2.0.0=testRuntimeClasspath -com.mx.path-core:gateway:2.0.0=testRuntimeClasspath -com.mx.path-core:messaging:2.0.0=testRuntimeClasspath -com.mx.path-core:platform:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:testing:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:utilities:2.0.0=testRuntimeClasspath +com.mx.path-core:common:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:context:3.0.0=testRuntimeClasspath +com.mx.path-core:gateway:3.0.0=testRuntimeClasspath +com.mx.path-core:messaging:3.0.0=testRuntimeClasspath +com.mx.path-core:platform:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:testing:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:utilities:3.0.0=testRuntimeClasspath com.puppycrawl.tools:checkstyle:8.29=checkstyle com.sun.activation:jakarta.activation:1.2.2=testRuntimeClasspath com.sun.istack:istack-commons-runtime:3.0.12=testRuntimeClasspath @@ -41,13 +41,13 @@ commons-lang:commons-lang:2.6=testRuntimeClasspath commons-logging:commons-logging:1.2=testRuntimeClasspath info.picocli:picocli:4.1.4=checkstyle io.lettuce:lettuce-core:6.2.0.RELEASE=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -io.netty:netty-buffer:4.1.92.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -io.netty:netty-codec:4.1.92.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -io.netty:netty-common:4.1.92.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -io.netty:netty-handler:4.1.92.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -io.netty:netty-resolver:4.1.92.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -io.netty:netty-transport-native-unix-common:4.1.92.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -io.netty:netty-transport:4.1.92.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-buffer:4.1.93.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-codec:4.1.93.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-common:4.1.93.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-handler:4.1.93.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-resolver:4.1.93.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-transport-native-unix-common:4.1.93.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +io.netty:netty-transport:4.1.93.Final=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath io.opentracing:opentracing-api:0.33.0=testRuntimeClasspath io.projectreactor:reactor-core:3.4.21=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath jakarta.activation:jakarta.activation-api:1.2.2=testRuntimeClasspath diff --git a/store-vault/dependency_suppression.xml b/store-vault/dependency_suppression.xml deleted file mode 100644 index 1b84784..0000000 --- a/store-vault/dependency_suppression.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - https://gitlab.mx.com/mx/money-experiences/path/path-issues/-/issues/1244 - CVE-2022-1471 - - - https://gitlab.mx.com/mx/money-experiences/path/path-issues/-/issues/1248 - CVE-2021-37533 - - diff --git a/store-vault/gradle.lockfile b/store-vault/gradle.lockfile index 35e8472..4611777 100644 --- a/store-vault/gradle.lockfile +++ b/store-vault/gradle.lockfile @@ -22,13 +22,13 @@ com.google.guava:guava:28.2-jre=checkstyle com.google.guava:guava:31.1-jre=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath com.google.j2objc:j2objc-annotations:1.3=checkstyle,compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:common:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:context:2.0.0=testRuntimeClasspath -com.mx.path-core:gateway:2.0.0=testRuntimeClasspath -com.mx.path-core:messaging:2.0.0=testRuntimeClasspath -com.mx.path-core:platform:2.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath -com.mx.path-core:testing:2.0.0=testCompileClasspath,testRuntimeClasspath -com.mx.path-core:utilities:2.0.0=testRuntimeClasspath +com.mx.path-core:common:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:context:3.0.0=testRuntimeClasspath +com.mx.path-core:gateway:3.0.0=testRuntimeClasspath +com.mx.path-core:messaging:3.0.0=testRuntimeClasspath +com.mx.path-core:platform:3.0.0=compileClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath +com.mx.path-core:testing:3.0.0=testCompileClasspath,testRuntimeClasspath +com.mx.path-core:utilities:3.0.0=testRuntimeClasspath com.puppycrawl.tools:checkstyle:8.29=checkstyle com.sun.activation:jakarta.activation:1.2.2=testRuntimeClasspath com.sun.istack:istack-commons-runtime:3.0.12=testRuntimeClasspath