summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorTait,Trevor(rt0435) <rtait@amdocs.com>2019-02-07 09:26:15 -0500
committerTait,Trevor(rt0435) <rtait@amdocs.com>2019-02-07 09:26:39 -0500
commitedbe401f90d9fd332a2ee18d84846c1360b62b36 (patch)
treece1a07b131407124d3b308d71403d8631a13d5d0 /src/main
parent194ade66a442423398000b9c9f9fe312e3c7844b (diff)
SDNCCtxBld creates service-name when not present3.0.1-ONAP
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) <rtait@amdocs.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/pomba/contextbuilder/sdnc/handlers/VnfApiHandler.java1
1 files changed, 0 insertions, 1 deletions
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());