Fix Tosca properties declaration 49/105149/2
authoraribeiro <anderson.ribeiro@est.tech>
Fri, 3 Apr 2020 11:01:29 +0000 (12:01 +0100)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Mon, 20 Apr 2020 07:01:26 +0000 (07:01 +0000)
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

catalog-be/src/main/resources/import/tosca/heat-types/Generic_VF/Generic_VF.yml
catalog-be/src/main/resources/import/tosca/heat-types/cinderVolume/cinderVolume.yml
catalog-be/src/main/resources/import/tosca/nfv-types/overlayTunnel/overlayTunnel.yml
common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp-heat/nodes.yml
openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml

index 7eca3a8..e0c4206 100644 (file)
@@ -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:
index ba8ee3c..472db54 100644 (file)
@@ -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
index 51a8ce5..12f9372 100644 (file)
@@ -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
index a7fc263..b2fff70 100644 (file)
@@ -1248,7 +1248,7 @@ node_types:
         status: supported
       attachments:
         description: The list of attachments of the volume
-        type: string
+        type: list
         status: supported
         entry_schema:
           type: string