summaryrefslogtreecommitdiffstats
path: root/feature-lifecycle/src/test/resources/tosca-policy-native-artifact-foo.json
blob: eeb3e5a4d1c88bcf8b05f20d0d4166ea21787731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
    "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
    "topology_template": {
        "policies": [
            {
                "foo.artifact": {
                    "type": "onap.policies.native.drools.Artifact",
                    "type_version": "1.0.0",
                    "version": "1.0.0",
                    "name": "foo.artifact",
                    "metadata": {
                        "policy-id": "foo.artifact"
                    },
                    "properties": {
                        "rulesArtifact": {
                            "groupId": "org.onap.policy.drools.test",
                            "artifactId": "echo",
                            "version": "1.0.0"
                        },
                        "controller": {
                            "name": "foo"
                        }
                    }
                }
            }
        ]
    }
}