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
Remove dmaap from models
[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
382999f
..
8e6c6f0
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
@@
-25,13
+25,13
@@
policy_types:
required: false
description: source topics and applicable events
entry_schema:
required: false
description: source topics and applicable events
entry_schema:
- type: onap.datatypes.
dmaap
.topic
+ type: onap.datatypes.
kafka
.topic
sinkTopics:
type: list
required: false
description: sink topics and applicable events
entry_schema:
sinkTopics:
type: list
required: false
description: sink topics and applicable events
entry_schema:
- type: onap.datatypes.
dmaap
.topic
+ type: onap.datatypes.
kafka
.topic
customConfig:
type: map
required: false
customConfig:
type: map
required: false
@@
-54,20
+54,20
@@
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.
dmaap
.topic:
+ onap.datatypes.
kafka
.topic:
derived_from: tosca.datatypes.Root
properties:
topicName:
type: string
required: true
derived_from: tosca.datatypes.Root
properties:
topicName:
type: string
required: true
- description: the
dmaap
topic name
+ description: the
kafka
topic name
events:
type: list
required: true
description: events used by this topic
entry_schema:
events:
type: list
required: true
description: events used by this topic
entry_schema:
- type: onap.datatypes.
dmaap
.events
- onap.datatypes.
dmaap
.events:
+ type: onap.datatypes.
kafka
.events
+ onap.datatypes.
kafka
.events:
derived_from: tosca.datatypes.Root
properties:
eventClass:
derived_from: tosca.datatypes.Root
properties:
eventClass:
@@
-79,10
+79,10
@@
data_types:
required: false
description: the JSONPath based condition to filter out the events to serialize
customSerialization:
required: false
description: the JSONPath based condition to filter out the events to serialize
customSerialization:
- type: onap.datatypes.
dmaap
.custom_serialization
+ type: onap.datatypes.
kafka
.custom_serialization
required: false
description: overrides the default serialization/deserialization mechanisms with custom ones
required: false
description: overrides the default serialization/deserialization mechanisms with custom ones
- onap.datatypes.
dmaap
.custom_serialization:
+ onap.datatypes.
kafka
.custom_serialization:
derived_from: tosca.datatypes.Root
properties:
customSerializerClass:
derived_from: tosca.datatypes.Root
properties:
customSerializerClass:
@@
-111,7
+111,7
@@
data_types:
onap.datatypes.drools.controller.relation:
derived_from: tosca.datatypes.Root
properties:
onap.datatypes.drools.controller.relation:
derived_from: tosca.datatypes.Root
properties:
-
controllerN
ame:
+
n
ame:
type: string
required: true
description: the name of drools controller policy
type: string
required: true
description: the name of drools controller policy