From 9cd184ef2b013197cd984cf881335c08a9eab01f Mon Sep 17 00:00:00 2001 From: aribeiro Date: Thu, 2 Apr 2020 14:05:57 +0100 Subject: Fix data type properties declaration According to TOSCA Network properties definition the keyname 'ip_version:' should have Integer as valid_values rather than String Where the keyname 'count:' is declared as a String type the default value should be String rather than Integer Fix misspelled ONAP types 'onap.datatypes.monitoring.measurementType' and 'onap.datatypes.monitoring.managedObjectDNsBasic' Fix the keynames 'upstream:' and 'downstream:' as both are declared as a String type the valid_values should be String rather than Integer Issue-ID: SDC-2864 Signed-off-by: aribeiro Change-Id: I56afdf2818b5f2463fb6088cd8b468fd38ef5086 --- asdctool/src/main/resources/config/dataTypes.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'asdctool/src/main/resources/config') diff --git a/asdctool/src/main/resources/config/dataTypes.yml b/asdctool/src/main/resources/config/dataTypes.yml index 43fd05a348..7198260f29 100644 --- a/asdctool/src/main/resources/config/dataTypes.yml +++ b/asdctool/src/main/resources/config/dataTypes.yml @@ -230,8 +230,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 @@ -525,7 +525,7 @@ org.openecomp.datatypes.heat.substitution.SubstitutionFiltering: type: string description: Count required: false - default: 1 + default: "1" status: SUPPORTED scaling_enabled: type: boolean -- cgit 1.2.3-korg