From 18526e9a01fc0b0e085d2a6e3457957e6392ce27 Mon Sep 17 00:00:00 2001 From: Sirisha_Manchikanti Date: Tue, 1 Jun 2021 16:48:25 +0100 Subject: Prepare controlloop docker images Generate runtime, policy-participant and dcae-participant docker images. Issue-ID: POLICY-3320 Signed-off-by: Sirisha_Manchikanti Change-Id: I310fd2a098aa48a6a50a9bf6bd2bcb55328f4973 --- .../main/resources/etc/ClRuntimeParameters.json | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.json (limited to 'packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.json') diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.json b/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.json new file mode 100644 index 000000000..5726fa54d --- /dev/null +++ b/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.json @@ -0,0 +1,53 @@ +{ + "name": "ControlLoopRuntimeGroup", + "restServerParameters": { + "host": "0.0.0.0", + "port": 6969, + "userName": "healthcheck", + "password": "zb!XztG34", + "https": false, + "aaf": false + }, + "participantParameters": { + "heartBeatMs": 120000, + "updateParameters": { + "maxRetryCount": 1, + "maxWaitMs": 30000 + }, + "stateChangeParameters": { + "maxRetryCount": 1, + "maxWaitMs": 30000 + } + }, + "databaseProviderParameters": { + "name": "PolicyProviderParameterGroup", + "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl", + "databaseDriver": "org.mariadb.jdbc.Driver", + "databaseUrl": "jdbc:mariadb://localhost:3306/controlloop", + "databaseUser": "policy", + "databasePassword": "P01icY", + "persistenceUnit": "CommissioningMariaDb" + }, + "topicParameterGroup": { + "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" + } + ] + } +} -- cgit 1.2.3-korg