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/src/main/java/org/onap | |
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/src/main/java/org/onap')
-rw-r--r-- | bpmn/MSOCommonBPMN/src/main/java/org/onap/so/client/appc/ApplicationControllerAction.java | 4 |
1 files changed, 3 insertions, 1 deletions
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())){ |