fixed sonar issue in CamundaClient.java 69/65069/2
authorSandeep J <sandeejh@in.ibm.com>
Thu, 6 Sep 2018 19:24:42 +0000 (00:54 +0530)
committerByung-Woo Jun <byung-woo.jun@ericsson.com>
Mon, 10 Sep 2018 02:21:29 +0000 (02:21 +0000)
fixed sonar issue as detailed in SO-993

Issue-ID: SO-993
Change-Id: I614cf8add2e056b18f1e4926b658b4ea716afd86
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
mso-api-handlers/mso-api-handler-common/src/main/java/org/onap/so/apihandler/common/CamundaClient.java

index 7feb1ae..e9062ef 100644 (file)
@@ -4,6 +4,8 @@
  * ================================================================================
  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
  * ================================================================================
+ * Modifications Copyright (C) 2018 IBM.
+ * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -110,7 +112,7 @@ public class CamundaClient extends RequestClient{
        public HttpResponse post(RequestClientParameter parameterObject)
                                        throws ClientProtocolException, IOException{
                HttpPost post = new HttpPost(url);
-               msoLogger.debug("Camunda url is: "+ url);
+               msoLogger.debug(CAMUNDA_URL_MESAGE+ url);
                String jsonReq = wrapVIDRequest(parameterObject.getRequestId(), parameterObject.isBaseVfModule(), parameterObject.getRecipeTimeout(), parameterObject.getRequestAction(),
                                parameterObject.getServiceInstanceId(), parameterObject.getCorrelationId(), parameterObject.getVnfId(), parameterObject.getVfModuleId(), parameterObject.getVolumeGroupId(), parameterObject.getNetworkId(), parameterObject.getConfigurationId(),
                                parameterObject.getServiceType(), parameterObject.getVnfType(), parameterObject.getVfModuleType(), parameterObject.getNetworkType(), parameterObject.getRequestDetails(), parameterObject.getApiVersion(), parameterObject.isaLaCarte(), parameterObject.getRequestUri(), parameterObject.getRecipeParamXsd());