summaryrefslogtreecommitdiffstats
path: root/aai-service/provider/src
diff options
context:
space:
mode:
authorSandeep J <sandeejh@in.ibm.com>2019-01-09 11:43:10 +0530
committerSandeep J <sandeejh@in.ibm.com>2019-01-09 11:43:19 +0530
commit38676cfab85a2d0a60a660f6f86ade028d118977 (patch)
treef27771e92d893b98c5883530b0304446e10588a3 /aai-service/provider/src
parent75da5d3681c44326e4766ce9e3a110f11ee108d4 (diff)
fixed sonar issues in GenericQueryRequest.java
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Id3fa1cb63c7a5995f9c0f4705ba7efc2b445bd9d Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
Diffstat (limited to 'aai-service/provider/src')
-rw-r--r--aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericQueryRequest.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericQueryRequest.java b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericQueryRequest.java
index 515359602..35f190e52 100644
--- a/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericQueryRequest.java
+++ b/aai-service/provider/src/main/java/org/onap/ccsdk/sli/adaptors/aai/GenericQueryRequest.java
@@ -5,6 +5,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
@@ -104,19 +106,19 @@ public class GenericQueryRequest extends AAIRequest {
String encoded_vnf = encodeQuery(requestProperties.getProperty(key));
request_url = request_url.replace("{identifier}", encoded_vnf) ;
- aaiService.LOGwriteDateTrace("identifier", requestProperties.getProperty(key));
+ aaiService.LOGwriteDateTrace(IDENTIFIER, requestProperties.getProperty(key));
key = VALUE;
encoded_vnf = encodeQuery(requestProperties.getProperty(key));
request_url = request_url.replace("{value}", encoded_vnf) ;
- aaiService.LOGwriteDateTrace("value", requestProperties.getProperty(key));
+ aaiService.LOGwriteDateTrace(VALUE, requestProperties.getProperty(key));
key = START_NODE_TYPE;
encoded_vnf = encodeQuery(requestProperties.getProperty(key));
request_url = request_url.replace("{start-node-type}", encoded_vnf) ;
- aaiService.LOGwriteDateTrace("start-node-type", requestProperties.getProperty(key));
+ aaiService.LOGwriteDateTrace(START_NODE_TYPE, requestProperties.getProperty(key));
return request_url;
}