diff options
Diffstat (limited to 'common-be')
3 files changed, 3 insertions, 7 deletions
diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinition.java index 76768811f0..a0867c1df8 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/CategoryDataDefinition.java @@ -42,6 +42,7 @@ public class CategoryDataDefinition extends ToscaDataDefinition { private List<String> icons; private boolean useServiceSubstitutionForNestedServices = false; private List<MetadataKeyDataDefinition> metadataKeys; + private List<String> notApplicableMetadataKeys; public CategoryDataDefinition(CategoryDataDefinition c) { this.name = c.name; @@ -52,5 +53,6 @@ public class CategoryDataDefinition extends ToscaDataDefinition { this.icons = c.icons; this.useServiceSubstitutionForNestedServices = c.useServiceSubstitutionForNestedServices; this.metadataKeys = c.metadataKeys; + this.notApplicableMetadataKeys = c.notApplicableMetadataKeys; } } diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/MetadataKeyDataDefinition.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/MetadataKeyDataDefinition.java index ebddb6d5b6..bc29ef0a4c 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/MetadataKeyDataDefinition.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/category/MetadataKeyDataDefinition.java @@ -39,11 +39,4 @@ public class MetadataKeyDataDefinition extends ToscaDataDefinition { private boolean mandatory; private String defaultValue; - public MetadataKeyDataDefinition(MetadataKeyDataDefinition metadataKeyDataDefinition) { - this.name = metadataKeyDataDefinition.name; - this.displayName = metadataKeyDataDefinition.displayName; - this.validValues = metadataKeyDataDefinition.validValues; - this.mandatory = metadataKeyDataDefinition.mandatory; - this.defaultValue = metadataKeyDataDefinition.defaultValue; - } } diff --git a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/GraphPropertyEnum.java b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/GraphPropertyEnum.java index 311fac4e74..5376c92549 100644 --- a/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/GraphPropertyEnum.java +++ b/common-be/src/main/java/org/openecomp/sdc/be/datatypes/enums/GraphPropertyEnum.java @@ -56,6 +56,7 @@ public enum GraphPropertyEnum { ICONS( "icons", String.class, false, false), METADATA_KEYS( "metadataKeys", String.class, false, false), USE_SUBSTITUTION_FOR_NESTED_SERVICES("useServiceSubstitutionForNestedServices",Boolean.class,false,false), + NOT_APPLICABLE_METADATA_KEYS("notApplicableMetadataKeys",String.class,false,false), DATA_TYPES( "data_types", Map.class, false, false), //Archive/Restore IS_ARCHIVED( "isArchived", Boolean.class, false, true), |