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