blob: fdb1c50efa3973f80bb846f68277c11653acbd8a [file] [log] [blame]
Piotr Bocheński2378ea12019-03-12 16:49:08 +01001version: "3"
Gary Wu9abb61c2018-09-27 10:38:50 -07002services:
3 prh:
4 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest
Gary Wu9abb61c2018-09-27 10:38:50 -07005 ports:
6 - "8100:8100"
7 - "8433:8433"
Piotr Bocheński2378ea12019-03-12 16:49:08 +01008 environment:
9 - LOG_LEVEL
10 - PRH_LOG_LEVEL
Gary Wu9abb61c2018-09-27 10:38:50 -070011 container_name: prh
12 depends_on:
Piotr Bocheński2378ea12019-03-12 16:49:08 +010013 - cbs
Marcin Migdal4882c742019-04-09 10:49:37 +020014 - dmaap-mr
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010015 - aai
Gary Wu9abb61c2018-09-27 10:38:50 -070016
pkaras55d36862018-10-17 15:08:34 +020017 ssl_prh:
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010018 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010019 ports:
20 - "8200:8100"
21 - "8533:8433"
22 volumes:
23 - ./simulator/certs:/tmp/certs
Piotr Bocheński2378ea12019-03-12 16:49:08 +010024 environment:
25 - LOG_LEVEL
26 - PRH_LOG_LEVEL
27 - HOSTNAME
28 - CONSUL_HOST
29 - CONFIG_BINDING_SERVICE
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010030 container_name: ssl_prh
31 depends_on:
Piotr Bocheński2378ea12019-03-12 16:49:08 +010032 - cbs
Marcin Migdal4882c742019-04-09 10:49:37 +020033 - dmaap-mr
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010034 - aai
pkaras55d36862018-10-17 15:08:34 +020035
Marcin Migdal4882c742019-04-09 10:49:37 +020036 dmaap-mr:
Gary Wu9abb61c2018-09-27 10:38:50 -070037 build:
38 context: simulator
39 dockerfile: DMaaP_simulator
40 ports:
41 - "2222:2222"
pkarasc7abba82018-10-22 12:22:35 +020042 - "2223:2223"
43 - "2224:2224"
Gary Wu9abb61c2018-09-27 10:38:50 -070044 container_name: dmaap_simulator
45
46 aai:
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010047 build:
48 context: simulator
49 dockerfile: AAI_simulator
50 ports:
Gary Wu9abb61c2018-09-27 10:38:50 -070051 - "3333:3333"
pkaras55d36862018-10-17 15:08:34 +020052 - "3334:3334"
53 - "3335:3335"
Piotr Bocheńskibeebb962019-01-25 15:38:39 +010054 container_name: aai_simulator
Piotr Bocheński2378ea12019-03-12 16:49:08 +010055
56 consul:
Piotr Bocheński8ee0ef72019-03-13 12:13:05 +010057 image: consul:1.0.6
Piotr Bocheński2378ea12019-03-12 16:49:08 +010058 ports:
59 - "8500:8500"
Marcin Migdal0a5e1152019-04-10 16:13:08 +020060 command: ["agent", "-bootstrap", "-client=0.0.0.0", "-server", "-ui", "-config-dir=/consul/consul.d"]
Piotr Bocheński2378ea12019-03-12 16:49:08 +010061 volumes:
62 - ./consul.d/:/consul/consul.d
Marcin Migdal26125b12019-04-11 16:17:18 +020063 container_name: consul
Piotr Bocheński2378ea12019-03-12 16:49:08 +010064
65 consul-cfg:
Piotr Bocheński8ee0ef72019-03-13 12:13:05 +010066 image: consul:1.0.6
Piotr Bocheński2378ea12019-03-12 16:49:08 +010067 restart: on-failure
Piotr Bocheński8ee0ef72019-03-13 12:13:05 +010068 command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-prh", '{
Marcin Migdal2a64cd82019-04-09 13:13:41 +020069 "dmaap.dmaapConsumerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT",
Marcin Migdal4882c742019-04-09 10:49:37 +020070 "dmaap.dmaapConsumerConfiguration.dmaapHostName":"dmaap-mr",
Marcin Migdal70c4e532019-04-16 14:35:58 +020071 "dmaap.dmaapConsumerConfiguration.dmaapPortNumber":2222,
Marcin Migdalf0e481e2019-04-08 10:15:17 +020072 "dmaap.dmaapConsumerConfiguration.dmaapTopicName": "events/unauthenticated.VES_PNFREG_OUTPUT",
73 "dmaap.dmaapConsumerConfiguration.dmaapProtocol":"http",
74 "dmaap.dmaapConsumerConfiguration.dmaapUserName":"admin",
75 "dmaap.dmaapConsumerConfiguration.dmaapUserPassword":"admin",
76 "dmaap.dmaapConsumerConfiguration.dmaapContentType": "application/json",
77 "dmaap.dmaapConsumerConfiguration.consumerId": "c12",
Marcin Migdale12311d2019-04-08 11:53:21 +020078 "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12",
Marcin Migdalf0e481e2019-04-08 10:15:17 +020079 "dmaap.dmaapConsumerConfiguration.timeoutMs": -1,
80 "dmaap.dmaapConsumerConfiguration.messageLimit": -1,
81
Marcin Migdal2a64cd82019-04-09 13:13:41 +020082 "dmaap.dmaapProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY",
Marcin Migdal4882c742019-04-09 10:49:37 +020083 "dmaap.dmaapProducerConfiguration.dmaapHostName":"dmaap-mr",
Marcin Migdal70c4e532019-04-16 14:35:58 +020084 "dmaap.dmaapProducerConfiguration.dmaapPortNumber":2222,
Marcin Migdalf0e481e2019-04-08 10:15:17 +020085 "dmaap.dmaapProducerConfiguration.dmaapTopicName": "events/unauthenticated.PNF_READY",
86 "dmaap.dmaapProducerConfiguration.dmaapProtocol":"http",
87 "dmaap.dmaapProducerConfiguration.dmaapUserName":"admin",
88 "dmaap.dmaapProducerConfiguration.dmaapUserPassword":"admin",
89 "dmaap.dmaapProducerConfiguration.dmaapContentType": "application/json",
90
Marcin Migdal2a64cd82019-04-09 13:13:41 +020091 "dmaap.dmaapUpdateProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE",
Marcin Migdal4882c742019-04-09 10:49:37 +020092 "dmaap.dmaapUpdateProducerConfiguration.dmaapHostName": "dmaap-mr",
Marcin Migdal70c4e532019-04-16 14:35:58 +020093 "dmaap.dmaapUpdateProducerConfiguration.dmaapPortNumber": 2222,
Marcin Migdale12311d2019-04-08 11:53:21 +020094 "dmaap.dmaapUpdateProducerConfiguration.dmaapTopicName": "events/unauthenticated.PNF_UPDATE",
95 "dmaap.dmaapUpdateProducerConfiguration.dmaapProtocol": "http",
Marcin Migdalf0e481e2019-04-08 10:15:17 +020096 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin",
97 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin",
98 "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json",
99
Marcin Migdal70c4e532019-04-16 14:35:58 +0200100 "aai.aaiClientConfiguration.pnfUrl":"https://aai:3334/aai/v12/network/pnfs/pnf",
Piotr Bocheński2378ea12019-03-12 16:49:08 +0100101 "aai.aaiClientConfiguration.aaiHost":"aai",
Marcin Migdalf0e481e2019-04-08 10:15:17 +0200102 "aai.aaiClientConfiguration.aaiHostPortNumber":3334,
Piotr Bocheński2378ea12019-03-12 16:49:08 +0100103 "aai.aaiClientConfiguration.aaiProtocol":"https",
Marcin Migdalf0e481e2019-04-08 10:15:17 +0200104 "aai.aaiClientConfiguration.aaiUserName": "DCAE",
105 "aai.aaiClientConfiguration.aaiUserPassword": "DCAE",
106 "aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors": true,
107 "aai.aaiClientConfiguration.aaiBasePath": "/aai/v12",
108 "aai.aaiClientConfiguration.aaiPnfPath": "/network/pnfs/pnf",
Marcin Migdale1a02dc2019-04-08 12:29:04 +0200109 "aai.aaiClientConfiguration.aaiServiceInstancePath":"/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}",
Marcin Migdal84372b92019-04-09 14:55:48 +0200110 "aai.aaiClientConfiguration.aaiHeaders":{
111 "X-FromAppId": "prh",
112 "X-TransactionId": "9999",
113 "Accept": "application/json",
114 "Real-Time": "true",
115 "Authorization": "Basic QUFJOkFBSQ=="
116 },
Marcin Migdale1a02dc2019-04-08 12:29:04 +0200117
118 "security.trustStorePath":"change it",
119 "security.trustStorePasswordPath":"change it",
120 "security.keyStorePath":"change it",
121 "security.keyStorePasswordPath":"change it",
122 "security.enableAaiCertAuth":false,
Marcin Migdal4882c742019-04-09 10:49:37 +0200123 "security.enableDmaapCertAuth":false,
124
125 "streams_publishes":{
126 "pnf-update":{
Marcin Migdal92c6c3c2019-04-11 14:07:59 +0200127 "type": "message_router",
Marcin Migdal4882c742019-04-09 10:49:37 +0200128 "dmaap_info":{
129 "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE"
130 }
131 },
132 "pnf-ready":{
Marcin Migdal92c6c3c2019-04-11 14:07:59 +0200133 "type": "message_router",
Marcin Migdal4882c742019-04-09 10:49:37 +0200134 "dmaap_info":{
135 "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY"
136 }
137 }
138 },
139 "streams_subscribes":{
140 "ves-reg-output":{
Marcin Migdal92c6c3c2019-04-11 14:07:59 +0200141 "type": "message_router",
Marcin Migdal4882c742019-04-09 10:49:37 +0200142 "dmaap_info":{
143 "topic_url":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT"
144 }
145 }
146 }
Piotr Bocheński2378ea12019-03-12 16:49:08 +0100147 }'
148 ]
Marcin Migdal26125b12019-04-11 16:17:18 +0200149 container_name: consul-cfg
Piotr Bocheński2378ea12019-03-12 16:49:08 +0100150 depends_on:
151 - consul
152
153 cbs:
154 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4
155 ports:
156 - "10000:10000"
157 environment:
158 - CONSUL_HOST
159 depends_on:
160 - consul-cfg
Marcin Migdalfba99a52019-04-15 14:36:45 +0200161 container_name: cbs
162
163
164