summaryrefslogtreecommitdiffstats
path: root/models-interactions/model-simulators/src/test/resources
diff options
context:
space:
mode:
authordc443y <dc443y@att.com>2022-01-21 14:43:18 -0600
committerdc443y <dc443y@att.com>2022-01-21 14:59:42 -0600
commitc445d7865f1ded1c62f720abb70382b2963fff57 (patch)
tree059ff8eaa968a5e2a1c39a0a456741e6f94097ae /models-interactions/model-simulators/src/test/resources
parent7a718bd9b82ac16e5d49a1a2fb2256682f020656 (diff)
Add configurable port and authentication to DMaaP simulator
Issue-ID: POLICY-3890 Signed-off-by: dc443y <dc443y@att.com> Change-Id: Idbeb3590a767e51aa0058a7a45d56a61e81301cb
Diffstat (limited to 'models-interactions/model-simulators/src/test/resources')
-rw-r--r--models-interactions/model-simulators/src/test/resources/keystore-testbin0 -> 3895 bytes
-rw-r--r--models-interactions/model-simulators/src/test/resources/org/onap/policy/simulators/dmaap/TopicParameters.json23
2 files changed, 23 insertions, 0 deletions
diff --git a/models-interactions/model-simulators/src/test/resources/keystore-test b/models-interactions/model-simulators/src/test/resources/keystore-test
new file mode 100644
index 000000000..5820e0f0c
--- /dev/null
+++ b/models-interactions/model-simulators/src/test/resources/keystore-test
Binary files differ
diff --git a/models-interactions/model-simulators/src/test/resources/org/onap/policy/simulators/dmaap/TopicParameters.json b/models-interactions/model-simulators/src/test/resources/org/onap/policy/simulators/dmaap/TopicParameters.json
index ba1f4806f..03531918b 100644
--- a/models-interactions/model-simulators/src/test/resources/org/onap/policy/simulators/dmaap/TopicParameters.json
+++ b/models-interactions/model-simulators/src/test/resources/org/onap/policy/simulators/dmaap/TopicParameters.json
@@ -7,6 +7,18 @@
],
"topicCommInfrastructure": "dmaap",
"fetchTimeout": 100
+ },
+ {
+ "topic": "MY-AUTH-TOPIC",
+ "servers": [
+ "localhost:${authPort}"
+ ],
+ "topicCommInfrastructure": "dmaap",
+ "fetchTimeout": 100,
+ "useHttps": true,
+ "allowSelfSignedCerts": true,
+ "userName": "my-username",
+ "password": "my-password"
}
],
"topicSinks": [
@@ -16,6 +28,17 @@
"localhost:${port}"
],
"topicCommInfrastructure": "dmaap"
+ },
+ {
+ "topic": "MY-AUTH-TOPIC",
+ "servers": [
+ "localhost:${authPort}"
+ ],
+ "topicCommInfrastructure": "dmaap",
+ "useHttps": true,
+ "allowSelfSignedCerts": true,
+ "userName": "my-username",
+ "password": "my-password"
}
]
} \ No newline at end of file