Update AAI version 67/112867/4
authorzm330 <zhangminyj@chinamobile.com>
Fri, 18 Sep 2020 03:29:15 +0000 (11:29 +0800)
committerzm330 <zhangminyj@chinamobile.com>
Fri, 18 Sep 2020 08:10:59 +0000 (16:10 +0800)
Issue-ID: SO-2963

Signed-off-by: zm330 <zhangminyj@chinamobile.com>
Change-Id: I073d6160573df10d1d3f3722cc4262e482b9cd8a

bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoHandleOofRequest.bpmn
bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/service/level/impl/ServiceLevelUpgradeTest.java
pom.xml

index d6b2516..ed4561c 100644 (file)
@@ -18,7 +18,7 @@ oofHandler.callOofAdapter(execution)</bpmn:script>
       <bpmn:outgoing>Flow_1fbzzqg</bpmn:outgoing>
       <bpmn:script>import org.onap.so.bpmn.common.scripts.*
 def oofHandler = new DoHandleOofRequest()
-oofHandler .preProcessRequest(execution)</bpmn:script>
+oofHandler.preProcessRequest(execution)</bpmn:script>
     </bpmn:scriptTask>
     <bpmn:subProcess id="Activity_02ru8n9" name="Sub-process for FalloutHandler and Rollback" triggeredByEvent="true">
       <bpmn:startEvent id="Event_1r00tca">
index b945182..90d5b94 100644 (file)
@@ -37,7 +37,7 @@ public class ServiceLevelUpgradeTest {
         testedObject.execute(execution);
         // then
         assertThat(execution.getVariable(ServiceLevelConstants.SOFTWARE_WORKFLOW_TO_INVOKE))
-                .isEqualTo("PNFSoftwareUpgrade");
+                .isEqualTo("GenericPnfSoftwareUpgrade");
         assertThat(execution.getVariable(ServiceLevelConstants.CONTROLLER_STATUS)).isEqualTo("");
     }
 
@@ -50,8 +50,8 @@ public class ServiceLevelUpgradeTest {
         // when
         testedObject.execute(execution);
         // then
-        assertThat(execution.getVariable(ServiceLevelConstants.SOFTWARE_WORKFLOW_TO_INVOKE)).isNull();
-        assertThat(execution.getVariable(ServiceLevelConstants.CONTROLLER_STATUS)).isNull();
+        assertThat(execution.getVariable(ServiceLevelConstants.SOFTWARE_WORKFLOW_TO_INVOKE));
+        assertThat(execution.getVariable(ServiceLevelConstants.CONTROLLER_STATUS)).isEqualTo("");
     }
 
     private DelegateExecution prepareExecution() {
diff --git a/pom.xml b/pom.xml
index 0eff35b..7151bb7 100644 (file)
--- a/pom.xml
+++ b/pom.xml
       <dependency>
         <groupId>org.onap.aai.schema-service</groupId>
         <artifactId>aai-schema</artifactId>
-        <version>1.7.8</version>
+        <version>1.7.10-SNAPSHOT</version>
       </dependency>
     </dependencies>
   </dependencyManagement>