Merge "name + consistent case in drools policies"
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.native.Drools.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 policy_types:
3     onap.policies.Native:
4         derived_from: tosca.policies.Root
5         description: a base policy type for all native PDP policies
6         version: 1.0.0
7     onap.policies.native.Drools:
8         derived_from: onap.policies.Native
9         description: a policy type for native drools policies
10         version: 1.0.0
11         properties:
12             rulesArtifact:
13                 type: onap.datatypes.native.rules_artifact
14                 required: true
15                 description: the GAV information of the maven artifact
16             controller:
17                 type: onap.datatypes.drools.controller.relation
18                 required: true
19                 description: the drools controller to which the current native policy is assigned
20
21 data_types:
22     onap.datatypes.native.rules_artifact:
23         derived_from: tosca.datatypes.Root
24         properties:
25             groupId:
26                 type: string
27                 required: true
28                 description: the groupId of the maven artifact
29             artifactId:
30                 type: string
31                 required: true
32                 description: the artifactId of the maven artifact
33             version:
34                 type: string
35                 required: true
36                 description: the version of the maven artifact
37     onap.datatypes.drools.controller.relation:
38         derived_from: tosca.datatypes.Root
39         properties:
40             controllerName:
41                 type: string
42                 required: true
43                 description: the name of drools controller policy
44             controllerVersion:
45                 type: string
46                 required: false
47                 description: the version of drools controller policy