Update dependencies and plugins

This commit is contained in:
2025-05-25 14:47:08 -04:00
parent 915034315c
commit cd13fb8e15
3 changed files with 18 additions and 18 deletions

View File

@@ -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());
}

View File

@@ -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());
}