From f01256145bd9abb97cb9fba3019dcaccaeeca509 Mon Sep 17 00:00:00 2001 From: jhh Date: Wed, 18 Nov 2020 16:40:39 -0600 Subject: verify schema validation for any policy type Issue-ID: POLICY-2880 Signed-off-by: jhh Change-Id: I0cc6e8967d42d347415857dc77976f2b8ab86516 Signed-off-by: jhh --- .../resources/tosca-policy-other-unvalidated.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json (limited to 'feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json') diff --git a/feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json b/feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json new file mode 100644 index 00000000..64a59b2a --- /dev/null +++ b/feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json @@ -0,0 +1,22 @@ +{ + "tosca_definitions_version": "tosca_simple_yaml_1_0_0", + "topology_template": { + "policies": [ + { + "other-unvalidated": { + "type": "onap.policies.type1.type2", + "type_version": "1.0.0", + "name": "other-unvalidated", + "version": "1.0.0", + "metadata": { + "policy-id": "other-unvalidated" + }, + "properties": { + "field1": "abc", + "field2": 2 + } + } + } + ] + } +} -- cgit 1.2.3-korg