From edbe401f90d9fd332a2ee18d84846c1360b62b36 Mon Sep 17 00:00:00 2001 From: "Tait,Trevor(rt0435)" Date: Thu, 7 Feb 2019 09:26:15 -0500 Subject: SDNCCtxBld creates service-name when not present The sdnc-context-builder is creating Service.Name in the ModelContext from ServiceEntity.serviceType in the SDNC response. This is incorrect and causing validation to fail. Issue-ID: LOG-917 Change-Id: I367280b76807140fb81e605b24bbe102b27632ef Signed-off-by: Tait,Trevor(rt0435) --- .../java/org/onap/pomba/contextbuilder/sdnc/handlers/VnfApiHandler.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/org/onap/pomba/contextbuilder/sdnc/handlers/VnfApiHandler.java b/src/main/java/org/onap/pomba/contextbuilder/sdnc/handlers/VnfApiHandler.java index c7d3971..2aeba1a 100644 --- a/src/main/java/org/onap/pomba/contextbuilder/sdnc/handlers/VnfApiHandler.java +++ b/src/main/java/org/onap/pomba/contextbuilder/sdnc/handlers/VnfApiHandler.java @@ -75,7 +75,6 @@ public class VnfApiHandler { Service service = new Service(); ServiceEntity serviceEntity = (ServiceEntity)exchange.getIn().getBody(); service.setUuid(serviceEntity.getServiceInstanceId()); - service.setName( serviceEntity.getServiceType() + " service instance"); // GET the list of VNF related-to links from AAI String url= aaiBaseUrl+generateServiceInstanceURL(aaiServiceInstancePath, serviceEntity.getCustomerId(), serviceEntity.getServiceType(), serviceEntity.getServiceInstanceId()); -- cgit 1.2.3-korg