summaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/test/resources
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-02-27 18:50:27 +0000
committerGerrit Code Review <gerrit@onap.org>2020-02-27 18:50:27 +0000
commitf22a6d5c2ae04a82919f7b9e7c9da5f5d459dd05 (patch)
tree3e8f45732fd35c1de51728283622acb79e906952 /feature-lifecycle/src/test/resources
parent4ad5e93f11ca32ab6162b29d912169ee7a00073c (diff)
parentfe4f6e1c9a4ee06c21ccee51af9eaf654e56281e (diff)
Merge "Undeploy support for native rules PDP-D policies."
Diffstat (limited to 'feature-lifecycle/src/test/resources')
-rw-r--r--feature-lifecycle/src/test/resources/example.policy.native.drools.tosca.json6
-rw-r--r--feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.Operational-1.0.0.schema.json1
-rw-r--r--feature-lifecycle/src/test/resources/schemas/onap.policies.controlloop.operational.common.Drools-1.0.0.schema.json15
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": "^(.+)$"
}
}
}