summaryrefslogtreecommitdiffstats
path: root/catalog-be/src
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src')
-rw-r--r--catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml72
-rw-r--r--catalog-be/src/test/resources/yamlValidation/test-no-valid.yml4
2 files changed, 38 insertions, 38 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
index 9d9cb43b36..76016bfb3e 100644
--- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
@@ -262,8 +262,8 @@ org.openecomp.datatypes.heat.network.neutron.Subnet:
status: supported
constraints:
- valid_values:
- - '4'
- - '6'
+ - 4
+ - 6
name:
type: string
description: The name of the subnet
@@ -568,7 +568,7 @@ org.openecomp.datatypes.heat.substitution.SubstitutionFiltering:
type: string
description: Count
required: false
- default: 1
+ default: "1"
status: supported
scaling_enabled:
type: boolean
@@ -2381,7 +2381,7 @@ onap.datatypes.monitoring.measurementGroup:
required: true
default: []
entry_schema:
- type: onap.datatypes.monitoring.managedObjectDNSBasics
+ type: onap.datatypes.monitoring.managedObjectDNsBasics
onap.datatypes.monitoring.measurementTypes:
derived_from: tosca.datatypes.Root
@@ -2391,7 +2391,7 @@ onap.datatypes.monitoring.measurementTypes:
description: Measurement type object
required: true
entry_schema:
- type: onap.dataypes.monitoring.measurementType
+ type: onap.datatypes.monitoring.measurementType
onap.datatypes.monitoring.measurementType:
derived_from: tosca.datatypes.Root
@@ -2409,7 +2409,7 @@ onap.datatypes.monitoring.managedObjectDNsBasics:
description: Managed object distinguished name object
required: true
entry_schema:
- type: onap.dataypes.monitoring.managedObjectDNsBasic
+ type: onap.datatypes.monitoring.managedObjectDNsBasic
onap.datatypes.monitoring.managedObjectDNsBasic:
derived_from: tosca.datatypes.Root
@@ -2736,42 +2736,42 @@ onap.datatypes.partner.bandwidth:
required: true
constraints:
- valid_values:
- - 128
- - 512
- - 1
- - 2
- - 5
- - 10
- - 20
- - 25
- - 30
- - 40
- - 50
- - 100
- - 250
- - 500
- - 1000
+ - "128"
+ - "512"
+ - "1"
+ - "2"
+ - "5"
+ - "10"
+ - "20"
+ - "25"
+ - "30"
+ - "40"
+ - "50"
+ - "100"
+ - "250"
+ - "500"
+ - "1000"
upstream:
type: string
description: up speed
required: false
constraints:
- valid_values:
- - 128
- - 512
- - 1
- - 2
- - 5
- - 10
- - 20
- - 25
- - 30
- - 40
- - 50
- - 100
- - 250
- - 500
- - 1000
+ - "128"
+ - "512"
+ - "1"
+ - "2"
+ - "5"
+ - "10"
+ - "20"
+ - "25"
+ - "30"
+ - "40"
+ - "50"
+ - "100"
+ - "250"
+ - "500"
+ - "1000"
units:
type: string
description: unit of speed
diff --git a/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml b/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml
index 335758e887..4d6bd8992d 100644
--- a/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml
+++ b/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml
@@ -247,8 +247,8 @@ org.openecomp.datatypes.heat.network.neutron.Subnet:
status: SUPPORTED
constraints:
- valid_values:
- - '4'
- - '6'
+ - 4
+ - 6
name:
type: string
description: The name of the subnet