From 7edc7955d012fea43290b21bfd72d77d70ea4ec3 Mon Sep 17 00:00:00 2001 From: "puthuparambil.aditya" Date: Thu, 1 Oct 2020 12:06:33 +0100 Subject: Helm chart for policy-models-simulator Issue-ID: POLICY-2828 Signed-off-by: puthuparambil.aditya Change-Id: Ic5e94edb2bc76067d5cde03dae2670dc6cf99a0e --- .../resources/config/logback.xml | 33 ++++++ .../resources/config/simParameters.json | 125 +++++++++++++++++++++ 2 files changed, 158 insertions(+) create mode 100644 helm/policy-models-simulator/resources/config/logback.xml create mode 100644 helm/policy-models-simulator/resources/config/simParameters.json (limited to 'helm/policy-models-simulator/resources/config') diff --git a/helm/policy-models-simulator/resources/config/logback.xml b/helm/policy-models-simulator/resources/config/logback.xml new file mode 100644 index 00000000..224c322c --- /dev/null +++ b/helm/policy-models-simulator/resources/config/logback.xml @@ -0,0 +1,33 @@ + + + + + + %d %level %msg%n + + + + + + diff --git a/helm/policy-models-simulator/resources/config/simParameters.json b/helm/policy-models-simulator/resources/config/simParameters.json new file mode 100644 index 00000000..5bb67e71 --- /dev/null +++ b/helm/policy-models-simulator/resources/config/simParameters.json @@ -0,0 +1,125 @@ +{ + "dmaapProvider": { + "name": "DMaaP simulator", + "topicSweepSec": 300, + "restServerParameters": { + + } + }, + "restServers": [ + { + "name": "DMaaP simulator", + "providerClass": "org.onap.policy.models.sim.dmaap.rest.DmaapSimRestControllerV1", + "host": "localhost", + "port": 3905, + "https": true + }, + { + "name": "A&AI simulator", + "providerClass": "org.onap.policy.simulators.AaiSimulatorJaxRs", + "host": "localhost", + "port": 6666, + "https": true + }, + { + "name": "Guard simulator", + "providerClass": "org.onap.policy.simulators.GuardSimulatorJaxRs", + "host": "localhost", + "port": 6667, + "https": true + }, + { + "name": "SDNC simulator", + "providerClass": "org.onap.policy.simulators.SdncSimulatorJaxRs", + "host": "localhost", + "port": 6668, + "https": true + }, + { + "name": "SO simulator", + "providerClass": "org.onap.policy.simulators.SoSimulatorJaxRs", + "host": "localhost", + "port": 6669, + "https": true + }, + { + "name": "VFC simulator", + "providerClass": "org.onap.policy.simulators.VfcSimulatorJaxRs", + "host": "localhost", + "port": 6670, + "https": true + } + ], + "topicSinks": [ + { + "topic": "APPC-CL", + "servers": ["localhost"], + "topicCommInfrastructure": "DMAAP", + "useHttps": true + }, + { + "topic": "APPC-LCM-WRITE", + "servers": ["localhost"], + "topicCommInfrastructure": "DMAAP", + "useHttps": true + }, + { + "topic": "SDNR-CL", + "servers": ["localhost"], + "topicCommInfrastructure": "DMAAP", + "useHttps": true + } + ], + "topicSources": [ + { + "topic": "APPC-CL", + "servers": ["localhost"], + "topicCommInfrastructure": "DMAAP", + "useHttps": true + }, + { + "topic": "APPC-LCM-READ", + "servers": ["localhost"], + "topicCommInfrastructure": "DMAAP", + "useHttps": true + }, + { + "topic": "SDNR-CL-RSP", + "servers": ["localhost"], + "topicCommInfrastructure": "DMAAP", + "useHttps": true + } + ], + "topicServers": [ + { + "name": "APPC Legacy simulator", + "providerClass": "org.onap.policy.simulators.AppcLegacyTopicServer", + "sink": "APPC-CL", + "source": "APPC-CL" + }, + { + "name": "APPC-LCM simulator", + "providerClass": "org.onap.policy.simulators.AppcLcmTopicServer", + "sink": "APPC-LCM-WRITE", + "source": "APPC-LCM-READ" + }, + { + "name": "SDNR simulator", + "providerClass": "org.onap.policy.simulators.SdnrTopicServer", + "sink": "SDNR-CL", + "source": "SDNR-CL-RSP" + } + ], + "grpcServer": { + "name": "CDS simulator", + "providerClass": "org.onap.policy.simulators.CdsSimulator", + "host": "0.0.0.0", + "port": 6680, + "timeout": 30, + "username": "ccsdkapps", + "password": "ccsdkapps", + "resourceLocation": "/opt/app/policy/simulators/etc/mounted/", + "successRepeatCount": 0, + "requestedResponseDelayMs": 0 + } +} -- cgit 1.2.3-korg