summaryrefslogtreecommitdiffstats
path: root/common-be/src/main/java/org/openecomp
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2021-07-16 09:05:12 +0100
committerAnderson Ribeiro <anderson.ribeiro@est.tech>2021-08-04 15:39:41 +0000
commit50619616a9bd803bb9bb820fe83d999f26ba3f34 (patch)
treedd66b8adc10e0fc83b309ac76ed1288c1cdf1239 /common-be/src/main/java/org/openecomp
parent4959218f8ced87d458151d14a38891b1fdc70c7d (diff)
Import VSP top. template handling non SDC model
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3649 Change-Id: I2e2004187f5694f92d65b73139436fc990e7a6af
Diffstat (limited to 'common-be/src/main/java/org/openecomp')
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java5
-rw-r--r--common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java6
2 files changed, 9 insertions, 2 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java
index 3345c95946..a1dda0092c 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/CapabilityDataDefinition.java
@@ -40,7 +40,9 @@ public class CapabilityDataDefinition extends ToscaDataDefinition {
@Getter
@Setter
private boolean external = false;
-
+ @Getter
+ @Setter
+ private String externalName;
/**
* The default constructor initializing limits of the occurrences
*/
@@ -91,6 +93,7 @@ public class CapabilityDataDefinition extends ToscaDataDefinition {
this.setSource(other.getSource());
this.setOwnerType(other.getOwnerType());
this.setExternal(other.isExternal());
+ this.setExternalName(other.getExternalName());
}
public CapabilityDataDefinition(CapabilityTypeDataDefinition other) {
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java
index 4b7b6aa413..a7746fb22b 100644
--- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java
+++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/RequirementDataDefinition.java
@@ -44,7 +44,10 @@ public class RequirementDataDefinition extends ToscaDataDefinition {
@Getter
@Setter
- public boolean external = false;
+ private boolean external = false;
+ @Getter
+ @Setter
+ private String externalName;
/**
* The default constructor initializing limits of the occurrences
@@ -80,6 +83,7 @@ public class RequirementDataDefinition extends ToscaDataDefinition {
}
this.setSource(other.getSource());
this.setExternal(other.isExternal());
+ this.setExternalName(other.getExternalName());
}
/**