From b992a32981f459249634daa1dfdeb26b060a4e80 Mon Sep 17 00:00:00 2001 From: "chandana.g.n" Date: Wed, 9 Oct 2024 13:17:38 +0000 Subject: Updated to Java-17 - Updated parent project and fixed security vulnerabilities Issue-ID: CCSDK-4059 Change-Id: Ie02ae86a578dd7732b7a71b6a9e9d3a5997c17b3 Signed-off-by: chandana.g.n --- ms/blueprintsprocessor/functions/pom.xml | 16 ++++++++++++++++ .../functions/restconf/executor/RestconfExecutor.kt | 3 +++ .../functions/restful-executor/pom.xml | 1 + 3 files changed, 20 insertions(+) (limited to 'ms/blueprintsprocessor/functions') diff --git a/ms/blueprintsprocessor/functions/pom.xml b/ms/blueprintsprocessor/functions/pom.xml index 7f8186298..7bb4ae068 100755 --- a/ms/blueprintsprocessor/functions/pom.xml +++ b/ms/blueprintsprocessor/functions/pom.xml @@ -65,6 +65,17 @@ org.mock-server mockserver-netty test + + + commons-collections + commons-collections + + + + + org.springframework.kafka + spring-kafka + 2.9.13 org.powermock @@ -86,6 +97,11 @@ junit-vintage-engine test + + com.nimbusds + nimbus-jose-jwt + 9.37.2 + org.jetbrains.kotlin kotlin-test-junit diff --git a/ms/blueprintsprocessor/functions/restconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/restconf/executor/RestconfExecutor.kt b/ms/blueprintsprocessor/functions/restconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/restconf/executor/RestconfExecutor.kt index 4b9333544..86e4058f2 100644 --- a/ms/blueprintsprocessor/functions/restconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/restconf/executor/RestconfExecutor.kt +++ b/ms/blueprintsprocessor/functions/restconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/restconf/executor/RestconfExecutor.kt @@ -192,6 +192,9 @@ open class Execute : AbstractScriptComponentFunction() { action.get(ACTION_PAYLOAD) ?: throw BluePrintProcessorException("Failed to load action $actionType payload.") } + RestconfRequestType.GET, RestconfRequestType.DELETE -> { + // No payload required for GET or DELETE + } } } } diff --git a/ms/blueprintsprocessor/functions/restful-executor/pom.xml b/ms/blueprintsprocessor/functions/restful-executor/pom.xml index 2c93853f5..c779869b8 100644 --- a/ms/blueprintsprocessor/functions/restful-executor/pom.xml +++ b/ms/blueprintsprocessor/functions/restful-executor/pom.xml @@ -47,6 +47,7 @@ org.springframework spring-web + 5.3.39 com.h2database -- cgit 1.2.3-korg