summaryrefslogtreecommitdiffstats
path: root/policy-domains/src/test/resources/tosca-policy-native-artifact-example.json
blob: f521953d87b442c90757d5ea629f1ad460f857d7 (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
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"
                        }
                    }
                }
            }
        ]
    }
}