From 031db8630dda9706e22aa3bbdf0f2dfba33fb86e Mon Sep 17 00:00:00 2001 From: "andre.schmid" Date: Wed, 24 Jul 2019 08:57:20 +0000 Subject: Validate PM Dictionary and VES Events YAML Files Validate, during the package onboarding, YAML files declared in the manifest as type onap_ves_events or onap_pm_dictionary under non_mano_artifact_sets. Check if the file is not empty, if has a yaml extension and if it has a valid yaml content. Change-Id: I260d0f5355e9e77b6499f553f8aa9f7e6d0693da Issue-ID: SDC-2475 Signed-off-by: andre.schmid --- .../src/test/resources/validation.files/invalid.yaml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/validation.files/invalid.yaml (limited to 'openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/validation.files/invalid.yaml') diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/validation.files/invalid.yaml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/validation.files/invalid.yaml new file mode 100644 index 0000000000..7df3b2b083 --- /dev/null +++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/validation.files/invalid.yaml @@ -0,0 +1,2 @@ +key: 1 +key {} \ No newline at end of file -- cgit 1.2.3-korg