aboutsummaryrefslogtreecommitdiffstats
path: root/helm/policy-models-simulator
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2020-10-06 18:13:47 +0100
committera.sreekumar <ajith.sreekumar@bell.ca>2020-10-07 10:23:12 +0100
commit5aec4e3569cbc790af8a1aeae129fe0ca1c6c5dd (patch)
treedc1ae8368387800086857fe7c52fca7ef50aee01 /helm/policy-models-simulator
parent7edc7955d012fea43290b21bfd72d77d70ea4ec3 (diff)
Fixing policy-models-simulator helm issues
This review updates the config file for the simulator in order to fix below 2 issues: 1) Too much logs due to SSL related errors causing POD to be evicted every 30minutes. 2) Invalid Parameters causing the container to crash (RestServerParameters validation in dmaapProvider making it mandatory to add host and port) Change-Id: I5cd1b44b0a142627071dccd93b6d3e40400db711 Issue-ID: POLICY-2828 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'helm/policy-models-simulator')
-rw-r--r--helm/policy-models-simulator/resources/config/simParameters.json49
1 files changed, 26 insertions, 23 deletions
diff --git a/helm/policy-models-simulator/resources/config/simParameters.json b/helm/policy-models-simulator/resources/config/simParameters.json
index 5bb67e71..7408ade8 100644
--- a/helm/policy-models-simulator/resources/config/simParameters.json
+++ b/helm/policy-models-simulator/resources/config/simParameters.json
@@ -1,51 +1,48 @@
{
"dmaapProvider": {
"name": "DMaaP simulator",
- "topicSweepSec": 300,
- "restServerParameters": {
-
- }
+ "topicSweepSec": 300
},
"restServers": [
{
"name": "DMaaP simulator",
"providerClass": "org.onap.policy.models.sim.dmaap.rest.DmaapSimRestControllerV1",
- "host": "localhost",
+ "host": "0.0.0.0",
"port": 3905,
"https": true
},
{
"name": "A&AI simulator",
"providerClass": "org.onap.policy.simulators.AaiSimulatorJaxRs",
- "host": "localhost",
+ "host": "0.0.0.0",
"port": 6666,
"https": true
},
{
"name": "Guard simulator",
"providerClass": "org.onap.policy.simulators.GuardSimulatorJaxRs",
- "host": "localhost",
+ "host": "0.0.0.0",
"port": 6667,
"https": true
},
{
"name": "SDNC simulator",
"providerClass": "org.onap.policy.simulators.SdncSimulatorJaxRs",
- "host": "localhost",
+ "host": "0.0.0.0",
"port": 6668,
"https": true
},
{
"name": "SO simulator",
"providerClass": "org.onap.policy.simulators.SoSimulatorJaxRs",
- "host": "localhost",
+ "host": "0.0.0.0",
"port": 6669,
"https": true
},
{
"name": "VFC simulator",
"providerClass": "org.onap.policy.simulators.VfcSimulatorJaxRs",
- "host": "localhost",
+ "host": "0.0.0.0",
"port": 6670,
"https": true
}
@@ -53,41 +50,47 @@
"topicSinks": [
{
"topic": "APPC-CL",
- "servers": ["localhost"],
+ "servers": ["${HOST_NAME}"],
"topicCommInfrastructure": "DMAAP",
- "useHttps": true
+ "useHttps": true,
+ "allowSelfSignedCerts" : true
},
{
"topic": "APPC-LCM-WRITE",
- "servers": ["localhost"],
+ "servers": ["${HOST_NAME}"],
"topicCommInfrastructure": "DMAAP",
- "useHttps": true
+ "useHttps": true,
+ "allowSelfSignedCerts" : true
},
{
"topic": "SDNR-CL",
- "servers": ["localhost"],
+ "servers": ["${HOST_NAME}"],
"topicCommInfrastructure": "DMAAP",
- "useHttps": true
+ "useHttps": true,
+ "allowSelfSignedCerts" : true
}
],
"topicSources": [
{
"topic": "APPC-CL",
- "servers": ["localhost"],
+ "servers": ["${HOST_NAME}"],
"topicCommInfrastructure": "DMAAP",
- "useHttps": true
+ "useHttps": true,
+ "allowSelfSignedCerts" : true
},
{
"topic": "APPC-LCM-READ",
- "servers": ["localhost"],
+ "servers": ["${HOST_NAME}"],
"topicCommInfrastructure": "DMAAP",
- "useHttps": true
+ "useHttps": true,
+ "allowSelfSignedCerts" : true
},
{
"topic": "SDNR-CL-RSP",
- "servers": ["localhost"],
+ "servers": ["${HOST_NAME}"],
"topicCommInfrastructure": "DMAAP",
- "useHttps": true
+ "useHttps": true,
+ "allowSelfSignedCerts" : true
}
],
"topicServers": [
@@ -118,7 +121,7 @@
"timeout": 30,
"username": "ccsdkapps",
"password": "ccsdkapps",
- "resourceLocation": "/opt/app/policy/simulators/etc/mounted/",
+ "resourceLocation": "/opt/app/policy/simulators/etc/mounted/",
"successRepeatCount": 0,
"requestedResponseDelayMs": 0
}