aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2020-04-15 14:28:45 -0500
committerjhh <jorge.hernandez-herrero@att.com>2020-04-15 18:28:47 -0500
commit522215024b5e8a9c027597b7fa8b24bf14f0d086 (patch)
tree2dd9476ee52d54820088c9641a30058c942c7ffa /models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
parent85841e358763f6d71a3b2ac27d3fd39dc60667c0 (diff)
Add example drools native artifact policies
Issue-ID: POLICY-2378 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Iab36c4b3214bef90dfe4a6f00ff68df04e3de203 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json')
-rw-r--r--models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json b/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
new file mode 100644
index 000000000..f7acf1eef
--- /dev/null
+++ b/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
@@ -0,0 +1,28 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "usecases": {
+ "type": "onap.policies.native.drools.Artifact",
+ "type_version": "1.0.0",
+ "name": "usecases.artifacts",
+ "version": "1.0.0",
+ "metadata": {
+ "policy-id": "usecases.artifacts"
+ },
+ "properties": {
+ "rulesArtifact": {
+ "groupId": "org.onap.policy.drools-applications.controlloop.common",
+ "artifactId": "controller-usecases",
+ "version": "1.6.1"
+ },
+ "controller": {
+ "name": "usecases"
+ }
+ }
+ }
+ }
+ ]
+ }
+}