Code Review
/
policy
/
pap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Topic names in PAP should be configurable from application.yaml
[policy/pap.git]
/
main
/
src
/
main
/
resources
/
application.yaml
diff --git
a/main/src/main/resources/application.yaml
b/main/src/main/resources/application.yaml
index
ebe94b8
..
2711e2d
100644
(file)
--- a/
main/src/main/resources/application.yaml
+++ b/
main/src/main/resources/application.yaml
@@
-27,6
+27,10
@@
server:
pap:
name: PapGroup
aaf: false
pap:
name: PapGroup
aaf: false
+ topic:
+ pdp-pap.name: POLICY-PDP-PAP
+ notification.name: POLICY-NOTIFICATION
+ heartbeat.name: POLICY-HEARTBEAT
pdpParameters:
heartBeatMs: 120000
updateParameters:
pdpParameters:
heartBeatMs: 120000
updateParameters:
@@
-38,24
+42,24
@@
pap:
savePdpStatisticsInDb: true
topicParameterGroup:
topicSources:
savePdpStatisticsInDb: true
topicParameterGroup:
topicSources:
- - topic:
POLICY-PDP-PAP
+ - topic:
${pap.topic.pdp-pap.name}
servers:
- message-router
topicCommInfrastructure: dmaap
fetchTimeout: 15000
servers:
- message-router
topicCommInfrastructure: dmaap
fetchTimeout: 15000
- - topic:
POLICY-HEARTBEAT
- effectiveTopic:
POLICY-PDP-PAP
+ - topic:
${pap.topic.heartbeat.name}
+ effectiveTopic:
${pap.topic.pdp-pap.name}
consumerGroup: policy-pap
servers:
- message-router
topicCommInfrastructure: dmaap
fetchTimeout: 15000
topicSinks:
consumerGroup: policy-pap
servers:
- message-router
topicCommInfrastructure: dmaap
fetchTimeout: 15000
topicSinks:
- - topic:
POLICY-PDP-PAP
+ - topic:
${pap.topic.pdp-pap.name}
servers:
- message-router
topicCommInfrastructure: dmaap
servers:
- message-router
topicCommInfrastructure: dmaap
- - topic:
POLICY-NOTIFICATION
+ - topic:
${pap.topic.notification.name}
servers:
- message-router
topicCommInfrastructure: dmaap
servers:
- message-router
topicCommInfrastructure: dmaap