Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 1 | version: "3" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 2 | services: |
| 3 | prh: |
| 4 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 5 | ports: |
| 6 | - "8100:8100" |
| 7 | - "8433:8433" |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 8 | environment: |
| 9 | - LOG_LEVEL |
| 10 | - PRH_LOG_LEVEL |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 11 | container_name: prh |
| 12 | depends_on: |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 13 | - cbs |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 14 | - dmaap-mr |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 15 | - aai |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 16 | |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 17 | ssl_prh: |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 18 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 19 | ports: |
| 20 | - "8200:8100" |
| 21 | - "8533:8433" |
| 22 | volumes: |
| 23 | - ./simulator/certs:/tmp/certs |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 24 | environment: |
| 25 | - LOG_LEVEL |
| 26 | - PRH_LOG_LEVEL |
| 27 | - HOSTNAME |
| 28 | - CONSUL_HOST |
| 29 | - CONFIG_BINDING_SERVICE |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 30 | container_name: ssl_prh |
| 31 | depends_on: |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 32 | - cbs |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 33 | - dmaap-mr |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 34 | - aai |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 35 | |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 36 | dmaap-mr: |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 37 | build: |
| 38 | context: simulator |
| 39 | dockerfile: DMaaP_simulator |
| 40 | ports: |
| 41 | - "2222:2222" |
pkaras | c7abba8 | 2018-10-22 12:22:35 +0200 | [diff] [blame] | 42 | - "2223:2223" |
| 43 | - "2224:2224" |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 44 | container_name: dmaap_simulator |
| 45 | |
| 46 | aai: |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 47 | build: |
| 48 | context: simulator |
| 49 | dockerfile: AAI_simulator |
| 50 | ports: |
Gary Wu | 9abb61c | 2018-09-27 10:38:50 -0700 | [diff] [blame] | 51 | - "3333:3333" |
pkaras | 55d3686 | 2018-10-17 15:08:34 +0200 | [diff] [blame] | 52 | - "3334:3334" |
| 53 | - "3335:3335" |
Piotr Bocheński | beebb96 | 2019-01-25 15:38:39 +0100 | [diff] [blame] | 54 | container_name: aai_simulator |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 55 | |
| 56 | consul: |
Piotr Bocheński | 8ee0ef7 | 2019-03-13 12:13:05 +0100 | [diff] [blame] | 57 | image: consul:1.0.6 |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 58 | ports: |
| 59 | - "8500:8500" |
Marcin Migdal | 0a5e115 | 2019-04-10 16:13:08 +0200 | [diff] [blame] | 60 | command: ["agent", "-bootstrap", "-client=0.0.0.0", "-server", "-ui", "-config-dir=/consul/consul.d"] |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 61 | volumes: |
| 62 | - ./consul.d/:/consul/consul.d |
Marcin Migdal | 26125b1 | 2019-04-11 16:17:18 +0200 | [diff] [blame^] | 63 | container_name: consul |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 64 | |
| 65 | consul-cfg: |
Piotr Bocheński | 8ee0ef7 | 2019-03-13 12:13:05 +0100 | [diff] [blame] | 66 | image: consul:1.0.6 |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 67 | restart: on-failure |
Piotr Bocheński | 8ee0ef7 | 2019-03-13 12:13:05 +0100 | [diff] [blame] | 68 | command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-prh", '{ |
Marcin Migdal | 2a64cd8 | 2019-04-09 13:13:41 +0200 | [diff] [blame] | 69 | "dmaap.dmaapConsumerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 70 | "dmaap.dmaapConsumerConfiguration.dmaapHostName":"dmaap-mr", |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 71 | "dmaap.dmaapConsumerConfiguration.dmaapPortNumber":2223, |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 72 | "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 Migdal | e12311d | 2019-04-08 11:53:21 +0200 | [diff] [blame] | 78 | "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 79 | "dmaap.dmaapConsumerConfiguration.timeoutMs": -1, |
| 80 | "dmaap.dmaapConsumerConfiguration.messageLimit": -1, |
| 81 | |
Marcin Migdal | 2a64cd8 | 2019-04-09 13:13:41 +0200 | [diff] [blame] | 82 | "dmaap.dmaapProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 83 | "dmaap.dmaapProducerConfiguration.dmaapHostName":"dmaap-mr", |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 84 | "dmaap.dmaapProducerConfiguration.dmaapPortNumber":2223, |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 85 | "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 Migdal | 2a64cd8 | 2019-04-09 13:13:41 +0200 | [diff] [blame] | 91 | "dmaap.dmaapUpdateProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 92 | "dmaap.dmaapUpdateProducerConfiguration.dmaapHostName": "dmaap-mr", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 93 | "dmaap.dmaapUpdateProducerConfiguration.dmaapPortNumber": 2223, |
Marcin Migdal | e12311d | 2019-04-08 11:53:21 +0200 | [diff] [blame] | 94 | "dmaap.dmaapUpdateProducerConfiguration.dmaapTopicName": "events/unauthenticated.PNF_UPDATE", |
| 95 | "dmaap.dmaapUpdateProducerConfiguration.dmaapProtocol": "http", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 96 | "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin", |
| 97 | "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin", |
| 98 | "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json", |
| 99 | |
Marcin Migdal | 84372b9 | 2019-04-09 14:55:48 +0200 | [diff] [blame] | 100 | "aai.aaiClientConfiguration.pnfUrl":"https://aai:3333/aai/v12/network/pnfs/pnf", |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 101 | "aai.aaiClientConfiguration.aaiHost":"aai", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 102 | "aai.aaiClientConfiguration.aaiHostPortNumber":3334, |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 103 | "aai.aaiClientConfiguration.aaiProtocol":"https", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 104 | "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 Migdal | e1a02dc | 2019-04-08 12:29:04 +0200 | [diff] [blame] | 109 | "aai.aaiClientConfiguration.aaiServiceInstancePath":"/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}", |
Marcin Migdal | 84372b9 | 2019-04-09 14:55:48 +0200 | [diff] [blame] | 110 | "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 Migdal | e1a02dc | 2019-04-08 12:29:04 +0200 | [diff] [blame] | 117 | |
| 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 Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 123 | "security.enableDmaapCertAuth":false, |
| 124 | |
| 125 | "streams_publishes":{ |
| 126 | "pnf-update":{ |
Marcin Migdal | 92c6c3c | 2019-04-11 14:07:59 +0200 | [diff] [blame] | 127 | "type": "message_router", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 128 | "dmaap_info":{ |
| 129 | "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE" |
| 130 | } |
| 131 | }, |
| 132 | "pnf-ready":{ |
Marcin Migdal | 92c6c3c | 2019-04-11 14:07:59 +0200 | [diff] [blame] | 133 | "type": "message_router", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 134 | "dmaap_info":{ |
| 135 | "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY" |
| 136 | } |
| 137 | } |
| 138 | }, |
| 139 | "streams_subscribes":{ |
| 140 | "ves-reg-output":{ |
Marcin Migdal | 92c6c3c | 2019-04-11 14:07:59 +0200 | [diff] [blame] | 141 | "type": "message_router", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 142 | "dmaap_info":{ |
| 143 | "topic_url":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT" |
| 144 | } |
| 145 | } |
| 146 | } |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 147 | }' |
| 148 | ] |
Marcin Migdal | 26125b1 | 2019-04-11 16:17:18 +0200 | [diff] [blame^] | 149 | container_name: consul-cfg |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 150 | 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 Migdal | 26125b1 | 2019-04-11 16:17:18 +0200 | [diff] [blame^] | 161 | container_name: cbs |