summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/functions
diff options
context:
space:
mode:
authorchandana.g.n <chandana.g.n@accenture.com>2024-10-09 13:17:38 +0000
committerchandana.g.n <chandana.g.n@accenture.com>2024-10-15 07:09:06 +0000
commitb992a32981f459249634daa1dfdeb26b060a4e80 (patch)
treece6f060c0d88aa5a447c4fbdb41bc15efe98314c /ms/blueprintsprocessor/functions
parent940a89a0b3e9f69fcb58101d8d4a7ab2763ba715 (diff)
Updated to Java-17
- Updated parent project and fixed security vulnerabilities Issue-ID: CCSDK-4059 Change-Id: Ie02ae86a578dd7732b7a71b6a9e9d3a5997c17b3 Signed-off-by: chandana.g.n <chandana.g.n@accenture.com>
Diffstat (limited to 'ms/blueprintsprocessor/functions')
-rwxr-xr-xms/blueprintsprocessor/functions/pom.xml16
-rw-r--r--ms/blueprintsprocessor/functions/restconf-executor/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/restconf/executor/RestconfExecutor.kt3
-rw-r--r--ms/blueprintsprocessor/functions/restful-executor/pom.xml1
3 files changed, 20 insertions, 0 deletions
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 @@
<groupId>org.mock-server</groupId>
<artifactId>mockserver-netty</artifactId>
<scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.springframework.kafka</groupId>
+ <artifactId>spring-kafka</artifactId>
+ <version>2.9.13</version>
</dependency>
<dependency>
<groupId>org.powermock</groupId>
@@ -87,6 +98,11 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>com.nimbusds</groupId>
+ <artifactId>nimbus-jose-jwt</artifactId>
+ <version>9.37.2</version>
+ </dependency>
+ <dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-test-junit</artifactId>
<scope>test</scope>
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 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
+ <version>5.3.39</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>