summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/resources
diff options
context:
space:
mode:
authoraribeiro <anderson.ribeiro@est.tech>2020-04-03 12:01:29 +0100
committerOfir Sonsino <ofir.sonsino@intl.att.com>2020-04-20 07:01:26 +0000
commit8429c539b48ce851f98e086f5a722c13ebcdc151 (patch)
tree259e6032556676583ad1b9783a0960513d3013c9 /catalog-be/src/main/resources
parent615de28561aeb843e4fc18a1859b68a8164b17a4 (diff)
Fix Tosca properties declaration
Remove duplicated entries Default value for Boolean type should not be a String According to the description for the keyname 'attachments:' it should be of type List rather than String Issue-ID: SDC-2870 Signed-off-by: aribeiro <anderson.ribeiro@est.tech> Change-Id: Iac2b4f89dac16a6aef9dcabea74def5cacff99a6
Diffstat (limited to 'catalog-be/src/main/resources')
-rw-r--r--catalog-be/src/main/resources/import/tosca/heat-types/Generic_VF/Generic_VF.yml4
-rw-r--r--catalog-be/src/main/resources/import/tosca/heat-types/cinderVolume/cinderVolume.yml2
-rw-r--r--catalog-be/src/main/resources/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml4
3 files changed, 4 insertions, 6 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_VF/Generic_VF.yml b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_VF/Generic_VF.yml
index 7eca3a8409..e0c4206d65 100644
--- a/catalog-be/src/main/resources/import/tosca/heat-types/Generic_VF/Generic_VF.yml
+++ b/catalog-be/src/main/resources/import/tosca/heat-types/Generic_VF/Generic_VF.yml
@@ -13,8 +13,7 @@ node_types:
type: string
nf_naming:
type: org.openecomp.datatypes.Naming
- Default: true
- availability_zone_max_count:
+ availability_zone_max_count:
type: integer
default: 1
constraints:
@@ -26,7 +25,6 @@ node_types:
multi_stage_design:
type: boolean
default: false
- type: string
sdnc_model_name:
type: string
sdnc_model_version:
diff --git a/catalog-be/src/main/resources/import/tosca/heat-types/cinderVolume/cinderVolume.yml b/catalog-be/src/main/resources/import/tosca/heat-types/cinderVolume/cinderVolume.yml
index ba8ee3c8f6..472db54b63 100644
--- a/catalog-be/src/main/resources/import/tosca/heat-types/cinderVolume/cinderVolume.yml
+++ b/catalog-be/src/main/resources/import/tosca/heat-types/cinderVolume/cinderVolume.yml
@@ -113,7 +113,7 @@ node_types:
status: supported
attachments:
description: The list of attachments of the volume
- type: string
+ type: list
status: supported
entry_schema:
type: string
diff --git a/catalog-be/src/main/resources/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml b/catalog-be/src/main/resources/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
index 51a8ce539e..12f9372e4f 100644
--- a/catalog-be/src/main/resources/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
+++ b/catalog-be/src/main/resources/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
@@ -90,7 +90,7 @@ node_types:
type: boolean
description: Identifies whether all the local networks associate with the tunnel or not.
required: false
- default: 'false'
+ default: false
site2_id:
type: string
description: Identifier of second DCI overlay tunnel endpoint. This could be IP address of domain controller.
@@ -132,7 +132,7 @@ node_types:
type: boolean
description: Identifies whether all the local networks associate with the tunnel or not.
required: false
- default: 'false'
+ default: false
requirements:
- virtualLink:
capability: tosca.capabilities.network.Linkable