Fix the service id modified 70/72970/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Sat, 17 Nov 2018 13:35:39 +0000 (19:05 +0530)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Sat, 17 Nov 2018 13:35:39 +0000 (19:05 +0530)
Fix the service id modified.

Change-Id: I2fac23d85046e0741e5f3f775ca1230fd24707fe
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
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")