summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanisha07 <cmanis10@in.ibm.com>2019-11-06 16:19:43 +0530
committermanisha07 <cmanis10@in.ibm.com>2019-11-06 16:19:58 +0530
commitb00efa60d016dc80e56bc47259ff2a324aa7db52 (patch)
tree8c0304c9e705850fbbcf461eeda85b59e6df376f
parentb0ea96ed0edd3436e2a9de33ce8340279982d445 (diff)
no need to call toString
Issue-ID: OPTFRA-631 Change-Id: I2073a2b350523ffa2fce85d5298ac60cd3ab00fb Signed-off-by: manisha07 <cmanis10@in.ibm.com>
-rw-r--r--cmso-robot/.gitignore3
-rw-r--r--cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java4
2 files changed, 4 insertions, 3 deletions
diff --git a/cmso-robot/.gitignore b/cmso-robot/.gitignore
index 44bdbba..cd46865 100644
--- a/cmso-robot/.gitignore
+++ b/cmso-robot/.gitignore
@@ -5,4 +5,5 @@
*.pyc
/libspecs/
/geckodriver.log
-/robot/library/ \ No newline at end of file
+/robot/library/
+/bin/
diff --git a/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java b/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java
index ac1569c..0d4f464 100644
--- a/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java
+++ b/cmso-ticketmgt/src/main/java/org/onap/optf/ticketmgt/filters/CmsoClientFilters.java
@@ -59,7 +59,7 @@ public class CmsoClientFilters implements ClientRequestFilter, ClientResponseFil
Mdc.metricEnd(responseContext);
Mdc.setCaller(17);
Observation.report(LogMessages.OUTGOING_MESSAGE_RETURNED, requestContext.getMethod(),
- requestContext.getUri().getPath().toString(), responseContext.getStatusInfo().toString());
+ requestContext.getUri().getPath(), responseContext.getStatusInfo().toString());
}
@Override
@@ -68,7 +68,7 @@ public class CmsoClientFilters implements ClientRequestFilter, ClientResponseFil
Mdc.metricStart(requestContext);
Mdc.setCaller(17);
Observation.report(LogMessages.OUTGOING_MESSAGE, requestContext.getMethod(),
- requestContext.getUri().getPath().toString());
+ requestContext.getUri().getPath());
MultivaluedMap<String, Object> headers = requestContext.getHeaders();
String transactionId = (String) headers.getFirst(MessageHeaders.HeadersEnum.TransactionID.toString());