diff options
author | 2018-03-26 16:37:03 +0200 | |
---|---|---|
committer | 2018-03-26 21:03:33 +0000 | |
commit | fab5309565a52653a60b52f4561696e953eabf9e (patch) | |
tree | 2f0975ec507f4fd0e6b67664b8c7619ea5cd7b79 /appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main | |
parent | 152f0bde91a69c33bc4dba873f5c2a4789655c71 (diff) |
ChefAdapterImpl junits
-Add new JUnits to ChefAdapterImplVNFCOperationsTest
-remove unused JSONException catch clause from ChefAdapterImpl,
when there is no jackson lib used
Change-Id: I96b8d6155ca13087b697a19e1fcbba2ee82a8291
Issue-ID: APPC-437
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
Diffstat (limited to 'appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main')
-rw-r--r-- | appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java index 28facf3df..d26c85c44 100644 --- a/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java +++ b/appc-adapters/appc-chef-adapter/appc-chef-adapter-bundle/src/main/java/org/onap/appc/adapter/chef/impl/ChefAdapterImpl.java @@ -247,10 +247,6 @@ public class ChefAdapterImpl implements ChefAdapter { } else { throw new SvcLogicException("Missing Mandatory param(s) NodeList "); } - } catch (JSONException e) { - code = 401; - logger.error(POSTING_REQUEST_JSON_ERROR_STR, e); - doFailure(ctx, code, POSTING_REQUEST_JSON_ERROR_STR + e.getMessage()); } catch (Exception e) { code = 401; logger.error(POSTING_REQUEST_ERROR_STR, e); |