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