blob: 3334025b21ca1efb0d08115970fce6fb14e2505f [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
VENKATESH KUMAR55bf15a2020-11-18 16:30:36 -05003.. _prh-installation:
4
pwielebs05bddba2018-11-06 09:34:45 +01005
6Installation
7============
8
pwielebsa72dbed2018-11-07 10:32:39 +01009The following docker-compose-yaml file shows a default configuration. The file can be run using `docker compose up` command:
pwielebs05bddba2018-11-06 09:34:45 +010010
11.. code-block:: yaml
12
Tomek Kaminski7782f9b2018-11-07 15:12:44 +010013 version: '3'
14 services:
15 prh:
16 image: nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.prh.prh-app-server
17 command: >
18 --dmaap.dmaapConsumerConfiguration.dmaapHostName=10.42.111.36
19 --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=8904
20 --dmaap.dmaapConsumerConfiguration.dmaapTopicName=/events/unauthenticated.SEC_OTHER_OUTPUT
21 --dmaap.dmaapConsumerConfiguration.dmaapProtocol=http
22 --dmaap.dmaapConsumerConfiguration.dmaapUserName=admin
23 --dmaap.dmaapConsumerConfiguration.dmaapUserPassword=admin
24 --dmaap.dmaapConsumerConfiguration.dmaapContentType=application/json
25 --dmaap.dmaapConsumerConfiguration.consumerId=c12
26 --dmaap.dmaapConsumerConfiguration.consumerGroup=OpenDCAE-c12
27 --dmaap.dmaapConsumerConfiguration.timeoutMS=-1
28 --dmaap.dmaapConsumerConfiguration.message-limit=-1
29 --dmaap.dmaapProducerConfiguration.dmaapHostName=10.42.111.36
30 --dmaap.dmaapProducerConfiguration.dmaapPortNumber=8904
31 --dmaap.dmaapProducerConfiguration.dmaapTopicName=/events/unauthenticated.PNF_READY
32 --dmaap.dmaapProducerConfiguration.dmaapProtocol=http
33 --dmaap.dmaapProducerConfiguration.dmaapUserName=admin
34 --dmaap.dmaapProducerConfiguration.dmaapUserPassword=admin
35 --dmaap.dmaapProducerConfiguration.dmaapContentType=application/json
36 --aai.aaiClientConfiguration.aaiHostPortNumber=30233
37 --aai.aaiClientConfiguration.aaiHost=10.42.111.45
38 --aai.aaiClientConfiguration.aaiProtocol=https
39 --aai.aaiClientConfiguration.aaiUserName=admin
40 --aai.aaiClientConfiguration.aaiUserPassword=admin
41 --aai.aaiClientConfiguration.aaiIgnoreSSLCertificateErrors=true
42 --aai.aaiClientConfiguration.aaiBasePath=/aai/v11
43 --aai.aaiClientConfiguration.aaiPnfPath=/network/pnfs/pnf
44 --security.enableAaiCertAuth=false
45 --security.enableDmaapCertAuth=false
46 --security.keyStorePath=/opt/app/prh/etc/cert/cert.jks
47 --security.keyStorePasswordPath=/opt/app/prh/etc/cert/jks.pass
48 --security.trustStorePath=/opt/app/prh/etc/cert/trust.jks
49 --security.trustStorePasswordPath=/opt/app/prh/etc/cert/trust.pass
50 entrypoint:
51 - java
52 - -Dspring.profiles.active=dev
53 - -jar
54 - /opt/prh-app-server.jar
55 ports:
56 - "8100:8100"
57 - "8433:8433"
58 restart: always
pwielebs05bddba2018-11-06 09:34:45 +010059
60
61Running with dev-mode of PRH
Tomek Kaminski7782f9b2018-11-07 15:12:44 +010062^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pwielebs05bddba2018-11-06 09:34:45 +010063
64Heartbeat: http://<container_address>:8100/heartbeat or https://<container_address>:8443/heartbeat
65
66Start prh: http://<container_address>:8100/start or https://<container_address>:8433/start
67
68Stop prh: http://<container_address>:8100/stopPrh or https://<container_address>:8433/stopPrh