From 09f9fde4bace9c20ff631cfd48073102f2c439f5 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max" Date: Thu, 12 Nov 2020 13:40:08 -0500 Subject: do not retrieve relationship-list for platform do not retrieve relationship-list for platform Issue-ID: SO-3380 Signed-off-by: Benjamin, Max (mb388a) Change-Id: I3897b799b71f626163e07b9aaeabde52b73c653b --- .../java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bpmn/MSOCommonBPMN') diff --git a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java index 8923051f84..3f78152a49 100644 --- a/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java +++ b/bpmn/MSOCommonBPMN/src/main/java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java @@ -1928,7 +1928,7 @@ public class BBInputSetup implements JavaDelegate { Optional relationshipsOp = aaiGenericVnfWrapper.getRelationships(); if (relationshipsOp.isPresent()) { Relationships relationships = relationshipsOp.get(); - this.mapPlatform(relationships.getByType(Types.PLATFORM), genericVnf); + this.mapPlatform(relationships.getByType(Types.PLATFORM, uri -> uri.nodesOnly(true)), genericVnf); this.mapLineOfBusiness(relationships.getByType(Types.LINE_OF_BUSINESS), genericVnf); genericVnf.getVolumeGroups().addAll(mapVolumeGroups(relationships.getByType(Types.VOLUME_GROUP))); genericVnf.getInstanceGroups().addAll(mapInstanceGroups(relationships.getByType(Types.INSTANCE_GROUP))); -- cgit 1.2.3-korg