Code Review
/
policy
/
models.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add missing entry_schema for operational policy type
[policy/models.git]
/
models-examples
/
src
/
main
/
resources
/
policytypes
/
onap.policies.native.Drools.yaml
diff --git
a/models-examples/src/main/resources/policytypes/onap.policies.native.Drools.yaml
b/models-examples/src/main/resources/policytypes/onap.policies.native.Drools.yaml
index
39b9c7f
..
c36796e
100644
(file)
--- a/
models-examples/src/main/resources/policytypes/onap.policies.native.Drools.yaml
+++ b/
models-examples/src/main/resources/policytypes/onap.policies.native.Drools.yaml
@@
-9,8
+9,8
@@
policy_types:
description: a policy type for native drools policies
version: 1.0.0
properties:
description: a policy type for native drools policies
version: 1.0.0
properties:
- rule
_a
rtifact:
- type: onap.datatypes.native.rule_artifact
+ rule
sA
rtifact:
+ type: onap.datatypes.native.rule
s
_artifact
required: true
description: the GAV information of the maven artifact
controller:
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:
description: the drools controller to which the current native policy is assigned
data_types:
- onap.datatypes.native.rule_artifact:
+ onap.datatypes.native.rule
s
_artifact:
derived_from: tosca.datatypes.Root
properties:
groupId:
derived_from: tosca.datatypes.Root
properties:
groupId:
@@
-37,11
+37,11
@@
data_types:
onap.datatypes.drools.controller.relation:
derived_from: tosca.datatypes.Root
properties:
onap.datatypes.drools.controller.relation:
derived_from: tosca.datatypes.Root
properties:
- controller
Policy
Name:
+ controllerName:
type: string
required: true
description: the name of drools controller policy
type: string
required: true
description: the name of drools controller policy
- controller
Policy
Version:
+ controllerVersion:
type: string
type: string
- required:
tru
e
+ required:
fals
e
description: the version of drools controller policy
\ No newline at end of file
description: the version of drools controller policy
\ No newline at end of file