diff options
author | Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com> | 2021-04-26 10:02:00 +0200 |
---|---|---|
committer | Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com> | 2021-04-29 10:38:11 +0200 |
commit | a424173f03b236958d4a454c95a1a7597073cea6 (patch) | |
tree | 231e4a757f8ae1315c73d99de00ec1adb67810f0 /rest-services/cbs-client/src/test/resources | |
parent | 6ff688ba54d1ec40e6f6a6e5dd02ef6b6e29dd54 (diff) |
CBS-Client to support config fetch from a configMap
Change-Id: I2ad57844d142ece3275ed6d8586d8689b296bbbe
Issue-ID: DCAEGEN2-2716
Signed-off-by: Tomasz Pietruszkiewicz <tomasz.pietruszkiewicz@nokia.com>
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Diffstat (limited to 'rest-services/cbs-client/src/test/resources')
-rw-r--r-- | rest-services/cbs-client/src/test/resources/application_config.yaml | 10 | ||||
-rw-r--r-- | rest-services/cbs-client/src/test/resources/sample_local_service_config.json | 33 |
2 files changed, 43 insertions, 0 deletions
diff --git a/rest-services/cbs-client/src/test/resources/application_config.yaml b/rest-services/cbs-client/src/test/resources/application_config.yaml new file mode 100644 index 00000000..c43b9733 --- /dev/null +++ b/rest-services/cbs-client/src/test/resources/application_config.yaml @@ -0,0 +1,10 @@ +--- +streams_publishes: + perf3gpp: + type: kafka + aaf_credentials: + username: admin + password: admin_secret + kafka_info: + bootstrap_servers: message-router-kafka-0:9093 + topic_name: HV_VES_PERF3GPP diff --git a/rest-services/cbs-client/src/test/resources/sample_local_service_config.json b/rest-services/cbs-client/src/test/resources/sample_local_service_config.json new file mode 100644 index 00000000..af0ce6d5 --- /dev/null +++ b/rest-services/cbs-client/src/test/resources/sample_local_service_config.json @@ -0,0 +1,33 @@ +{ + "keystore.path": "/var/run/security/keystore_file.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" + } + } + } +} |