From 1a40b2d2ec54d343573e757396ea7f6bbc62e51b Mon Sep 17 00:00:00 2001 From: "Bonkur, Venkat" Date: Tue, 30 Jun 2020 18:06:47 -0400 Subject: correct the query element correct the query element Issue-ID: SO-3010 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Iadf496858a7ee3fd9f7ceddb0637b726da1a1c80 --- .../java/org/onap/so/apihandlerinfra/infra/rest/AAIDataRetrieval.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/AAIDataRetrieval.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/AAIDataRetrieval.java index fc0048bacf..70de94a3ef 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/AAIDataRetrieval.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/infra/rest/AAIDataRetrieval.java @@ -148,7 +148,7 @@ public class AAIDataRetrieval { } public List getLinterfacesOfVnf(String vnfId) { - DSLStartNode startNode = new DSLStartNode(AAIObjectType.GENERIC_VNF, __.key("generic-vnf-id", vnfId)); + DSLStartNode startNode = new DSLStartNode(AAIObjectType.GENERIC_VNF, __.key("vnf-id", vnfId)); DSLQueryBuilder builder = TraversalBuilder.fragment(startNode) .to(__.node(AAIObjectType.VSERVER).to(__.node(AAIObjectType.L_INTERFACE).output())); List linterfaces = -- cgit 1.2.3-korg