blob: aa65dadfc536bbd293769726e938f61201659dd0 [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
4Installation
5============
6
7Following docker-compose-yaml file shows default configuration and can be run using `docker compose up` command:
8
9.. code-block:: yaml
10
11version: '2'
12services:
13 prh:
14 image: nexus3.onap.org:10003/onap/org.onap.dcaegen2.services.prh.prh-app-server
15 command: >
16 --dmaap.dmaapConsumerConfiguration.dmaapHostName=10.42.111.36
17 --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=8904
18 --dmaap.dmaapConsumerConfiguration.dmaapTopicName=/events/unauthenticated.SEC_OTHER_OUTPUT
19 --dmaap.dmaapConsumerConfiguration.dmaapProtocol=http
20 --dmaap.dmaapConsumerConfiguration.dmaapUserName=admin
21 --dmaap.dmaapConsumerConfiguration.dmaapUserPassword=admin
22 --dmaap.dmaapConsumerConfiguration.dmaapContentType=application/json
23 --dmaap.dmaapConsumerConfiguration.consumerId=c12
24 --dmaap.dmaapConsumerConfiguration.consumerGroup=OpenDCAE-c12
25 --dmaap.dmaapConsumerConfiguration.timeoutMS=-1
26 --dmaap.dmaapConsumerConfiguration.message-limit=-1
27 --dmaap.dmaapProducerConfiguration.dmaapHostName=10.42.111.36
28 --dmaap.dmaapProducerConfiguration.dmaapPortNumber=8904
29 --dmaap.dmaapProducerConfiguration.dmaapTopicName=/events/unauthenticated.PNF_READY
30 --dmaap.dmaapProducerConfiguration.dmaapProtocol=http
31 --dmaap.dmaapProducerConfiguration.dmaapUserName=admin
32 --dmaap.dmaapProducerConfiguration.dmaapUserPassword=admin
33 --dmaap.dmaapProducerConfiguration.dmaapContentType=application/json
34 --aai.aaiClientConfiguration.aaiHostPortNumber=30233
35 --aai.aaiClientConfiguration.aaiHost=10.42.111.45
36 --aai.aaiClientConfiguration.aaiProtocol=https
37 --aai.aaiClientConfiguration.aaiUserName=admin
38 --aai.aaiClientConfiguration.aaiUserPassword=admin
39 --aai.aaiClientConfiguration.aaiIgnoreSSLCertificateErrors=true
40 --aai.aaiClientConfiguration.aaiBasePath=/aai/v11
41 --aai.aaiClientConfiguration.aaiPnfPath=/network/pnfs/pnf
42 entrypoint:
43 - java
44 - -Dspring.profiles.active=dev
45 - -jar
46 - /opt/prh-app-server.jar
47 ports:
48 - "8100:8100"
49 - "8433:8433"
50 restart: always
51
52
53Running with dev-mode of PRH
54==============================
55
56Heartbeat: http://<container_address>:8100/heartbeat or https://<container_address>:8443/heartbeat
57
58Start prh: http://<container_address>:8100/start or https://<container_address>:8433/start
59
60Stop prh: http://<container_address>:8100/stopPrh or https://<container_address>:8433/stopPrh