name + consistent case in drools policies 80/100980/3
authorjhh <jorge.hernandez-herrero@att.com>
Fri, 31 Jan 2020 14:50:57 +0000 (08:50 -0600)
committerjhh <jorge.hernandez-herrero@att.com>
Fri, 31 Jan 2020 17:26:07 +0000 (11:26 -0600)
Issue-ID: POLICY-2345
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ibf54e6bac3d53daf0e23256ff0c2e8108b82cd9f
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
models-examples/src/main/resources/policies/vCPE.policy.operational.input.tosca.json
models-examples/src/main/resources/policytypes/onap.policies.drools.Controller.yaml
models-examples/src/main/resources/policytypes/onap.policies.native.Drools.yaml

index 74db202..63f8fd6 100644 (file)
@@ -45,7 +45,7 @@ data_types:
     onap.datatypes.dmaap.serialization:
         derived_from: tosca.datatypes.Root
         properties:
-            eventCanonicalName:
+            eventClass:
                 type: string
                 required: true
                 description: the event canonical class for serialization
index 39b9c7f..c36796e 100644 (file)
@@ -9,8 +9,8 @@ policy_types:
         description: a policy type for native drools policies
         version: 1.0.0
         properties:
-            rule_artifact:
-                type: onap.datatypes.native.rule_artifact
+            rulesArtifact:
+                type: onap.datatypes.native.rules_artifact
                 required: true
                 description: the GAV information of the maven artifact
             controller:
@@ -19,7 +19,7 @@ policy_types:
                 description: the drools controller to which the current native policy is assigned
 
 data_types:
-    onap.datatypes.native.rule_artifact:
+    onap.datatypes.native.rules_artifact:
         derived_from: tosca.datatypes.Root
         properties:
             groupId:
@@ -37,11 +37,11 @@ data_types:
     onap.datatypes.drools.controller.relation:
         derived_from: tosca.datatypes.Root
         properties:
-            controllerPolicyName:
+            controllerName:
                 type: string
                 required: true
                 description: the name of drools controller policy
-            controllerPolicyVersion:
+            controllerVersion:
                 type: string
-                required: true
+                required: false
                 description: the version of drools controller policy
\ No newline at end of file