aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org
diff options
context:
space:
mode:
authorTal Gitelman <tg851x@intl.att.com>2018-05-15 19:52:07 +0300
committerTal Gitelman <tg851x@intl.att.com>2018-05-15 19:52:07 +0300
commitffb902f0f44d299533d663b6781f66b11adc4bfe (patch)
tree7f19630f7ca1214716b69e3e97720fc433bcbc42 /catalog-be/src/main/java/org
parent3d676aa56978df9bf39d51d50747b15d682332c1 (diff)
new unit tests for sdc-be
Change-Id: If35d53a165a008d9556d856c390fd30f9c7646ad Issue-ID: SDC-1333 Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'catalog-be/src/main/java/org')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceArtifactsMerge.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceArtifactsMerge.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceArtifactsMerge.java
index 5571bdca44..83f36adf62 100644
--- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceArtifactsMerge.java
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/merge/instance/ComponentInstanceArtifactsMerge.java
@@ -72,10 +72,14 @@ public class ComponentInstanceArtifactsMerge implements ComponentInstanceMergeIn
for (Map.Entry<String, ArtifactDefinition> currentArtifactDefinition : allFilteredArtifactsToAdd.entrySet()) {
Map<String, Object> jsonForUpdateArtifact = artifactsBusinessLogic.buildJsonForUpdateArtifact(
- currentArtifactDefinition.getValue().getUniqueId(), currentArtifactDefinition.getValue().getArtifactName(),
- currentArtifactDefinition.getValue().getArtifactType(), currentArtifactDefinition.getValue().getArtifactGroupType(),
- currentArtifactDefinition.getValue().getArtifactLabel(), currentArtifactDefinition.getValue().getArtifactDisplayName(),
- currentArtifactDefinition.getValue().getDescription(), currentArtifactDefinition.getValue().getPayloadData(),
+ currentArtifactDefinition.getValue().getUniqueId(),
+ currentArtifactDefinition.getValue().getArtifactName(),
+ currentArtifactDefinition.getValue().getArtifactType(),
+ currentArtifactDefinition.getValue().getArtifactGroupType(),
+ currentArtifactDefinition.getValue().getArtifactLabel(),
+ currentArtifactDefinition.getValue().getArtifactDisplayName(),
+ currentArtifactDefinition.getValue().getDescription(),
+ currentArtifactDefinition.getValue().getPayloadData(),
null, currentArtifactDefinition.getValue().getListHeatParameters());
addEsIdToArtifactJson(jsonForUpdateArtifact, currentArtifactDefinition.getValue().getEsId());
Either<Either<ArtifactDefinition, Operation>, ResponseFormat> uploadArtifactToService =