summaryrefslogtreecommitdiffstats
path: root/docs/sections/services/prh/installation.rst
diff options
context:
space:
mode:
authorTomek Kaminski <tomasz.kaminski@nokia.com>2018-11-07 15:12:44 +0100
committerTomek Kaminski <tomasz.kaminski@nokia.com>2018-11-07 15:15:00 +0100
commit7782f9bbff5a50bbae180c4ad27338bbbf321565 (patch)
tree411d43b1380a0860b24c035921a8aeafb6506359 /docs/sections/services/prh/installation.rst
parentdfb64bc8bb1aca548bf177c7082c1bc5d6f5e215 (diff)
Documentation update
- document prh authN/authZ feature - broken linkage corrections - wrong formatting corrections Change-Id: Ie9bb86445712185ac4b9aebdbca75c629327d6fa Issue-ID: DCAEGEN2-960 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
Diffstat (limited to 'docs/sections/services/prh/installation.rst')
-rw-r--r--docs/sections/services/prh/installation.rst88
1 files changed, 47 insertions, 41 deletions
diff --git a/docs/sections/services/prh/installation.rst b/docs/sections/services/prh/installation.rst
index aa65dadf..22dab33e 100644
--- a/docs/sections/services/prh/installation.rst
+++ b/docs/sections/services/prh/installation.rst
@@ -8,50 +8,56 @@ Following docker-compose-yaml file shows default configuration and can be run us
.. code-block:: yaml
-version: '2'
-services:
- prh:
- image: nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.prh.prh-app-server
- command: >
- --dmaap.dmaapConsumerConfiguration.dmaapHostName=10.42.111.36
- --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=8904
- --dmaap.dmaapConsumerConfiguration.dmaapTopicName=/events/unauthenticated.SEC_OTHER_OUTPUT
- --dmaap.dmaapConsumerConfiguration.dmaapProtocol=http
- --dmaap.dmaapConsumerConfiguration.dmaapUserName=admin
- --dmaap.dmaapConsumerConfiguration.dmaapUserPassword=admin
- --dmaap.dmaapConsumerConfiguration.dmaapContentType=application/json
- --dmaap.dmaapConsumerConfiguration.consumerId=c12
- --dmaap.dmaapConsumerConfiguration.consumerGroup=OpenDCAE-c12
- --dmaap.dmaapConsumerConfiguration.timeoutMS=-1
- --dmaap.dmaapConsumerConfiguration.message-limit=-1
- --dmaap.dmaapProducerConfiguration.dmaapHostName=10.42.111.36
- --dmaap.dmaapProducerConfiguration.dmaapPortNumber=8904
- --dmaap.dmaapProducerConfiguration.dmaapTopicName=/events/unauthenticated.PNF_READY
- --dmaap.dmaapProducerConfiguration.dmaapProtocol=http
- --dmaap.dmaapProducerConfiguration.dmaapUserName=admin
- --dmaap.dmaapProducerConfiguration.dmaapUserPassword=admin
- --dmaap.dmaapProducerConfiguration.dmaapContentType=application/json
- --aai.aaiClientConfiguration.aaiHostPortNumber=30233
- --aai.aaiClientConfiguration.aaiHost=10.42.111.45
- --aai.aaiClientConfiguration.aaiProtocol=https
- --aai.aaiClientConfiguration.aaiUserName=admin
- --aai.aaiClientConfiguration.aaiUserPassword=admin
- --aai.aaiClientConfiguration.aaiIgnoreSSLCertificateErrors=true
- --aai.aaiClientConfiguration.aaiBasePath=/aai/v11
- --aai.aaiClientConfiguration.aaiPnfPath=/network/pnfs/pnf
- entrypoint:
- - java
- - -Dspring.profiles.active=dev
- - -jar
- - /opt/prh-app-server.jar
- ports:
- - "8100:8100"
- - "8433:8433"
- restart: always
+ version: '3'
+ services:
+ prh:
+ image: nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.prh.prh-app-server
+ command: >
+ --dmaap.dmaapConsumerConfiguration.dmaapHostName=10.42.111.36
+ --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=8904
+ --dmaap.dmaapConsumerConfiguration.dmaapTopicName=/events/unauthenticated.SEC_OTHER_OUTPUT
+ --dmaap.dmaapConsumerConfiguration.dmaapProtocol=http
+ --dmaap.dmaapConsumerConfiguration.dmaapUserName=admin
+ --dmaap.dmaapConsumerConfiguration.dmaapUserPassword=admin
+ --dmaap.dmaapConsumerConfiguration.dmaapContentType=application/json
+ --dmaap.dmaapConsumerConfiguration.consumerId=c12
+ --dmaap.dmaapConsumerConfiguration.consumerGroup=OpenDCAE-c12
+ --dmaap.dmaapConsumerConfiguration.timeoutMS=-1
+ --dmaap.dmaapConsumerConfiguration.message-limit=-1
+ --dmaap.dmaapProducerConfiguration.dmaapHostName=10.42.111.36
+ --dmaap.dmaapProducerConfiguration.dmaapPortNumber=8904
+ --dmaap.dmaapProducerConfiguration.dmaapTopicName=/events/unauthenticated.PNF_READY
+ --dmaap.dmaapProducerConfiguration.dmaapProtocol=http
+ --dmaap.dmaapProducerConfiguration.dmaapUserName=admin
+ --dmaap.dmaapProducerConfiguration.dmaapUserPassword=admin
+ --dmaap.dmaapProducerConfiguration.dmaapContentType=application/json
+ --aai.aaiClientConfiguration.aaiHostPortNumber=30233
+ --aai.aaiClientConfiguration.aaiHost=10.42.111.45
+ --aai.aaiClientConfiguration.aaiProtocol=https
+ --aai.aaiClientConfiguration.aaiUserName=admin
+ --aai.aaiClientConfiguration.aaiUserPassword=admin
+ --aai.aaiClientConfiguration.aaiIgnoreSSLCertificateErrors=true
+ --aai.aaiClientConfiguration.aaiBasePath=/aai/v11
+ --aai.aaiClientConfiguration.aaiPnfPath=/network/pnfs/pnf
+ --security.enableAaiCertAuth=false
+ --security.enableDmaapCertAuth=false
+ --security.keyStorePath=/opt/app/prh/etc/cert/cert.jks
+ --security.keyStorePasswordPath=/opt/app/prh/etc/cert/jks.pass
+ --security.trustStorePath=/opt/app/prh/etc/cert/trust.jks
+ --security.trustStorePasswordPath=/opt/app/prh/etc/cert/trust.pass
+ entrypoint:
+ - java
+ - -Dspring.profiles.active=dev
+ - -jar
+ - /opt/prh-app-server.jar
+ ports:
+ - "8100:8100"
+ - "8433:8433"
+ restart: always
Running with dev-mode of PRH
-==============================
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Heartbeat: http://<container_address>:8100/heartbeat or https://<container_address>:8443/heartbeat