aboutsummaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-11-18 16:40:39 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-11-18 17:08:33 -0600
commitf01256145bd9abb97cb9fba3019dcaccaeeca509 (patch)
tree47315582744c0b028320f6e3bde87c4cc439f49c /feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json
parent6a429b8504cdd38cadb3ce9bb532d08cc5115da9 (diff)
verify schema validation for any policy type
Issue-ID: POLICY-2880 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I0cc6e8967d42d347415857dc77976f2b8ab86516 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json')
-rw-r--r--feature-lifecycle/src/test/resources/tosca-policy-other-unvalidated.json22
1 files changed, 22 insertions, 0 deletions
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
+ }
+ }
+ }
+ ]
+ }
+}