diff options
author | Kanagaraj Manickam <kanagaraj.manickam@huawei.com> | 2017-09-11 10:50:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-11 10:50:36 +0000 |
commit | 768078d72d2ddefd7db35f269584b6ca38cc5414 (patch) | |
tree | 4744c3bad1c8095d1e6d4005f597a360109a5acb /framework/src | |
parent | df53002120bca73d475c38862586296db3526444 (diff) | |
parent | 41a44c9fb2d1afa3959ed7efdd1dccf4fcbed849 (diff) |
Merge changes Ic38bf4d4,Ife8e618b,I99e0cf1e,I696e4e14,Idc93bd06, ...
* changes:
Migrate MSB commands to onap-1.1 version
Add service context in set and unset
Fix to consider 404 for delete success code
Add ESR SDNC commands
Add ESR VNFM commands
Add ESR EMS commands
Add ESR VIM commands
Diffstat (limited to 'framework/src')
-rw-r--r-- | framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java index ec735cfb..d850199d 100644 --- a/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java +++ b/framework/src/main/java/org/onap/cli/fw/utils/OnapCommandUtils.java @@ -988,7 +988,9 @@ public class OnapCommandUtils { for (Object successCode : requestSuccessCodes) { Integer code = (Integer) successCode; if (code < 200 || code >= 300) { - errorList.add(HTTP_SUCCESS_CODE_INVALID); + if ( code != 404) { + errorList.add(HTTP_SUCCESS_CODE_INVALID); + } } } |