4 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest
9 - ./simulator/certs:/tmp/certs
12 - CONSUL_HOST # not in use, but still required by SDK - should be removed later on
13 - CONFIG_BINDING_SERVICE
14 - CONFIG_BINDING_SERVICE_SERVICE_PORT
18 condition: service_healthy
20 condition: service_started
22 condition: service_started
27 dockerfile: DMaaP_simulator
32 container_name: dmaap_simulator
37 dockerfile: AAI_simulator
42 container_name: aai_simulator
48 command: ["agent", "-bootstrap", "-client=0.0.0.0", "-server", "-ui", "-config-dir=/consul/consul.d"]
50 - ./consul.d/:/consul/consul.d
51 container_name: consul
56 command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-prh", '{
57 "cbs.updates-interval": 0,
58 "logging.level.org.onap.dcaegen2.services.prh": "debug",
59 "logging.level.org.onap.dcaegen2.services.sdk": "debug",
60 "dmaap.dmaapConsumerConfiguration.dmaapUserName":"admin",
61 "dmaap.dmaapConsumerConfiguration.dmaapUserPassword":"admin",
62 "dmaap.dmaapConsumerConfiguration.dmaapContentType": "application/json",
63 "dmaap.dmaapConsumerConfiguration.consumerId": "c12",
64 "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12",
65 "dmaap.dmaapConsumerConfiguration.timeoutMs": -1,
66 "dmaap.dmaapProducerConfiguration.dmaapUserName":"admin",
67 "dmaap.dmaapProducerConfiguration.dmaapUserPassword":"admin",
68 "dmaap.dmaapProducerConfiguration.dmaapContentType": "application/json",
69 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin",
70 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin",
71 "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json",
72 "aai.aaiClientConfiguration.pnfUrl":"https://aai:3334/aai/v12/network/pnfs/pnf",
73 "aai.aaiClientConfiguration.aaiUserName": "DCAE",
74 "aai.aaiClientConfiguration.aaiUserPassword": "DCAE",
75 "aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors": true,
76 "aai.aaiClientConfiguration.aaiServiceInstancePath":"/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}",
77 "aai.aaiClientConfiguration.aaiHeaders":{
79 "X-TransactionId": "9999",
80 "Accept": "application/json",
82 "Authorization": "Basic QUFJOkFBSQ=="
84 "security.trustStorePath":"/tmp/certs/truststore.jks",
85 "security.trustStorePasswordPath":"/tmp/certs/truststore.password",
86 "security.keyStorePath":"/tmp/certs/keystore.p12",
87 "security.keyStorePasswordPath":"/tmp/certs/keystore.password",
88 "security.enableAaiCertAuth":true,
89 "security.enableDmaapCertAuth":true,
93 "type": "message_router",
95 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.PNF_UPDATE"
99 "type": "message_router",
101 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.PNF_READY"
105 "streams_subscribes":{
107 "type": "message_router",
109 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.VES_PNFREG_OUTPUT"
115 container_name: consul-cfg
119 consul-cfg-dcae-ves-collector:
122 command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-ves-collector",'{
123 "collector.dynamic.config.update.frequency": "5",
124 "event.transform.flag": "0",
125 "collector.schema.checkflag": "1",
126 "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",
127 "collector.service.port": "8080",
128 "collector.schema.file":"{
129 \"v1\":\"./etc/CommonEventFormat_27.2.json\",
130 \"v2\":\"./etc/CommonEventFormat_27.2.json\",
131 \"v3\":\"./etc/CommonEventFormat_27.2.json\",
132 \"v4\":\"./etc/CommonEventFormat_27.2.json\",
133 \"v5\":\"./etc/CommonEventFormat_28.4.1.json\",
134 \"v7\":\"./etc/CommonEventFormat_30.0.1.json\"
136 "collector.keystore.passwordfile": "/opt/app/VESCollector/etc/passwordfile",
137 "collector.inputQueue.maxPending": "8096",
138 "streams_publishes":{
140 "type": "message_router",
142 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_MEASUREMENT_OUTPUT/"
146 "type": "message_router",
148 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_FAULT_OUTPUT/"
151 "ves-pnfRegistration": {
152 "type": "message_router",
154 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT/"
158 "type": "message_router",
160 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_OTHER_OUTPUT/"
164 "type": "message_router",
166 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_HEARTBEAT_OUTPUT/"
169 "ves-notification": {
170 "type": "message_router",
172 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT/"
176 "collector.service.secure.port": "8443",
177 "header.authflag": "0",
178 "collector.keystore.file.location": "/opt/app/VESCollector/etc/keystore",
179 "collector.keystore.alias":
180 "dynamically generated",
181 "services_calls": [],
182 "header.authlist": "sample1,c2FtcGxlMQ=="
184 container_name: consul-cfg-dcae-ves-collector
190 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4
198 test: ["CMD", "curl", "-f", "http://localhost:10000/service_component_all/dcae-prh"]