aboutsummaryrefslogtreecommitdiffstats
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
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
-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
-rw-r--r--common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp-heat/nodes.yml2
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml2
-rw-r--r--openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml2
6 files changed, 7 insertions, 9 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
diff --git a/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp-heat/nodes.yml b/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp-heat/nodes.yml
index a7fc263750..b2fff701ab 100644
--- a/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp-heat/nodes.yml
+++ b/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp-heat/nodes.yml
@@ -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
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
index 9219a5d5e4..6ac610a88e 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
@@ -1185,7 +1185,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/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
index 74e308bfbe..f1a382789d 100644
--- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
+++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp-heat/nodes.yml
@@ -1225,7 +1225,7 @@ node_types:
description: Description of the volume
status: supported
attachments:
- type: string
+ type: list
description: The list of attachments of the volume
status: supported
entry_schema: