From 8129d57ff086549a88442802514bb2930754b134 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max (mb388a)" Date: Mon, 1 Feb 2021 17:30:29 -0500 Subject: updated line of business query to use nodes only updated line of business query to use nodes only Issue-ID: SO-3510 Signed-off-by: Benjamin, Max (mb388a) Change-Id: I8b43970795cf4dab6c9af48f3563857399761260 --- .../java/org/onap/so/bpmn/servicedecomposition/tasks/BBInputSetup.java | 3 ++- 1 file changed, 2 insertions(+), 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 d971689f94..7c283ab153 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 @@ -1936,7 +1936,8 @@ public class BBInputSetup implements JavaDelegate { if (relationshipsOp.isPresent()) { Relationships relationships = relationshipsOp.get(); this.mapPlatform(relationships.getByType(Types.PLATFORM, uri -> uri.nodesOnly(true)), genericVnf); - this.mapLineOfBusiness(relationships.getByType(Types.LINE_OF_BUSINESS), genericVnf); + this.mapLineOfBusiness(relationships.getByType(Types.LINE_OF_BUSINESS, uri -> uri.nodesOnly(true)), + genericVnf); genericVnf.getVolumeGroups().addAll(mapVolumeGroups(relationships.getByType(Types.VOLUME_GROUP))); genericVnf.getInstanceGroups().addAll(mapInstanceGroups(relationships.getByType(Types.INSTANCE_GROUP))); } -- cgit 1.2.3-korg