From bc02433cc5292c5272dc084db8044bb4c8140135 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Tue, 17 Mar 2020 17:41:59 -0400 Subject: 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 Change-Id: Id7aa9cb5a5874f7b4185273ab0d2c074198554ff --- .../src/test/resources/invalidTopicServer.json | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 models-sim/policy-models-simulators/src/test/resources/invalidTopicServer.json (limited to 'models-sim/policy-models-simulators/src/test/resources/invalidTopicServer.json') diff --git a/models-sim/policy-models-simulators/src/test/resources/invalidTopicServer.json b/models-sim/policy-models-simulators/src/test/resources/invalidTopicServer.json new file mode 100644 index 000000000..b3d31f6b4 --- /dev/null +++ b/models-sim/policy-models-simulators/src/test/resources/invalidTopicServer.json @@ -0,0 +1,35 @@ +{ + "dmaapProvider": { + "name": "DMaaP simulator", + "topicSweepSec": 300, + "restServerParameters": { + + } + }, + "topicSinks": [ + { + "topic": "APPC-LCM-READ", + "servers": ["localhost"], + "port": 3905, + "topicCommInfrastructure": "DMAAP", + "https": true + } + ], + "topicSources": [ + { + "topic": "APPC-LCM-WRITE", + "servers": ["localhost"], + "port": 3905, + "topicCommInfrastructure": "DMAAP", + "https": true + } + ], + "topicServers": [ + { + "name": "Invalid Topic simulator", + "providerClass": "org.onap.policy.simulators.InvalidTopicServer", + "sink": "APPC-LCM-READ", + "source": "APPC-LCM-WRITE" + } + ] +} -- cgit 1.2.3-korg