From 12f9c2e9cb3abad1dd3c2790d32958f0cb3ba46d Mon Sep 17 00:00:00 2001 From: Mei Su Date: Tue, 24 Jul 2018 15:01:37 -0400 Subject: 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 --- .../java/org/onap/appc/artifact/handler/dbservices/DBService.java | 4 ++-- 1 file 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 + " "; } } -- cgit 1.2.3-korg