-
Bug
-
Resolution: Done
-
Medium
-
Frankfurt Release
-
None
-
None
while testing imperative workflow, and after all steps are SUCCESS, i get the following error2019-11-04 08:54:05,755|||DefaultDispatcher-worker-7||||INFO||||||| Execute node(imperative-workflow-step-2) -> executed state(SUCCESS)
2019-11-04 08:54:05,755|||DefaultDispatcher-worker-7||||INFO||||||| Execute node(END) -> executed state(SUCCESS)
2019-11-04 08:54:05,755|||DefaultDispatcher-worker-7||||INFO||||||| workflow(695895e3-c6b8-4b35-8e74-4a50a8bca5d1) nodes completed with (0)exceptions
2019-11-04 08:54:05,755|||DefaultDispatcher-worker-8||||INFO||||||| resolveWorkflowOutputs for workflow(config-deploy)
Exception in thread "DefaultDispatcher-worker-8" java.lang.IllegalArgumentException: No enum constant org.onap.ccsdk.cds.controllerblueprints.common.api.EventType.
at java.lang.Enum.valueOf(Enum.java:238)
at org.onap.ccsdk.cds.controllerblueprints.common.api.EventType.valueOf(EventType.java:9)
at org.onap.ccsdk.cds.blueprintsprocessor.selfservice.api.utils.BluePrintMappingsKt.toProto(BluePrintMappings.kt:101)
at org.onap.ccsdk.cds.blueprintsprocessor.selfservice.api.utils.BluePrintMappingsKt.toProto(BluePrintMappings.kt:121)
at org.onap.ccsdk.cds.blueprintsprocessor.selfservice.api.ExecutionServiceHandler$process$2.invokeSuspend(ExecutionServiceHandler.kt:50)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:594)
at kotlinx.coroutines.scheduling.CoroutineScheduler.access$runSafely(CoroutineScheduler.kt:60)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:740)CDS needs to create the response of the workflow ouput, and can't find org.onap.ccsdk.cds.controllerblueprints.common.api.EventType, which corresponds to EVENT-COMPONENT-EXECUTED or FAILED or EXECUTING, etc ...
any idea what should be the correct import instead of org.onap.ccsdk.cds.controllerblueprints.common.api.EventType in ExecutionServiceHandler.kt ?