Fix issue in mso-api-handler-infra 22/94322/1
authorParshad Patel <pars.patel@samsung.com>
Tue, 27 Aug 2019 05:29:12 +0000 (14:29 +0900)
committerParshad Patel <pars.patel@samsung.com>
Tue, 27 Aug 2019 05:29:21 +0000 (14:29 +0900)
commitc1c9cc614de08b728d173a56c8c460814c18616e
tree0e40c698e832ca0db63e4991467dc84584bc3b32
parent6e3d7ef904de93d7d6b8ae4f043fa200ce802453
Fix issue in mso-api-handler-infra

Either log or rethrow this exception
Define a constant instead of duplicating this literal
Immediately throw this expression instead of assigning it to the temporary variable
Remove the declaration of thrown exception 'org.json.JSONException' which is a runtime exception

Issue-ID: SO-1841
Change-Id: I193f21ec2c4214863c8b51faf25fc3561d6be818
Signed-off-by: Parshad Patel <pars.patel@samsung.com>
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/handler/AbstractRestHandler.java
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/tenantisolation/TenantIsolationRequest.java
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/tenantisolation/helpers/SDCClientHelper.java
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/tenantisolation/process/ActivateVnfStatusOperationalEnvironment.java