diff options
author | Elena Kuleshov <evn@att.com> | 2019-04-06 01:11:12 -0400 |
---|---|---|
committer | Elena Kuleshov <evn@att.com> | 2019-04-06 01:13:50 -0400 |
commit | 2c8c818a1815758e14e88fe74b782c3e8be8ac4b (patch) | |
tree | 574fdc0c5dfc8f7109e8364e168b8a0820b43add /bpmn/MSOCommonBPMN | |
parent | b2364f2a5d7e4c0543620792afdde129c4c56049 (diff) |
Implement Traffic Distribution BBs
Implement Traffic Distribution BBs
Change-Id: I193a30a1f7bb353d0e3fbb1460ca5d9840bb5870
Issue-ID: SO-1553
Signed-off-by: Kuleshov, Elena <evn@att.com>
Diffstat (limited to 'bpmn/MSOCommonBPMN')
-rw-r--r-- | bpmn/MSOCommonBPMN/pom.xml | 4 | ||||
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/appc/ApplicationControllerAction.java | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bpmn/MSOCommonBPMN/pom.xml b/bpmn/MSOCommonBPMN/pom.xml index 4da7ba5339..bd0e86496a 100644 --- a/bpmn/MSOCommonBPMN/pom.xml +++ b/bpmn/MSOCommonBPMN/pom.xml @@ -311,7 +311,7 @@ <dependency> <groupId>org.onap.appc.client</groupId> <artifactId>client-lib</artifactId> - <version>1.4.4</version> + <version>1.5.0-SNAPSHOT</version> <exclusions> <exclusion> <groupId>org.mockito</groupId> @@ -330,7 +330,7 @@ <dependency> <groupId>org.onap.appc.client</groupId> <artifactId>client-kit</artifactId> - <version>1.4.4</version> + <version>1.5.0-SNAPSHOT</version> <exclusions> <exclusion> <groupId>org.mockito</groupId> diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/appc/ApplicationControllerAction.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/appc/ApplicationControllerAction.java index 8fae2816b2..a15e044818 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/appc/ApplicationControllerAction.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/appc/ApplicationControllerAction.java @@ -90,6 +90,8 @@ public class ApplicationControllerAction { break; case ConfigModify: case ConfigScaleOut: + case DistributeTraffic: + case DistributeTrafficCheck: appCStatus = payloadAction(action, msoRequestId, vnfId, payload, controllerType); break; case UpgradePreCheck: @@ -135,7 +137,7 @@ public class ApplicationControllerAction { throw new IllegalArgumentException("Payload is not present for " + action.toString()); } return client.vnfCommand(action, msoRequestId, vnfId, Optional.empty(), payload, controllerType); - } + } private Status quiesceTrafficAction(String msoRequestId, String vnfId, Optional<String> payload, String vnfName, String controllerType) throws JsonProcessingException, IllegalArgumentException,ApplicationControllerOrchestratorException{ if(!(payload.isPresent())){ |