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 |
| 63 | |
| 64 | consul-cfg: |
Piotr Bocheński | 8ee0ef7 | 2019-03-13 12:13:05 +0100 | [diff] [blame] | 65 | image: consul:1.0.6 |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 66 | restart: on-failure |
Piotr Bocheński | 8ee0ef7 | 2019-03-13 12:13:05 +0100 | [diff] [blame] | 67 | command: ["kv", "put", "-http-addr=http://consul:8500", "dcae-prh", '{ |
Marcin Migdal | 2a64cd8 | 2019-04-09 13:13:41 +0200 | [diff] [blame] | 68 | "dmaap.dmaapConsumerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 69 | "dmaap.dmaapConsumerConfiguration.dmaapHostName":"dmaap-mr", |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 70 | "dmaap.dmaapConsumerConfiguration.dmaapPortNumber":2223, |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 71 | "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 Migdal | e12311d | 2019-04-08 11:53:21 +0200 | [diff] [blame] | 77 | "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 78 | "dmaap.dmaapConsumerConfiguration.timeoutMs": -1, |
| 79 | "dmaap.dmaapConsumerConfiguration.messageLimit": -1, |
| 80 | |
Marcin Migdal | 2a64cd8 | 2019-04-09 13:13:41 +0200 | [diff] [blame] | 81 | "dmaap.dmaapProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 82 | "dmaap.dmaapProducerConfiguration.dmaapHostName":"dmaap-mr", |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 83 | "dmaap.dmaapProducerConfiguration.dmaapPortNumber":2223, |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 84 | "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 Migdal | 2a64cd8 | 2019-04-09 13:13:41 +0200 | [diff] [blame] | 90 | "dmaap.dmaapUpdateProducerConfiguration.dmaapUrl":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 91 | "dmaap.dmaapUpdateProducerConfiguration.dmaapHostName": "dmaap-mr", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 92 | "dmaap.dmaapUpdateProducerConfiguration.dmaapPortNumber": 2223, |
Marcin Migdal | e12311d | 2019-04-08 11:53:21 +0200 | [diff] [blame] | 93 | "dmaap.dmaapUpdateProducerConfiguration.dmaapTopicName": "events/unauthenticated.PNF_UPDATE", |
| 94 | "dmaap.dmaapUpdateProducerConfiguration.dmaapProtocol": "http", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 95 | "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin", |
| 96 | "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin", |
| 97 | "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json", |
| 98 | |
Marcin Migdal | 84372b9 | 2019-04-09 14:55:48 +0200 | [diff] [blame] | 99 | "aai.aaiClientConfiguration.pnfUrl":"https://aai:3333/aai/v12/network/pnfs/pnf", |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 100 | "aai.aaiClientConfiguration.aaiHost":"aai", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 101 | "aai.aaiClientConfiguration.aaiHostPortNumber":3334, |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 102 | "aai.aaiClientConfiguration.aaiProtocol":"https", |
Marcin Migdal | f0e481e | 2019-04-08 10:15:17 +0200 | [diff] [blame] | 103 | "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 Migdal | e1a02dc | 2019-04-08 12:29:04 +0200 | [diff] [blame] | 108 | "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] | 109 | "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 Migdal | e1a02dc | 2019-04-08 12:29:04 +0200 | [diff] [blame] | 116 | |
| 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 Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 122 | "security.enableDmaapCertAuth":false, |
| 123 | |
| 124 | "streams_publishes":{ |
| 125 | "pnf-update":{ |
Marcin Migdal | 92c6c3c | 2019-04-11 14:07:59 +0200 | [diff] [blame^] | 126 | "type": "message_router", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 127 | "dmaap_info":{ |
| 128 | "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_UPDATE" |
| 129 | } |
| 130 | }, |
| 131 | "pnf-ready":{ |
Marcin Migdal | 92c6c3c | 2019-04-11 14:07:59 +0200 | [diff] [blame^] | 132 | "type": "message_router", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 133 | "dmaap_info":{ |
| 134 | "topic_url":"http://dmaap-mr:2222/events/unauthenticated.PNF_READY" |
| 135 | } |
| 136 | } |
| 137 | }, |
| 138 | "streams_subscribes":{ |
| 139 | "ves-reg-output":{ |
Marcin Migdal | 92c6c3c | 2019-04-11 14:07:59 +0200 | [diff] [blame^] | 140 | "type": "message_router", |
Marcin Migdal | 4882c74 | 2019-04-09 10:49:37 +0200 | [diff] [blame] | 141 | "dmaap_info":{ |
| 142 | "topic_url":"http://dmaap-mr:2222/events/unauthenticated.VES_PNFREG_OUTPUT" |
| 143 | } |
| 144 | } |
| 145 | } |
Piotr Bocheński | 2378ea1 | 2019-03-12 16:49:08 +0100 | [diff] [blame] | 146 | }' |
| 147 | ] |
| 148 | depends_on: |
| 149 | - consul |
| 150 | |
| 151 | cbs: |
| 152 | image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.platform.configbinding.app-app:2.2.4 |
| 153 | ports: |
| 154 | - "10000:10000" |
| 155 | environment: |
| 156 | - CONSUL_HOST |
| 157 | depends_on: |
| 158 | - consul-cfg |