diff options
author | Chuanyu Chen <chenchuanyu@huawei.com> | 2017-12-18 08:07:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-12-18 08:07:48 +0000 |
commit | 15933ade4f99b72e5c74bd60feac8b9383c02543 (patch) | |
tree | dfb5a4bfefab75ca3d6c447aadbfcab24ee1cfc8 /adapters/mso-workflow-message-adapter/src | |
parent | ec328042dba6acf13fedc43fb12d659bcca08075 (diff) | |
parent | d52d6366effdbbcb243c06c031fe9f324f16c4a9 (diff) |
Merge "Reduce complexity of HealthCheckUtils"v1.2.0
Diffstat (limited to 'adapters/mso-workflow-message-adapter/src')
-rw-r--r-- | adapters/mso-workflow-message-adapter/src/main/java/org/openecomp/mso/adapters/workflowmessage/WMAdapterRest.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/adapters/mso-workflow-message-adapter/src/main/java/org/openecomp/mso/adapters/workflowmessage/WMAdapterRest.java b/adapters/mso-workflow-message-adapter/src/main/java/org/openecomp/mso/adapters/workflowmessage/WMAdapterRest.java index dc94a78733..4be6b93d5c 100644 --- a/adapters/mso-workflow-message-adapter/src/main/java/org/openecomp/mso/adapters/workflowmessage/WMAdapterRest.java +++ b/adapters/mso-workflow-message-adapter/src/main/java/org/openecomp/mso/adapters/workflowmessage/WMAdapterRest.java @@ -30,8 +30,6 @@ import javax.ws.rs.HeaderParam; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; -import javax.ws.rs.core.Context; -import javax.ws.rs.core.HttpHeaders; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; @@ -62,7 +60,7 @@ public class WMAdapterRest { UUIDChecker.verifyOldUUID(requestId, LOGGER); HealthCheckUtils healthCheck = new HealthCheckUtils(); - if (!healthCheck.siteStatusCheck(LOGGER, startTime)) { + if (!healthCheck.siteStatusCheck(LOGGER)) { return HealthCheckUtils.HEALTH_CHECK_NOK_RESPONSE; } |