summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/prh/configuration.rst
diff options
context:
space:
mode:
authorpwielebs <piotr.wielebski@nokia.com>2018-11-06 09:34:45 +0100
committerpwielebs <piotr.wielebski@nokia.com>2018-11-06 16:37:59 +0100
commit05bddba1c23399d0c990228860df53a9c5c3c294 (patch)
tree1678607b759fa784501c88ffec1560eeceafb157 /docs/sections/services/prh/configuration.rst
parent91e472c8640d9d6364c311474b15e9c9a95a0e9f (diff)
Adding Documentation regarding PRH
Change-Id: I158a97dbdf06297c1cacae2da6a318adf6218a96 Issue-ID: DCAEGEN2-398 Signed-off-by: pwielebs <piotr.wielebski@nokia.com>
Diffstat (limited to 'docs/sections/services/prh/configuration.rst')
-rw-r--r--docs/sections/services/prh/configuration.rst53
1 files changed, 53 insertions, 0 deletions
diff --git a/docs/sections/services/prh/configuration.rst b/docs/sections/services/prh/configuration.rst
new file mode 100644
index 00000000..a36ad953
--- /dev/null
+++ b/docs/sections/services/prh/configuration.rst
@@ -0,0 +1,53 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+Configuration
+=============
+
+PRH expects to be able to fetch configuration directly from consul service in 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"
+ }