From a65d2595848132a3241889ca3843b2308f9d0862 Mon Sep 17 00:00:00 2001 From: zm330 Date: Fri, 18 Sep 2020 11:29:15 +0800 Subject: Update AAI version Issue-ID: SO-2963 Signed-off-by: zm330 Change-Id: I073d6160573df10d1d3f3722cc4262e482b9cd8a --- .../src/main/resources/subprocess/DoHandleOofRequest.bpmn | 2 +- .../infrastructure/service/level/impl/ServiceLevelUpgradeTest.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bpmn') diff --git a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoHandleOofRequest.bpmn b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoHandleOofRequest.bpmn index d6b251649f..ed4561c757 100644 --- a/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoHandleOofRequest.bpmn +++ b/bpmn/so-bpmn-infrastructure-flows/src/main/resources/subprocess/DoHandleOofRequest.bpmn @@ -18,7 +18,7 @@ oofHandler.callOofAdapter(execution) Flow_1fbzzqg import org.onap.so.bpmn.common.scripts.* def oofHandler = new DoHandleOofRequest() -oofHandler .preProcessRequest(execution) +oofHandler.preProcessRequest(execution) diff --git a/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/service/level/impl/ServiceLevelUpgradeTest.java b/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/service/level/impl/ServiceLevelUpgradeTest.java index b94518282c..90d5b94875 100644 --- a/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/service/level/impl/ServiceLevelUpgradeTest.java +++ b/bpmn/so-bpmn-tasks/src/test/java/org/onap/so/bpmn/infrastructure/service/level/impl/ServiceLevelUpgradeTest.java @@ -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() { -- cgit 1.2.3-korg