4 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest
9 - ./simulator/certs:/tmp/certs
15 - CONFIG_BINDING_SERVICE
19 condition: service_healthy
21 condition: service_started
23 condition: service_started
28 dockerfile: DMaaP_simulator
33 container_name: dmaap_simulator
38 dockerfile: AAI_simulator
43 container_name: aai_simulator
49 command: ["agent", "-bootstrap", "-client=0.0.0.0", "-server", "-ui", "-config-dir=/consul/consul.d"]
51 - ./consul.d/:/consul/consul.d
52 container_name: consul
57 command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-prh", '{
58 "dmaap.dmaapConsumerConfiguration.dmaapUserName":"admin",
59 "dmaap.dmaapConsumerConfiguration.dmaapUserPassword":"admin",
60 "dmaap.dmaapConsumerConfiguration.dmaapContentType": "application/json",
61 "dmaap.dmaapConsumerConfiguration.consumerId": "c12",
62 "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12",
63 "dmaap.dmaapConsumerConfiguration.timeoutMs": -1,
64 "dmaap.dmaapProducerConfiguration.dmaapUserName":"admin",
65 "dmaap.dmaapProducerConfiguration.dmaapUserPassword":"admin",
66 "dmaap.dmaapProducerConfiguration.dmaapContentType": "application/json",
67 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin",
68 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin",
69 "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json",
70 "aai.aaiClientConfiguration.pnfUrl":"https://aai:3334/aai/v12/network/pnfs/pnf",
71 "aai.aaiClientConfiguration.aaiUserName": "DCAE",
72 "aai.aaiClientConfiguration.aaiUserPassword": "DCAE",
73 "aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors": true,
74 "aai.aaiClientConfiguration.aaiServiceInstancePath":"/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}",
75 "aai.aaiClientConfiguration.aaiHeaders":{
77 "X-TransactionId": "9999",
78 "Accept": "application/json",
80 "Authorization": "Basic QUFJOkFBSQ=="
82 "security.trustStorePath":"/tmp/certs/truststore.jks",
83 "security.trustStorePasswordPath":"/tmp/certs/truststore.password",
84 "security.keyStorePath":"/tmp/certs/keystore.p12",
85 "security.keyStorePasswordPath":"/tmp/certs/keystore.password",
86 "security.enableAaiCertAuth":true,
87 "security.enableDmaapCertAuth":true,
91 "type": "message_router",
93 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.PNF_UPDATE"
97 "type": "message_router",
99 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.PNF_READY"
103 "streams_subscribes":{
105 "type": "message_router",
107 "topic_url":"https://dmaap-mr:2223/events/unauthenticated.VES_PNFREG_OUTPUT"
113 container_name: consul-cfg
117 consul-cfg-dcae-ves-collector:
120 command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-ves-collector",'{
121 "collector.dynamic.config.update.frequency": "5",
122 "event.transform.flag": "0",
123 "collector.schema.checkflag": "1",
124 "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",
125 "collector.service.port": "8080",
126 "collector.schema.file":"{
127 \"v1\":\"./etc/CommonEventFormat_27.2.json\",
128 \"v2\":\"./etc/CommonEventFormat_27.2.json\",
129 \"v3\":\"./etc/CommonEventFormat_27.2.json\",
130 \"v4\":\"./etc/CommonEventFormat_27.2.json\",
131 \"v5\":\"./etc/CommonEventFormat_28.4.1.json\",
132 \"v7\":\"./etc/CommonEventFormat_30.0.1.json\"
134 "collector.keystore.passwordfile": "/opt/app/VESCollector/etc/passwordfile",
135 "collector.inputQueue.maxPending": "8096",
136 "streams_publishes":{
138 "type": "message_router",
140 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_MEASUREMENT_OUTPUT/"
144 "type": "message_router",
146 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_FAULT_OUTPUT/"
149 "ves-pnfRegistration": {
150 "type": "message_router",
152 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT/"
156 "type": "message_router",
158 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_OTHER_OUTPUT/"
162 "type": "message_router",
164 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.SEC_HEARTBEAT_OUTPUT/"
167 "ves-notification": {
168 "type": "message_router",
170 "topic_url": "http://dmaap-mr:2222/events/unauthenticated.VES_NOTIFICATION_OUTPUT/"
174 "collector.service.secure.port": "8443",
175 "header.authflag": "0",
176 "collector.keystore.file.location": "/opt/app/VESCollector/etc/keystore",
177 "collector.keystore.alias":
178 "dynamically generated",
179 "services_calls": [],
180 "header.authlist": "sample1,c2FtcGxlMQ=="
182 container_name: consul-cfg-dcae-ves-collector
188 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4
196 test: ["CMD", "curl", "-f", "http://localhost:10000/service_component_all/dcae-prh"]