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 "logging.level.org.onap.dcaegen2.services.prh": "debug",
58 "logging.level.org.onap.dcaegen2.services.sdk": "debug",
59 "dmaap.dmaapConsumerConfiguration.dmaapUserName":"admin",
60 "dmaap.dmaapConsumerConfiguration.dmaapUserPassword":"admin",
61 "dmaap.dmaapConsumerConfiguration.dmaapContentType": "application/json",
62 "dmaap.dmaapConsumerConfiguration.consumerId": "c12",
63 "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12",
64 "dmaap.dmaapConsumerConfiguration.timeoutMs": -1,
65 "dmaap.dmaapProducerConfiguration.dmaapUserName":"admin",
66 "dmaap.dmaapProducerConfiguration.dmaapUserPassword":"admin",
67 "dmaap.dmaapProducerConfiguration.dmaapContentType": "application/json",
68 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin",
69 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin",
70 "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json",
71 "aai.aaiClientConfiguration.pnfUrl":"https://aai:3334/aai/v12/network/pnfs/pnf",
72 "aai.aaiClientConfiguration.aaiUserName": "DCAE",
73 "aai.aaiClientConfiguration.aaiUserPassword": "DCAE",
74 "aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors": true,
75 "aai.aaiClientConfiguration.aaiServiceInstancePath":"/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}",
76 "aai.aaiClientConfiguration.aaiHeaders":{
78 "X-TransactionId": "9999",
79 "Accept": "application/json",
81 "Authorization": "Basic QUFJOkFBSQ=="
83 "security.trustStorePath":"/tmp/certs/truststore.jks",
84 "security.trustStorePasswordPath":"/tmp/certs/truststore.password",
85 "security.keyStorePath":"/tmp/certs/keystore.p12",
86 "security.keyStorePasswordPath":"/tmp/certs/keystore.password",
87 "security.enableAaiCertAuth":true,
88 "security.enableDmaapCertAuth":true,
92 "type": "message_router",
94 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.PNF_UPDATE"
98 "type": "message_router",
100 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.PNF_READY"
104 "streams_subscribes":{
106 "type": "message_router",
108 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.VES_PNFREG_OUTPUT"
114 container_name: consul-cfg
118 consul-cfg-dcae-ves-collector:
121 command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-ves-collector",'{
122 "collector.dynamic.config.update.frequency": "5",
123 "event.transform.flag": "0",
124 "collector.schema.checkflag": "1",
125 "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",
126 "collector.service.port": "8080",
127 "collector.schema.file":"{
128 \"v1\":\"./etc/CommonEventFormat_27.2.json\",
129 \"v2\":\"./etc/CommonEventFormat_27.2.json\",
130 \"v3\":\"./etc/CommonEventFormat_27.2.json\",
131 \"v4\":\"./etc/CommonEventFormat_27.2.json\",
132 \"v5\":\"./etc/CommonEventFormat_28.4.1.json\",
133 \"v7\":\"./etc/CommonEventFormat_30.0.1.json\"
135 "collector.keystore.passwordfile": "/opt/app/VESCollector/etc/passwordfile",
136 "collector.inputQueue.maxPending": "8096",
137 "streams_publishes":{
139 "type": "message_router",
141 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_MEASUREMENT_OUTPUT/"
145 "type": "message_router",
147 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_FAULT_OUTPUT/"
150 "ves-pnfRegistration": {
151 "type": "message_router",
153 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT/"
157 "type": "message_router",
159 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_OTHER_OUTPUT/"
163 "type": "message_router",
165 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_HEARTBEAT_OUTPUT/"
168 "ves-notification": {
169 "type": "message_router",
171 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT/"
175 "collector.service.secure.port": "8443",
176 "header.authflag": "0",
177 "collector.keystore.file.location": "/opt/app/VESCollector/etc/keystore",
178 "collector.keystore.alias":
179 "dynamically generated",
180 "services_calls": [],
181 "header.authlist": "sample1,c2FtcGxlMQ=="
183 container_name: consul-cfg-dcae-ves-collector
189 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4
197 test: ["CMD", "curl", "-f", "http://localhost:10000/service_component_all/dcae-prh"]