diff options
author | Marcin Migdal <marcin.migdal@nokia.com> | 2019-05-08 14:52:49 +0200 |
---|---|---|
committer | Marcin Migdal <marcin.migdal@nokia.com> | 2019-05-08 15:35:39 +0200 |
commit | 9717abaa601a904f7d2da4446fa11f5bca9d3053 (patch) | |
tree | bc5af40784c1b55e55017569d8ade480ef32f12f /tests/dcaegen2/prh-testcases/resources | |
parent | be43a7431e6e3e20596e89986f514037db703cff (diff) |
PRH CSIT docker compose add VESCollector entry to consul
Change-Id: I04e3c9bbee1c600dda8d6b2f908fd11baa229862
Issue-ID: INT-1072
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources')
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/docker-compose.yml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/docker-compose.yml b/tests/dcaegen2/prh-testcases/resources/docker-compose.yml index 992534fb..7b208b8b 100644 --- a/tests/dcaegen2/prh-testcases/resources/docker-compose.yml +++ b/tests/dcaegen2/prh-testcases/resources/docker-compose.yml @@ -156,6 +156,76 @@ services: depends_on: - consul + consul-cfg-dcae-ves-collector: + image: consul:1.0.6 + restart: on-failure + command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-ves-collector",'{ + "collector.dynamic.config.update.frequency": "5", + "event.transform.flag": "0", + "collector.schema.checkflag": "1", + "collector.dmaap.streamid": "fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurementsForVfScaling=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration", + "collector.service.port": "8080", + "collector.schema.file":"{ + \"v1\":\"./etc/CommonEventFormat_27.2.json\", + \"v2\":\"./etc/CommonEventFormat_27.2.json\", + \"v3\":\"./etc/CommonEventFormat_27.2.json\", + \"v4\":\"./etc/CommonEventFormat_27.2.json\", + \"v5\":\"./etc/CommonEventFormat_28.4.1.json\", + \"v7\":\"./etc/CommonEventFormat_30.0.1.json\" + }", + "collector.keystore.passwordfile": "/opt/app/VESCollector/etc/passwordfile", + "collector.inputQueue.maxPending": "8096", + "streams_publishes":{ + "ves-measurement": { + "type": "message_router", + "dmaap_info": { + "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_MEASUREMENT_OUTPUT/" + } + }, + "ves-fault": { + "type": "message_router", + "dmaap_info": { + "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_FAULT_OUTPUT/" + } + }, + "ves-pnfRegistration": { + "type": "message_router", + "dmaap_info": { + "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT/" + } + }, + "ves-other": { + "type": "message_router", + "dmaap_info": { + "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_OTHER_OUTPUT/" + } + }, + "ves-heartbeat": { + "type": "message_router", + "dmaap_info": { + "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_HEARTBEAT_OUTPUT/" + } + }, + "ves-notification": { + "type": "message_router", + "dmaap_info": { + "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT/" + } + } + }, + "collector.service.secure.port": "8443", + "header.authflag": "0", + "collector.keystore.file.location": "/opt/app/VESCollector/etc/keystore", + "collector.keystore.alias": + "dynamically generated", + "services_calls": [], + "header.authlist": "sample1,c2FtcGxlMQ==" + }'] + container_name: consul-cfg-dcae-ves-collector + depends_on: + - consul + + cbs: image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4 ports: |