aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources
diff options
context:
space:
mode:
authorandre.schmid <andre.schmid@est.tech>2021-01-20 12:20:40 +0000
committerChristophe Closset <christophe.closset@intl.att.com>2021-01-25 13:49:59 +0000
commit87eec9a2ad04e1cbe1304f23071ac6d85bdd5503 (patch)
treef85a732f610fa83fe6e82c735c43aa6dc42f4800 /catalog-be/src/main/resources
parentc2db9023e1da5b41b02bff9e5e9396c9a4e2dde7 (diff)
Handle ETSI versions in NSD Plugin
The plugin now considers the ETSI version in the component metadata to generate the correct imports of nsd types, i.e., aligned with the provided version. Change-Id: I54aee04722a4434eac59ea8b70c4f30f5c81645e Issue-ID: SDC-3447 Signed-off-by: andre.schmid <andre.schmid@est.tech>
Diffstat (limited to 'catalog-be/src/main/resources')
-rw-r--r--catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml5
1 files changed, 5 insertions, 0 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 7e185c5d60..022bc00412 100644
--- a/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/categories/categoryTypes.yml
@@ -23,6 +23,11 @@ services:
ETSI_NFV_Network_Service:
name: "ETSI NFV Network Service"
icons: ['etsi_nfv_network_service']
+ metadataKeys:
+ etsiVersion:
+ name: "ETSI Version"
+ validValues: [ '3.3.1', '2.7.1', '2.5.1' ]
+ mandatory: true
resources:
NetworkLayer23:
name: "Network L2-3"