aboutsummaryrefslogtreecommitdiffstats
path: root/rest-services/cbs-client/src/test/resources
diff options
context:
space:
mode:
Diffstat (limited to 'rest-services/cbs-client/src/test/resources')
-rw-r--r--rest-services/cbs-client/src/test/resources/sample_config.json32
-rw-r--r--rest-services/cbs-client/src/test/resources/streams/kafka_invalid_type.json (renamed from rest-services/cbs-client/src/test/resources/streams/kafka_sink_invalid_type.json)0
-rw-r--r--rest-services/cbs-client/src/test/resources/streams/kafka_sink.json4
-rw-r--r--rest-services/cbs-client/src/test/resources/streams/kafka_source.json14
4 files changed, 49 insertions, 1 deletions
diff --git a/rest-services/cbs-client/src/test/resources/sample_config.json b/rest-services/cbs-client/src/test/resources/sample_config.json
index a95b723f..266326f4 100644
--- a/rest-services/cbs-client/src/test/resources/sample_config.json
+++ b/rest-services/cbs-client/src/test/resources/sample_config.json
@@ -1,3 +1,33 @@
{
- "keystore.path": "/var/run/security/keystore.p12"
+ "keystore.path": "/var/run/security/keystore.p12",
+ "streams_publishes": {
+ "perf3gpp": {
+ "type": "kafka",
+ "kafka_info": {
+ "bootstrap_servers": "dmaap-mr-kafka:6060",
+ "topic_name": "HVVES_PERF3GPP"
+ }
+ },
+ "pnf_ready": {
+ "type": "message_router",
+ "dmaap_info": {
+ "topic_url": "http://message-router:3904/events/VES_PNF_READY"
+ }
+ },
+ "call_trace": {
+ "type": "kafka",
+ "kafka_info": {
+ "bootstrap_servers": "dmaap-mr-kafka:6060",
+ "topic_name": "HVVES_TRACE"
+ }
+ }
+ },
+ "streams_subscribes": {
+ "measurements": {
+ "type": "message_router",
+ "dmaap_info": {
+ "topic_url": "http://message-router:3904/events/VES_MEASUREMENT"
+ }
+ }
+ }
}
diff --git a/rest-services/cbs-client/src/test/resources/streams/kafka_sink_invalid_type.json b/rest-services/cbs-client/src/test/resources/streams/kafka_invalid_type.json
index 0ee88adb..0ee88adb 100644
--- a/rest-services/cbs-client/src/test/resources/streams/kafka_sink_invalid_type.json
+++ b/rest-services/cbs-client/src/test/resources/streams/kafka_invalid_type.json
diff --git a/rest-services/cbs-client/src/test/resources/streams/kafka_sink.json b/rest-services/cbs-client/src/test/resources/streams/kafka_sink.json
index b60388d5..e7b45508 100644
--- a/rest-services/cbs-client/src/test/resources/streams/kafka_sink.json
+++ b/rest-services/cbs-client/src/test/resources/streams/kafka_sink.json
@@ -1,5 +1,9 @@
{
"type": "kafka",
+ "aaf_credentials": {
+ "username": "the user",
+ "password": "the passwd"
+ },
"kafka_info": {
"client_role": "com.dcae.member",
"client_id": "1500462518108",
diff --git a/rest-services/cbs-client/src/test/resources/streams/kafka_source.json b/rest-services/cbs-client/src/test/resources/streams/kafka_source.json
new file mode 100644
index 00000000..379dbef1
--- /dev/null
+++ b/rest-services/cbs-client/src/test/resources/streams/kafka_source.json
@@ -0,0 +1,14 @@
+{
+ "type": "kafka",
+ "aaf_credentials": {
+ "username": "the user",
+ "password": "the passwd"
+ },
+ "kafka_info": {
+ "client_role": "com.dcae.member",
+ "client_id": "1500462518108",
+ "bootstrap_servers": "dmaap-mr-kafka-0:6060,,dmaap-mr-kafka-1:6060,",
+ "topic_name": "HVVES_PERF3GPP",
+ "consumer_group_id": "nokia-perf3gpp-processor"
+ }
+}