summaryrefslogtreecommitdiffstats
path: root/models-sim/policy-models-simulators/src/test/resources/invalidTopicServer.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/invalidTopicServer.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/invalidTopicServer.json')
-rw-r--r--models-sim/policy-models-simulators/src/test/resources/invalidTopicServer.json35
1 files changed, 35 insertions, 0 deletions
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"
+ }
+ ]
+}