Fix data type properties declaration 00/105000/2
authoraribeiro <anderson.ribeiro@est.tech>
Thu, 2 Apr 2020 13:05:57 +0000 (14:05 +0100)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Sun, 5 Apr 2020 15:05:20 +0000 (15:05 +0000)
commit9cd184ef2b013197cd984cf881335c08a9eab01f
tree0755585896774b9b3462e1c85a563af5e10bd7b3
parentdd463c2843dcfbc5b375d90630788f5f269c7b0a
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 <anderson.ribeiro@est.tech>
Change-Id: I56afdf2818b5f2463fb6088cd8b468fd38ef5086
asdctool/src/main/resources/config/dataTypes.yml
catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
catalog-be/src/test/resources/yamlValidation/test-no-valid.yml
openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp-heat/data.yml
openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/openecomp/data.yml
openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp-heat/data.yml
openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/openecomp/data.yml