Merge "Fix the service id modified" into casablanca
authorSeshu Kumar M <seshu.kumar.m@huawei.com>
Mon, 19 Nov 2018 03:48:18 +0000 (03:48 +0000)
committerGerrit Code Review <gerrit@onap.org>
Mon, 19 Nov 2018 03:48:18 +0000 (03:48 +0000)
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy

index 4004951..c987b06 100644 (file)
@@ -264,7 +264,7 @@ public class DoCreateE2EServiceInstance extends AbstractServiceTaskProcessor {
        public void createServiceInstance(DelegateExecution execution) {
                msoLogger.trace("createServiceInstance ")
                String msg = ""
-               String serviceInstanceId = UUID.randomUUID().toString()
+               String serviceInstanceId = execution.getVariable("serviceInstanceId")
                try {
                        org.onap.aai.domain.yang.ServiceInstance si = execution.getVariable("serviceInstanceData")