diff options
Diffstat (limited to 'catalog-be')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CategoriesImportManager.java | 1 | ||||
-rw-r--r-- | catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CategoriesImportManager.java b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CategoriesImportManager.java index 35502aa573..2b8b8df7ec 100644 --- a/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CategoriesImportManager.java +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/components/impl/CategoriesImportManager.java @@ -252,6 +252,7 @@ public class CategoriesImportManager { MetadataKeyDataDefinition metadataKeyDef = new MetadataKeyDataDefinition(); String metadataKeyName = (String) metadataKeyInfo.get(MetadataKeyEnum.NAME.getName()); metadataKeyDef.setName(metadataKeyName); + metadataKeyDef.setDisplayName((String) metadataKeyInfo.get(MetadataKeyEnum.DISPLAY_NAME.getName())); final Object mandatoryProperty = metadataKeyInfo.get(MetadataKeyEnum.MANDATORY.getName()); final boolean mandatory = mandatoryProperty == null ? false : (Boolean) mandatoryProperty; metadataKeyDef.setMandatory(mandatory); diff --git a/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml b/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml index a013264bd8..7889af069d 100644 --- a/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml +++ b/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml @@ -47,6 +47,7 @@ services: metadataKeys: etsiVersion: name: "ETSI Version" + displayName: "ETSI Version" validValues: [ '3.3.1', '2.7.1', '2.5.1' ] default: '2.5.1' mandatory: true |