pwielebs | 05bddba | 2018-11-06 09:34:45 +0100 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 International License. |
| 2 | .. http://creativecommons.org/licenses/by/4.0 |
| 3 | |
Tomek Kaminski | 7782f9b | 2018-11-07 15:12:44 +0100 | [diff] [blame] | 4 | .. _prh_configuration: |
| 5 | |
pwielebs | 05bddba | 2018-11-06 09:34:45 +0100 | [diff] [blame] | 6 | Configuration |
| 7 | ============= |
| 8 | |
pwielebs | a72dbed | 2018-11-07 10:32:39 +0100 | [diff] [blame] | 9 | PRH fetches configuration directly from Consul service in the following JSON format: |
pwielebs | 05bddba | 2018-11-06 09:34:45 +0100 | [diff] [blame] | 10 | |
| 11 | .. code-block:: json |
| 12 | |
Tomek Kaminski | 7782f9b | 2018-11-07 15:12:44 +0100 | [diff] [blame] | 13 | { |
| 14 | "aai": { |
| 15 | "aaiClientConfiguration": { |
| 16 | "aaiHost": "aai.onap.svc.cluster.local", |
| 17 | "aaiHostPortNumber": 8443, |
| 18 | "aaiIgnoreSslCertificateErrors": true, |
| 19 | "aaiProtocol": "https", |
| 20 | "aaiUserName": "AAI", |
| 21 | "aaiUserPassword": "AAI", |
| 22 | "aaiBasePath": "/aai/v12", |
| 23 | "aaiPnfPath": "/network/pnfs/pnf", |
| 24 | } |
| 25 | }, |
| 26 | "dmaap": { |
| 27 | "dmaapConsumerConfiguration": { |
| 28 | "consumerGroup": "OpenDCAE-c12", |
| 29 | "consumerId": "c12", |
| 30 | "dmaapContentType": "application/json", |
| 31 | "dmaapHostName": "message-router.onap.svc.cluster.local", |
| 32 | "dmaapPortNumber": 3904, |
| 33 | "dmaapProtocol": "http", |
| 34 | "dmaapTopicName": "/events/unauthenticated.VES_PNFREG_OUTPUT", |
| 35 | "dmaapUserName": "admin", |
| 36 | "dmaapUserPassword": "admin", |
| 37 | "messageLimit": -1, |
| 38 | "timeoutMs": -1 |
| 39 | }, |
| 40 | "dmaapProducerConfiguration": { |
| 41 | "dmaapContentType": "application/json", |
| 42 | "dmaapHostName": "message-router.onap.svc.cluster.local", |
| 43 | "dmaapPortNumber": 3904, |
| 44 | "dmaapProtocol": "http", |
| 45 | "dmaapTopicName": "/events/unauthenticated.PNF_READY", |
| 46 | "dmaapUserName": "admin", |
| 47 | "dmaapUserPassword": "admin" |
| 48 | } |
| 49 | }, |
| 50 | "security": { |
| 51 | "trustStorePath": "/opt/app/prh/etc/cert/trust.jks", |
| 52 | "trustStorePasswordPath": "/opt/app/prh/etc/cert/trust.pass", |
| 53 | "keyStorePath": "/opt/app/prh/etc/cert/cert.jks", |
| 54 | "keyStorePasswordPath": "/opt/app/prh/etc/cert/jks.pass", |
pwielebs | 05bddba | 2018-11-06 09:34:45 +0100 | [diff] [blame] | 55 | "enableAaiCertAuth": "false", |
| 56 | "enableDmaapCertAuth": "false" |
| 57 | } |
Tomek Kaminski | 7782f9b | 2018-11-07 15:12:44 +0100 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | The configuration is created from PRH Cloudify blueprint by specifying **application_config** node during ONAP OOM/Kubernetes deployment. |