blob: 03110a1b517274e9b1916a926785584d726fc24f [file] [log] [blame]
pwielebs05bddba2018-11-06 09:34:45 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3
Tomek Kaminski7782f9b2018-11-07 15:12:44 +01004.. _prh_configuration:
5
pwielebs05bddba2018-11-06 09:34:45 +01006Configuration
7=============
8
pwielebsa72dbed2018-11-07 10:32:39 +01009PRH fetches configuration directly from Consul service in the following JSON format:
pwielebs05bddba2018-11-06 09:34:45 +010010
11.. code-block:: json
12
Tomek Kaminski7782f9b2018-11-07 15:12:44 +010013 {
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",
pwielebs05bddba2018-11-06 09:34:45 +010055 "enableAaiCertAuth": "false",
56 "enableDmaapCertAuth": "false"
57 }
Tomek Kaminski7782f9b2018-11-07 15:12:44 +010058 }
59
60The configuration is created from PRH Cloudify blueprint by specifying **application_config** node during ONAP OOM/Kubernetes deployment.