summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/usecases.native.artifact.policy.input.tosca.json
diff options
context:
space:
mode:
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"
+ }
+ }
+ }
+ }
+ ]
+ }
+}