summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java
diff options
context:
space:
mode:
authorKrupaNagabhushan <krupa.nagabhushan@est.tech>2022-08-15 15:23:47 +0100
committerMichael Morris <michael.morris@est.tech>2022-08-19 16:42:58 +0000
commit737a8e03b057584fce110ddb6f560dd60ce9bdf5 (patch)
tree32e94b9df6a745476ede7a3e10de517972ea9ded /catalog-model/src/test/java
parent1cb3596e003729d9fcbd2c5b3d426db6e575c7ce (diff)
Fix wrongly generated tosca implementation
Issue-ID: SDC-4130 Signed-off-by: KrupaNagabhushan <krupa.nagabhushan@est.tech> Change-Id: I23ea03fded3d82006b98b0d42be928ac38513276
Diffstat (limited to 'catalog-model/src/test/java')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/jsonjanusgraph/utils/ModelConverterTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsonjanusgraph/utils/ModelConverterTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsonjanusgraph/utils/ModelConverterTest.java
index 871a43016f..7ce77c2cb4 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsonjanusgraph/utils/ModelConverterTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/jsonjanusgraph/utils/ModelConverterTest.java
@@ -303,9 +303,7 @@ public class ModelConverterTest {
OperationUi operationUi = new OperationUi();
operationUi.setInterfaceType("tosca.interfaces.relationship.Configure");
operationUi.setOperationType("add_source");
- final ArtifactDataDefinition artifactDataDefinition = new ArtifactDataDefinition();
- artifactDataDefinition.setArtifactName("impl");
- operationUi.setImplementation(artifactDataDefinition);
+ operationUi.setImplementation("impl");
PropertyAssignmentUi propertyAssignmentUi = new PropertyAssignmentUi();
propertyAssignmentUi.setName("strInput1");
propertyAssignmentUi.setType(ToscaType.STRING.getType());