diff options
author | vasraz <vasyl.razinkov@est.tech> | 2022-05-31 18:31:59 +0100 |
---|---|---|
committer | Vasyl Razinkov <vasyl.razinkov@est.tech> | 2022-06-03 11:09:32 +0000 |
commit | ff317808f308af03321de0f0b0849cd9f6f8ccad (patch) | |
tree | 71dd9b6d55ecc7650332ebd99c9d6682e6a0c094 /common-be/src/main/java/org/openecomp | |
parent | a2313b70009cae09db66ccc7b542ec4679e6a23a (diff) |
Maintain VFC UI added interface operations after an upgrade
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech>
Change-Id: I908a4480a8929f9aeeabf4f5c14049cade6ae22b
Issue-ID: SDC-4018
Diffstat (limited to 'common-be/src/main/java/org/openecomp')
-rw-r--r-- | common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java index b8237d3678..97730fbc4b 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/elements/InterfaceDataDefinition.java @@ -20,6 +20,8 @@ package org.openecomp.sdc.be.datatypes.elements; import com.fasterxml.jackson.annotation.JsonCreator; +import lombok.Getter; +import lombok.Setter; import org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields; import org.openecomp.sdc.be.datatypes.tosca.ToscaDataDefinition; @@ -30,7 +32,9 @@ import java.util.Map; import static org.openecomp.sdc.be.datatypes.enums.JsonPresentationFields.TOSCA_RESOURCE_NAME; public class InterfaceDataDefinition extends ToscaDataDefinition implements Serializable { - + @Getter + @Setter + private boolean userCreated; public InterfaceDataDefinition(String type, String description) { this(); setType(type); @@ -50,6 +54,7 @@ public class InterfaceDataDefinition extends ToscaDataDefinition implements Seri setToscaResourceName(interfaceDataDefinition.getToscaResourceName()); setOperations(interfaceDataDefinition.getOperations()); setInputs(interfaceDataDefinition.getInputs()); + setUserCreated(interfaceDataDefinition.isUserCreated()); } public String getUniqueId() { |