summaryrefslogtreecommitdiffstats
path: root/policy-domains/src/test/resources/tosca-policy-native-artifact-example.json
diff options
context:
space:
mode:
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