blob: 863a427ab52001af0de15eefe9dfd90da62331b7 [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
63
64 consul-cfg:
Piotr Bocheński8ee0ef72019-03-13 12:13:05 +010065 image: consul:1.0.6
Piotr Bocheński2378ea12019-03-12 16:49:08 +010066 restart: on-failure
Piotr Bocheński8ee0ef72019-03-13 12:13:05 +010067 command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-prh", '{
Marcin Migdal2a64cd82019-04-09 13:13:41 +020068 "dmaap.dmaapConsumerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT",
Marcin Migdal4882c742019-04-09 10:49:37 +020069 "dmaap.dmaapConsumerConfiguration.dmaapHostName":"dmaap-mr",
Piotr Bocheński2378ea12019-03-12 16:49:08 +010070 "dmaap.dmaapConsumerConfiguration.dmaapPortNumber":2223,
Marcin Migdalf0e481e2019-04-08 10:15:17 +020071 "dmaap.dmaapConsumerConfiguration.dmaapTopicName": "events/unauthenticated.VES_PNFREG_OUTPUT",
72 "dmaap.dmaapConsumerConfiguration.dmaapProtocol":"http",
73 "dmaap.dmaapConsumerConfiguration.dmaapUserName":"admin",
74 "dmaap.dmaapConsumerConfiguration.dmaapUserPassword":"admin",
75 "dmaap.dmaapConsumerConfiguration.dmaapContentType": "application/json",
76 "dmaap.dmaapConsumerConfiguration.consumerId": "c12",
Marcin Migdale12311d2019-04-08 11:53:21 +020077 "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12",
Marcin Migdalf0e481e2019-04-08 10:15:17 +020078 "dmaap.dmaapConsumerConfiguration.timeoutMs": -1,
79 "dmaap.dmaapConsumerConfiguration.messageLimit": -1,
80
Marcin Migdal2a64cd82019-04-09 13:13:41 +020081 "dmaap.dmaapProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY",
Marcin Migdal4882c742019-04-09 10:49:37 +020082 "dmaap.dmaapProducerConfiguration.dmaapHostName":"dmaap-mr",
Piotr Bocheński2378ea12019-03-12 16:49:08 +010083 "dmaap.dmaapProducerConfiguration.dmaapPortNumber":2223,
Marcin Migdalf0e481e2019-04-08 10:15:17 +020084 "dmaap.dmaapProducerConfiguration.dmaapTopicName": "events/unauthenticated.PNF_READY",
85 "dmaap.dmaapProducerConfiguration.dmaapProtocol":"http",
86 "dmaap.dmaapProducerConfiguration.dmaapUserName":"admin",
87 "dmaap.dmaapProducerConfiguration.dmaapUserPassword":"admin",
88 "dmaap.dmaapProducerConfiguration.dmaapContentType": "application/json",
89
Marcin Migdal2a64cd82019-04-09 13:13:41 +020090 "dmaap.dmaapUpdateProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE",
Marcin Migdal4882c742019-04-09 10:49:37 +020091 "dmaap.dmaapUpdateProducerConfiguration.dmaapHostName": "dmaap-mr",
Marcin Migdalf0e481e2019-04-08 10:15:17 +020092 "dmaap.dmaapUpdateProducerConfiguration.dmaapPortNumber": 2223,
Marcin Migdale12311d2019-04-08 11:53:21 +020093 "dmaap.dmaapUpdateProducerConfiguration.dmaapTopicName": "events/unauthenticated.PNF_UPDATE",
94 "dmaap.dmaapUpdateProducerConfiguration.dmaapProtocol": "http",
Marcin Migdalf0e481e2019-04-08 10:15:17 +020095 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin",
96 "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin",
97 "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json",
98
Marcin Migdal84372b92019-04-09 14:55:48 +020099 "aai.aaiClientConfiguration.pnfUrl":"https://aai:3333/aai/v12/network/pnfs/pnf",
Piotr Bocheński2378ea12019-03-12 16:49:08 +0100100 "aai.aaiClientConfiguration.aaiHost":"aai",
Marcin Migdalf0e481e2019-04-08 10:15:17 +0200101 "aai.aaiClientConfiguration.aaiHostPortNumber":3334,
Piotr Bocheński2378ea12019-03-12 16:49:08 +0100102 "aai.aaiClientConfiguration.aaiProtocol":"https",
Marcin Migdalf0e481e2019-04-08 10:15:17 +0200103 "aai.aaiClientConfiguration.aaiUserName": "DCAE",
104 "aai.aaiClientConfiguration.aaiUserPassword": "DCAE",
105 "aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors": true,
106 "aai.aaiClientConfiguration.aaiBasePath": "/aai/v12",
107 "aai.aaiClientConfiguration.aaiPnfPath": "/network/pnfs/pnf",
Marcin Migdale1a02dc2019-04-08 12:29:04 +0200108 "aai.aaiClientConfiguration.aaiServiceInstancePath":"/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}",
Marcin Migdal84372b92019-04-09 14:55:48 +0200109 "aai.aaiClientConfiguration.aaiHeaders":{
110 "X-FromAppId": "prh",
111 "X-TransactionId": "9999",
112 "Accept": "application/json",
113 "Real-Time": "true",
114 "Authorization": "Basic QUFJOkFBSQ=="
115 },
Marcin Migdale1a02dc2019-04-08 12:29:04 +0200116
117 "security.trustStorePath":"change it",
118 "security.trustStorePasswordPath":"change it",
119 "security.keyStorePath":"change it",
120 "security.keyStorePasswordPath":"change it",
121 "security.enableAaiCertAuth":false,
Marcin Migdal4882c742019-04-09 10:49:37 +0200122 "security.enableDmaapCertAuth":false,
123
124 "streams_publishes":{
125 "pnf-update":{
126 "dmaap_info":{
127 "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE"
128 }
129 },
130 "pnf-ready":{
131 "dmaap_info":{
132 "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY"
133 }
134 }
135 },
136 "streams_subscribes":{
137 "ves-reg-output":{
138 "dmaap_info":{
139 "topic_url":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT"
140 }
141 }
142 }
Piotr Bocheński2378ea12019-03-12 16:49:08 +0100143 }'
144 ]
145 depends_on:
146 - consul
147
148 cbs:
149 image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4
150 ports:
151 - "10000:10000"
152 environment:
153 - CONSUL_HOST
154 depends_on:
155 - consul-cfg