Fix the service id modified 98/72998/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Sat, 17 Nov 2018 13:35:39 +0000 (19:05 +0530)
committerSeshu Kumar M <seshu.kumar.m@huawei.com>
Mon, 19 Nov 2018 03:49:17 +0000 (03:49 +0000)
Fix the service id modified.

Change-Id: I2fac23d85046e0741e5f3f775ca1230fd24707fe
Issue-ID: SO-689
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
(cherry picked from commit e6dc384b0e77f116c0afd77af55bd6c9dfdbf814)

bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateE2EServiceInstance.groovy

index 5b7d38d..194e7ff 100644 (file)
@@ -265,7 +265,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")