summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org
diff options
context:
space:
mode:
authorHarry Huang <huangxiangyu5@huawei.com>2020-03-05 16:06:16 +0800
committerHarry Huang <huangxiangyu5@huawei.com>2020-03-05 16:06:16 +0800
commit2ba6ce79d254f82d28655ba439fb4eb406c75cf1 (patch)
tree55fc2a001d8dda7d58f3727c3bbdb0f2a8b34173 /bpmn/so-bpmn-infrastructure-common/src/main/groovy/org
parent45d0ccb0ec4db9c7b023e90d021e852f61279a32 (diff)
Modify CreateSliceService
Issue-ID: SO-2368 Change-Id: I0752e74b9b32c78eb27cb90a8c5725e52f6ae38b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'bpmn/so-bpmn-infrastructure-common/src/main/groovy/org')
-rw-r--r--bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSliceService.groovy7
1 files changed, 0 insertions, 7 deletions
diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSliceService.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSliceService.groovy
index 7cc1a559c3..c3f36ef545 100644
--- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSliceService.groovy
+++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/CreateSliceService.groovy
@@ -273,7 +273,6 @@ public class CreateSliceService extends AbstractServiceTaskProcessor {
execution.setVariable("orchestrationTaskId", taskId)
logger.debug("BusinessKey: " + taskId)
String serviceInstanceId = execution.getVariable("serviceInstanceId")
- String operationId = execution.getVariable("operationId")
String serviceInstanceName = execution.getVariable("serviceInstanceName")
String taskName = "SliceServiceTask"
String taskStatus = "Planning"
@@ -286,17 +285,11 @@ public class CreateSliceService extends AbstractServiceTaskProcessor {
execution.setVariable("CSSOT_requestMethod", requestMethod)
Map<String, Object> serviceProfile = execution.getVariable("serviceProfile")
- Map<String, Object> sliceProfileTn = execution.getVariable("sliceProfileTn")
- Map<String, Object> sliceProfileCn = execution.getVariable("sliceProfileCn")
- Map<String, Object> sliceProfileAn = execution.getVariable("sliceProfileAn")
SliceTaskParams sliceTaskParams = new SliceTaskParams()
sliceTaskParams.setServiceId(serviceInstanceId)
sliceTaskParams.setServiceName(serviceInstanceName)
sliceTaskParams.setServiceProfile(serviceProfile)
- sliceTaskParams.setSliceProfileTn(sliceProfileTn)
- sliceTaskParams.setSliceProfileCn(sliceProfileCn)
- sliceTaskParams.setSliceProfileAn(sliceProfileAn)
execution.setVariable("sliceTaskParams", sliceTaskParams)
String paramJson = sliceTaskParams.convertToJson()