From 2c8c818a1815758e14e88fe74b782c3e8be8ac4b Mon Sep 17 00:00:00 2001 From: Elena Kuleshov Date: Sat, 6 Apr 2019 01:11:12 -0400 Subject: Implement Traffic Distribution BBs Implement Traffic Distribution BBs Change-Id: I193a30a1f7bb353d0e3fbb1460ca5d9840bb5870 Issue-ID: SO-1553 Signed-off-by: Kuleshov, Elena --- .../java/org/onap/so/client/appc/ApplicationControllerAction.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bpmn/MSOCommonBPMN/src/main') 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 payload, String vnfName, String controllerType) throws JsonProcessingException, IllegalArgumentException,ApplicationControllerOrchestratorException{ if(!(payload.isPresent())){ -- cgit 1.2.3-korg