summaryrefslogtreecommitdiffstats
path: root/appc-inbound/appc-artifact-handler/provider/src/main/java/org
diff options
context:
space:
mode:
authorMei Su <ms6523@att.com>2018-07-24 15:01:37 -0400
committerPatrick Brady <pb071s@att.com>2018-07-24 20:37:05 +0000
commit12f9c2e9cb3abad1dd3c2790d32958f0cb3ba46d (patch)
tree0de03f1b29c080dc784f7bf5c6f45309d48dd7b1 /appc-inbound/appc-artifact-handler/provider/src/main/java/org
parent1f726005765299ffa1552a857dc1b5aaeedcfbad (diff)
Fix query statements in DBService
Fix query statements related to url in DBService Issue-ID: APPC-1107 Change-Id: I2f8e2bc77c04a4b96160af00bdc9d3debe4395c3 Signed-off-by: Mei Su <ms6523@att.com>
Diffstat (limited to 'appc-inbound/appc-artifact-handler/provider/src/main/java/org')
-rw-r--r--appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/dbservices/DBService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/dbservices/DBService.java b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/dbservices/DBService.java
index 873c45006..308ecf476 100644
--- a/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/dbservices/DBService.java
+++ b/appc-inbound/appc-artifact-handler/provider/src/main/java/org/onap/appc/artifact/handler/dbservices/DBService.java
@@ -379,7 +379,7 @@ public class DBService {
if (StringUtils.isBlank(url)) {
url = "" ;
}
- key = key + ", URL = $" + SdcArtifactHandlerConstants.USER_NAME + "";
+ key = key + ", URL = $" + SdcArtifactHandlerConstants.URL + " ";
}
key = key + WHERE_VNF_TYPE_QUERY_STR + SdcArtifactHandlerConstants.VNF_TYPE + " AND PROTOCOL = $"
+ SdcArtifactHandlerConstants.DEVICE_PROTOCOL + " AND ACTION = $"
@@ -391,7 +391,7 @@ public class DBService {
if (StringUtils.isBlank(url)) {
url = "";
}
- key = key + ", URL = $" + SdcArtifactHandlerConstants.USER_NAME + "";
+ key = key + ", URL = $" + SdcArtifactHandlerConstants.URL + " ";
}
}