summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/java
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-02-23 13:24:47 +0200
committerIttay Stern <ittay.stern@att.com>2020-02-23 13:24:47 +0200
commit23716ef5c8d80455399fb9239449e09e34d609f3 (patch)
treef1002f3099453e8790c605d2ded0edbb66cf1f40 /vid-app-common/src/main/java
parent3bfa1d957d77f9e40c47e654a629e73bd77fdfcd (diff)
Topology tree: test fetchCustomizationIdsFromToscaModelsWhileNeeded
Issue-ID: VID-771 Change-Id: I5c1bf1f4eba8b5f53702ae2192b8ac9a962f1344 Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-app-common/src/main/java')
-rw-r--r--vid-app-common/src/main/java/org/onap/vid/services/AAITreeNodesEnricher.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/services/AAITreeNodesEnricher.java b/vid-app-common/src/main/java/org/onap/vid/services/AAITreeNodesEnricher.java
index 97bc42368..5956eac20 100644
--- a/vid-app-common/src/main/java/org/onap/vid/services/AAITreeNodesEnricher.java
+++ b/vid-app-common/src/main/java/org/onap/vid/services/AAITreeNodesEnricher.java
@@ -130,8 +130,10 @@ public class AAITreeNodesEnricher {
* @param modelVersions Iterable of model-version-ids to load
* @param yieldCustomizationId The key to stop loading on
*/
- private void fetchCustomizationIdsFromToscaModelsWhileNeeded(
- Map<String, Names> inOutMutableNamesByCustomizationId, ListIterator<ModelVer> modelVersions, String yieldCustomizationId
+ void fetchCustomizationIdsFromToscaModelsWhileNeeded(
+ Map<String, Names> inOutMutableNamesByCustomizationId,
+ ListIterator<ModelVer> modelVersions,
+ String yieldCustomizationId
) {
while (modelVersions.hasNext() && !inOutMutableNamesByCustomizationId.containsKey(yieldCustomizationId)) {
inOutMutableNamesByCustomizationId.putAll(