diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2020-02-26 18:30:18 -0600 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2020-02-26 18:30:18 -0600 |
commit | fe4f6e1c9a4ee06c21ccee51af9eaf654e56281e (patch) | |
tree | b1a2e9c5178171e3ed6a405c4fded94c2739fbfa /feature-lifecycle/src/test/resources | |
parent | 9f75b598b3e0946cf4065bced39f9ea77a9dc3d7 (diff) |
Undeploy support for native rules PDP-D policies.
Issue-ID: POLICY-2388
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Iaaf5e13a5db286928952bcb3e4cc0f526b0b133c
Diffstat (limited to 'feature-lifecycle/src/test/resources')
3 files changed, 18 insertions, 4 deletions
diff --git a/feature-lifecycle/src/test/resources/example.policy.native.drools.tosca.json b/feature-lifecycle/src/test/resources/example.policy.native.drools.tosca.json index 0313b2ed..f3f34b6f 100644 --- a/feature-lifecycle/src/test/resources/example.policy.native.drools.tosca.json +++ b/feature-lifecycle/src/test/resources/example.policy.native.drools.tosca.json @@ -13,12 +13,12 @@ }, "properties": { "rulesArtifact": { - "groupId": "org.onap.policy.controlloop", - "artifactId": "example", + "groupId": "org.onap.policy.drools.test", + "artifactId": "lifecycle", "version": "1.0.0" }, "controller": { - "name": "example", + "name": "lifecycle", "version": "1.0.0" } } diff --git a/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json index e89238d7..801859be 100644 --- a/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json +++ b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json @@ -7,6 +7,7 @@ "required": [ "type", "type_version", + "name", "version", "properties" ], diff --git a/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json index c98e25bf..5d032f06 100644 --- a/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json +++ b/feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json @@ -201,6 +201,18 @@ "VNF" ], "pattern": "^(.+)$" + }, + "entityIds": { + "$id": "#/properties/properties/properties/operations/items/properties/operation/properties/target/properties/entityIds", + "type": "object", + "title": "Arbitrary Resource Identities", + "examples": [ + "Eace933104d443b496b8.nodes.heat.vpg" + ], + "additionalProperties": { + "type": "string", + "pattern": "^(.+)$" + } } } }, @@ -209,7 +221,8 @@ "type": "object", "title": "Payload", "additionalProperties": { - "type": "string" + "type": "string", + "pattern": "^(.+)$" } } } |