From 95e326f4f0cdfea2d77c7caf43cabc316ad80035 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Fri, 16 Nov 2018 12:29:14 -0500 Subject: Use new sdnc async subflow changed assign vnf sdnc to use the async subflow Change-Id: I481fec57c9b5ab6a628fc3df52ad7f005aa63f4c Issue-ID: SO-1226 Signed-off-by: Benjamin, Max (mb388a) --- .../subprocess/BuildingBlock/AssignVnfBB.bpmn | 100 ++++++++++++--------- .../bpmn/subprocess/AssignVnfBBTest.java | 4 +- 2 files changed, 61 insertions(+), 43 deletions(-) (limited to 'bpmn/so-bpmn-building-blocks/src') diff --git a/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/AssignVnfBB.bpmn b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/AssignVnfBB.bpmn index cf284e8ed9..0a067483ff 100644 --- a/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/AssignVnfBB.bpmn +++ b/bpmn/so-bpmn-building-blocks/src/main/resources/subprocess/BuildingBlock/AssignVnfBB.bpmn @@ -4,9 +4,9 @@ SequenceFlow_0zaz9o2 - - SequenceFlow_14mpqit - SequenceFlow_1ks8kmt + + SequenceFlow_1samncw + SequenceFlow_1qkhm79 SequenceFlow_0csh9dc @@ -16,10 +16,9 @@ SequenceFlow_1jwsja5 - - SequenceFlow_1ks8kmt + SequenceFlow_1vw20wu SequenceFlow_0csh9dc @@ -28,11 +27,9 @@ - - - + - + @@ -40,6 +37,7 @@ + SequenceFlow_1uiok7v SequenceFlow_0v8d14a @@ -65,8 +63,7 @@ - - + SequenceFlow_1nle8kc SequenceFlow_11jum90 SequenceFlow_1uiok7v @@ -74,8 +71,19 @@ SequenceFlow_11jum90 SequenceFlow_0v8d14a - SequenceFlow_14mpqit + SequenceFlow_1samncw + + + + + + SequenceFlow_1qkhm79 + SequenceFlow_1vw20wu + + + + @@ -90,9 +98,9 @@ - + - + @@ -105,22 +113,15 @@ - - - - - - - - - + + - + - + @@ -188,38 +189,31 @@ - + - + - + - + - + - - + + - - - - - - - - + - + @@ -228,6 +222,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/bpmn/so-bpmn-building-blocks/src/test/java/org/onap/so/bpmn/infrastructure/bpmn/subprocess/AssignVnfBBTest.java b/bpmn/so-bpmn-building-blocks/src/test/java/org/onap/so/bpmn/infrastructure/bpmn/subprocess/AssignVnfBBTest.java index 3fb8faa6c8..f675440ead 100644 --- a/bpmn/so-bpmn-building-blocks/src/test/java/org/onap/so/bpmn/infrastructure/bpmn/subprocess/AssignVnfBBTest.java +++ b/bpmn/so-bpmn-building-blocks/src/test/java/org/onap/so/bpmn/infrastructure/bpmn/subprocess/AssignVnfBBTest.java @@ -35,11 +35,11 @@ public class AssignVnfBBTest extends BaseBPMNTest { @Test public void sunnyDayAssignVnfBBTest() throws InterruptedException, IOException { variables.put("callHoming", true); - mockSubprocess("ReceiveWorkflowMessage", "Mocked ReceiveWorkflowMessage", "GenericStub"); + mockSubprocess("SDNCHandler", "My Mock Process Name", "GenericStub"); ProcessInstance pi = runtimeService.startProcessInstanceByKey("AssignVnfBB", variables); assertThat(pi).isNotNull(); assertThat(pi).isStarted().hasPassedInOrder("Start_AssignVnfBB", "Task_CreateVnf", "Task_createPlatform", "Task_createLineOfBusiness", "Task_createInstanceGroups", - "Task_callHoming", "Task_SDNCAdapterVnfTopologyAssign", "Task_UpdateVnfOrchestrationStatusAssigned", + "Task_callHoming", "Task_SDNCAdapterVnfTopologyAssign","CallActivity_sdncAssign", "Task_UpdateVnfOrchestrationStatusAssigned", "End_AssignVnfBB"); assertThat(pi).isEnded(); } -- cgit 1.2.3-korg