Spring boot, Kotlin version upgrades
[ccsdk/cds.git] / ms / blueprintsprocessor / modules / services / execution-service / src / main / kotlin / org / onap / ccsdk / cds / blueprintsprocessor / services / execution / AbstractServiceFunction.kt
index e573afd..33f5d74 100644 (file)
@@ -75,7 +75,7 @@ abstract class AbstractServiceFunction : BlueprintFunctionNode<ExecutionServiceI
         try {
             // Set the Response Payload
             executionServiceOutput.payload = JacksonUtils.objectMapper.createObjectNode()
-            executionServiceOutput.payload.set("$actionName-response", responseActionPayload)
+            executionServiceOutput.payload.set<JsonNode>("$actionName-response", responseActionPayload)
             // Set the Default Step Status
             status.eventType = EventType.EVENT_COMPONENT_EXECUTED.name
         } catch (e: Exception) {