summaryrefslogtreecommitdiffstats
path: root/policy-domains/src/test/resources/tosca-policy-native-artifact-example.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-03-05 22:32:58 -0600
committerjhh <jorge.hernandez-herrero@att.com>2020-03-10 11:29:27 -0500
commit3f563fe552e35b3bc3d95c47a3cabdfe7645ad07 (patch)
tree9439dc357096b69b670e7dad666084a5cb08dcfb /policy-domains/src/test/resources/tosca-policy-native-artifact-example.json
parent845cbbc74445909613aff1912d3cfc9083c57d53 (diff)
policy routing and reorg into policy-domains
- Native Drools Controller Policy support. - Move domain policies into the policy-domains project. - Route legacy/compliant operational policies to one or all controller supporting the policy's policy type. - Enhancements to scripts to invoke commands external to the container. Issue-ID: POLICY-2388 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id41f04d10a28d2ea86bdd41334e499c28d0438ae Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'policy-domains/src/test/resources/tosca-policy-native-artifact-example.json')
-rw-r--r--policy-domains/src/test/resources/tosca-policy-native-artifact-example.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/policy-domains/src/test/resources/tosca-policy-native-artifact-example.json b/policy-domains/src/test/resources/tosca-policy-native-artifact-example.json
new file mode 100644
index 00000000..f521953d
--- /dev/null
+++ b/policy-domains/src/test/resources/tosca-policy-native-artifact-example.json
@@ -0,0 +1,29 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+ "topology_template": {
+ "policies": [
+ {
+ "example": {
+ "type": "onap.policies.native.drools.Artifact",
+ "type_version": "1.0.0",
+ "version": "1.0.0",
+ "name": "example",
+ "metadata": {
+ "policy-id": "example"
+ },
+ "properties": {
+ "rulesArtifact": {
+ "groupId": "org.onap.policy.drools.test",
+ "artifactId": "lifecycle",
+ "version": "1.0.0"
+ },
+ "controller": {
+ "name": "lifecycle",
+ "version": "1.0.0"
+ }
+ }
+ }
+ }
+ ]
+ }
+} \ No newline at end of file