blob: 371fe824eaed64ce5f13c7dbd1ae7d24f78c9ac2 [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
4Configuration
5=============
6
pwielebsa72dbed2018-11-07 10:32:39 +01007PRH fetches configuration directly from Consul service in the following JSON format:
pwielebs05bddba2018-11-06 09:34:45 +01008
9.. code-block:: json
10
11 {
12 "dmaap.dmaapProducerConfiguration.dmaapTopicName":"/events/unauthenticated.PNF_READY",
13 "dmaap.dmaapConsumerConfiguration.dmaapHostName":"message-router.onap.svc.cluster.local",
14 "aai.aaiClientConfiguration.aaiPnfPath":"/network/pnfs/pnf",
15 "aai.aaiClientConfiguration.aaiUserPassword":"AAI",
16 "dmaap.dmaapConsumerConfiguration.dmaapUserName":"admin",
17 "aai.aaiClientConfiguration.aaiBasePath":"/aai/v12",
18 "dmaap.dmaapConsumerConfiguration.timeoutMs":-1,
19 "dmaap.dmaapProducerConfiguration.dmaapPortNumber":3904,
20 "aai.aaiClientConfiguration.aaiHost":"aai.onap.svc.cluster.local",
21 "dmaap.dmaapConsumerConfiguration.dmaapUserPassword":"admin",
22 "dmaap.dmaapProducerConfiguration.dmaapProtocol":"http",
23 "aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors":true,
24 "dmaap.dmaapProducerConfiguration.dmaapContentType":"application/json",
25 "dmaap.dmaapConsumerConfiguration.dmaapTopicName":"/events/unauthenticated.VES_PNFREG_OUTPUT",
26 "dmaap.dmaapConsumerConfiguration.dmaapPortNumber":3904,
27 "dmaap.dmaapConsumerConfiguration.dmaapContentType":"application/json",
28 "dmaap.dmaapConsumerConfiguration.messageLimit":-1,
29 "dmaap.dmaapConsumerConfiguration.dmaapProtocol":"http",
30 "aai.aaiClientConfiguration.aaiUserName":"AAI",
31 "dmaap.dmaapConsumerConfiguration.consumerId":"c12",
32 "dmaap.dmaapProducerConfiguration.dmaapHostName":"message-router.onap.svc.cluster.local",
33 "aai.aaiClientConfiguration.aaiHostPortNumber":8443,
34 "dmaap.dmaapConsumerConfiguration.consumerGroup":"OpenDCAE-c12",
35 "aai.aaiClientConfiguration.aaiProtocol":"https",
36 "dmaap.dmaapProducerConfiguration.dmaapUserName":"admin",
37 "dmaap.dmaapProducerConfiguration.dmaapUserPassword":"admin"
38 }
39
40
41There are also optional configuration parameters:
42
43.. code-block:: json
44
45 "security": {
46 "keyFile": "/opt/app/prh/local/org.onap.prh.keyfile",
47 "trustStore": "/opt/app/prh/local/org.onap.prh.trust.jks",
48 "trustStorePassword": "change it",
49 "keyStore": "/opt/app/prh/local/org.onap.prh.p12",
50 "keyStorePassword": "change it",
51 "enableAaiCertAuth": "false",
52 "enableDmaapCertAuth": "false"
53 }