From cd13fb8e15588db76f622982a577e0640b1f2745 Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Sun, 25 May 2025 14:47:08 -0400 Subject: [PATCH] Update dependencies and plugins --- pom.xml | 32 +++++++++---------- .../aspect/CipherStreamLoggingAspect.java | 2 +- ...erStreamControllerIntegrationTestBase.java | 2 +- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/pom.xml b/pom.xml index 0804cde..92dbf8e 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.mattrixwv.cipherstream cipherstream-api jar - 1.1.8-SNAPSHOT + 1.1.8 CipherStream API https://api.cipherstream.mattrixwv.com @@ -26,7 +26,7 @@ org.springframework.boot spring-boot-starter-parent - 3.4.2 + 3.5.0 @@ -56,7 +56,7 @@ org.projectlombok lombok - 1.18.36 + 1.18.38 provided @@ -64,7 +64,7 @@ org.slf4j slf4j-api - 2.0.16 + 2.0.17 org.springframework.boot @@ -85,14 +85,14 @@ org.aspectj aspectjweaver - 1.9.22.1 + 1.9.24 com.mattrixwv cipher-stream-java - 1.3.7 + 1.3.8 @@ -145,7 +145,7 @@ org.apache.maven.plugins maven-clean-plugin - 3.4.0 + 3.4.1 org.apache.maven.plugins @@ -155,7 +155,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.13.0 + 3.14.0 -Xlint:all @@ -167,7 +167,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.5.2 + 3.5.3 ${skip.unit.tests} @@ -186,17 +186,17 @@ org.apache.maven.plugins maven-install-plugin - 3.1.3 + 3.1.4 org.apache.maven.plugins maven-deploy-plugin - 3.1.3 + 3.1.4 org.apache.maven.plugins maven-failsafe-plugin - 3.5.2 + 3.5.3 @@ -219,7 +219,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.8.0 + 3.9.0 org.codehaus.mojo @@ -233,12 +233,12 @@ org.sonarsource.scanner.maven sonar-maven-plugin - 5.0.0.4389 + 5.1.0.4751 org.jacoco jacoco-maven-plugin - 0.8.12 + 0.8.13 **/CipherStreamAPI* @@ -264,7 +264,7 @@ org.owasp dependency-check-maven - 12.1.0 + 12.1.1 none diff --git a/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java b/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java index 52c6f8f..733b551 100644 --- a/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java +++ b/src/main/java/com/mattrixwv/cipherstream/aspect/CipherStreamLoggingAspect.java @@ -37,7 +37,7 @@ public class CipherStreamLoggingAspect{ @AfterReturning(pointcut = "cipherMethod() && postFunction()", returning = "returnedJson") public void getCipherInfo(ObjectNode returnedJson){ //Extract JSON to MDC - returnedJson.fields().forEachRemaining(entry -> { + returnedJson.properties().forEach(entry -> { if(entry.getValue().isTextual()){ MDC.put(entry.getKey(), entry.getValue().asText()); } diff --git a/src/test/java/com/mattrixwv/cipherstream/controller/CipherStreamControllerIntegrationTestBase.java b/src/test/java/com/mattrixwv/cipherstream/controller/CipherStreamControllerIntegrationTestBase.java index ffc4723..b783889 100644 --- a/src/test/java/com/mattrixwv/cipherstream/controller/CipherStreamControllerIntegrationTestBase.java +++ b/src/test/java/com/mattrixwv/cipherstream/controller/CipherStreamControllerIntegrationTestBase.java @@ -56,7 +56,7 @@ public class CipherStreamControllerIntegrationTestBase{ protected void verifyAspectLogging(ObjectNode jsonNode){ //Verify the MDC - jsonNode.fields().forEachRemaining(entry -> { + jsonNode.properties().forEach(entry -> { if(entry.getValue().isTextual()){ verify(mdc, times(1)).put(entry.getKey(), entry.getValue().asText()); }