diff options
author | vidhyasree <sn141y@att.com> | 2018-03-05 16:34:20 -0500 |
---|---|---|
committer | Takamune Cho <tc012c@att.com> | 2018-03-06 16:59:34 +0000 |
commit | acfd4be5acaffe60fbfc91a69fc17e2c5439af8b (patch) | |
tree | 92312faae89d8941f720a512d2410226ba4a2393 /appc-provider/appc-provider-bundle/src/main | |
parent | 88b8adc6bfe201f338425ee27c0922a6da4765b1 (diff) |
Adding ConfigScaleOut To APP-C Client Library
Updating the client library for new action configscaleout
based on the updated LCM API Yang model
Issue-ID: APPC-478
Change-Id: Ic32f433658be5442e1a5d238a317de85e54fb425
Signed-off-by: vidhyasree <sn141y@att.com>
Diffstat (limited to 'appc-provider/appc-provider-bundle/src/main')
-rw-r--r-- | appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/service/ConfigScaleOutService.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/service/ConfigScaleOutService.java b/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/service/ConfigScaleOutService.java index c7310839d..86699e6ba 100644 --- a/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/service/ConfigScaleOutService.java +++ b/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/lcm/service/ConfigScaleOutService.java @@ -69,10 +69,11 @@ public class ConfigScaleOutService extends AbstractBaseService { // validate payload String keyName = "payload"; - if (payload == null) { - status = buildStatusForParamName(LCMCommandStatus.MISSING_MANDATORY_PARAMETER, keyName); - return; - } +// if (payload == null) { +// status = buildStatusForParamName(LCMCommandStatus.MISSING_MANDATORY_PARAMETER, keyName); +// return; +// } + if (payload !=null) { String payloadString = payload.getValue(); status = validateMustHaveParamValue( payloadString == null ? payloadString : payloadString.trim(), "payload"); @@ -88,6 +89,7 @@ public class ConfigScaleOutService extends AbstractBaseService { status = buildStatusForErrorMsg(LCMCommandStatus.UNEXPECTED_ERROR, e.getMessage()); } } + } void proceedAction(CommonHeader commonHeader, ActionIdentifiers actionIdentifiers, |