summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources/import
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2021-03-30 09:41:24 +0100
committerChristophe Closset <christophe.closset@intl.att.com>2021-04-09 06:47:10 +0000
commit597e80af47aeec1d8306f23d32b8c114192f94d8 (patch)
tree6827129cb14eaa4c488e61e2bd50e6e760ab4280 /catalog-be/src/main/resources/import
parent6d65fde29c1859a7099d91ed0e8911bcb1823a38 (diff)
Set default value for ETSI version
Sets the default value for ETSI version and updates code to use the default value for any mandatory category specific metdata with null values. Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-3548 Change-Id: I445443d1de9447945fb0dd8babd3fcebd8e8ed7d
Diffstat (limited to 'catalog-be/src/main/resources/import')
-rw-r--r--catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml3
1 files changed, 2 insertions, 1 deletions
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 022bc00412..29b8585b3d 100644
--- a/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml
@@ -27,6 +27,7 @@ services:
etsiVersion:
name: "ETSI Version"
validValues: [ '3.3.1', '2.7.1', '2.5.1' ]
+ default: '2.5.1'
mandatory: true
resources:
NetworkLayer23:
@@ -175,4 +176,4 @@ resources:
icons: ['contrail_route']
SecurityZone:
name: "Security Zone"
- icons: ['security_zone'] \ No newline at end of file
+ icons: ['security_zone']