diff options
author | ERIMROB <robertas.rimkus@est.tech> | 2021-06-10 09:13:50 +0100 |
---|---|---|
committer | ERIMROB <robertas.rimkus@est.tech> | 2021-06-11 17:24:26 +0100 |
commit | 0655a5a4adad158173fcbac1ab02e21a2c2cb18c (patch) | |
tree | 30a0dc49b421357f739df1611c03f46842e9943a /participant/participant-impl/participant-impl-policy/src/main/resources | |
parent | 9deb780264c7d12aa932fbb3ff2d442fcb3e8d5a (diff) |
Make policy participant interact with Policy API
Change the policy participant from interacting directly with
the database, into participant interacting with policy API instead
Issue-ID: POLICY-3330
Change-Id: I02420b1e43f1b18e337b00ebd300f03bb9b7412d
Signed-off-by: ERIMROB <robertas.rimkus@est.tech>
Diffstat (limited to 'participant/participant-impl/participant-impl-policy/src/main/resources')
-rw-r--r-- | participant/participant-impl/participant-impl-policy/src/main/resources/config/PolicyParticipantConfig.json | 66 |
1 files changed, 44 insertions, 22 deletions
diff --git a/participant/participant-impl/participant-impl-policy/src/main/resources/config/PolicyParticipantConfig.json b/participant/participant-impl/participant-impl-policy/src/main/resources/config/PolicyParticipantConfig.json index e6b3c8eb1..bf458fae9 100644 --- a/participant/participant-impl/participant-impl-policy/src/main/resources/config/PolicyParticipantConfig.json +++ b/participant/participant-impl/participant-impl-policy/src/main/resources/config/PolicyParticipantConfig.json @@ -1,31 +1,53 @@ { - "name":"ParticipantParameterGroup", - "participantStatusParameters":{ - "timeIntervalMs":10000, - "description":"Participant Status", - "participantId":{ - "name": "PolicyParticipant0", - "version":"1.0.0" - }, + "name": "ControlLoopParticipantGroup", + "intermediaryParameters": { + "name": "Participant parameters", + "reportingTimeInterval": 120000, + "description": "Participant Description", "participantType":{ "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant", "version":"2.3.1" }, - "participantDefinition":{ - "name": "org.onap.policy.controlloop.PolicyControlLoopParticipant", - "version":"2.3.1" + "participantId": { + "name": "org.onap.PM_Policy", + "version": "1.0.0" + }, + "clampControlLoopTopics": { + "topicSources": [ + { + "topic": "POLICY-CLRUNTIME-PARTICIPANT", + "servers": [ + "message-router" + ], + "topicCommInfrastructure": "dmaap", + "fetchTimeout": 15000 + } + ], + "topicSinks": [ + { + "topic": "POLICY-CLRUNTIME-PARTICIPANT", + "servers": [ + "message-router" + ], + "topicCommInfrastructure": "dmaap" + }, + { + "topic": "POLICY-NOTIFICATION", + "servers": [ + "message-router" + ], + "topicCommInfrastructure": "dmaap" + } + ] } }, - "topicParameterGroup": { - "topicSources" : [{ - "topic" : "POLICY-CLRUNTIME-PARTICIPANT", - "servers" : [ "127.0.0.1:3904" ], - "topicCommInfrastructure" : "dmaap" - }], - "topicSinks" : [{ - "topic" : "POLICY-CLRUNTIME-PARTICIPANT", - "servers" : [ "127.0.0.1:3904" ], - "topicCommInfrastructure" : "dmaap" - }] + "policyApiParameters": { + "clientName": "api", + "hostname": "policy-api", + "port": "6969", + "userName": "healthcheck", + "password": "zb!XztG34", + "https": true, + "allowSelfSignedCerts": true } } |