summaryrefslogtreecommitdiffstats
path: root/models-sim/policy-models-simulators/src/test/resources/simParameters.json
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-03-17 17:41:59 -0400
committerJim Hahn <jrh3@att.com>2020-03-20 08:49:19 -0400
commitbc02433cc5292c5272dc084db8044bb4c8140135 (patch)
tree12f01af433d853e599ca49ca76a467a18ac36031 /models-sim/policy-models-simulators/src/test/resources/simParameters.json
parentf1eb76a0f0773780c9179f6098ed9847ecb9f9fa (diff)
Add docker file for all simulators
Some CSITs may require multiple simulators. This adds a class that will start all of the simulators. A tarball is generated from which a docker image can be built. Added simulators for Topics: appc and appc-lcm. Fixed licenses in files in packages directory. Fixed per review comments: - add version to Dockerfile Issue-ID: POLICY-2434 Signed-off-by: Jim Hahn <jrh3@att.com> Change-Id: Id7aa9cb5a5874f7b4185273ab0d2c074198554ff
Diffstat (limited to 'models-sim/policy-models-simulators/src/test/resources/simParameters.json')
-rw-r--r--models-sim/policy-models-simulators/src/test/resources/simParameters.json95
1 files changed, 95 insertions, 0 deletions
diff --git a/models-sim/policy-models-simulators/src/test/resources/simParameters.json b/models-sim/policy-models-simulators/src/test/resources/simParameters.json
new file mode 100644
index 000000000..c7abb2973
--- /dev/null
+++ b/models-sim/policy-models-simulators/src/test/resources/simParameters.json
@@ -0,0 +1,95 @@
+{
+ "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-READ",
+ "servers": ["localhost"],
+ "topicCommInfrastructure": "DMAAP",
+ "useHttps": true
+ }
+ ],
+ "topicSources": [
+ {
+ "topic": "APPC-CL",
+ "servers": ["localhost"],
+ "topicCommInfrastructure": "DMAAP",
+ "useHttps": true
+ },
+ {
+ "topic": "APPC-LCM-WRITE",
+ "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-READ",
+ "source": "APPC-LCM-WRITE"
+ }
+ ]
+}