diff options
author | pkaras <piotr.karas@nokia.com> | 2018-11-07 09:02:47 +0100 |
---|---|---|
committer | pkaras <piotr.karas@nokia.com> | 2018-11-07 14:29:37 +0100 |
commit | c4b24af1cc608d086b5d7938fdfc691ca016e838 (patch) | |
tree | 376db6cb5fcd4f157a44b783d874e1d5bb5ad093 /tests/dcaegen2/prh-testcases/resources/docker-compose.yml | |
parent | c51defc4bb5417827bd80c14d1c0e6bdd9688823 (diff) |
ssl set-up between PRH, AAI, DmaaP
Change-Id: I1f13305a25f684df23c58067f5eec01d25e7d01c
Issue-ID: DCAEGEN2-956
Signed-off-by: piotr.karas <piotr.karas@nokia.com>
Diffstat (limited to 'tests/dcaegen2/prh-testcases/resources/docker-compose.yml')
-rw-r--r-- | tests/dcaegen2/prh-testcases/resources/docker-compose.yml | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/tests/dcaegen2/prh-testcases/resources/docker-compose.yml b/tests/dcaegen2/prh-testcases/resources/docker-compose.yml index 6d646801..bc42a942 100644 --- a/tests/dcaegen2/prh-testcases/resources/docker-compose.yml +++ b/tests/dcaegen2/prh-testcases/resources/docker-compose.yml @@ -3,9 +3,9 @@ services: prh: image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest command: > - --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap + --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap-bc --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2222 - --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap + --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap-bc --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2222 --aai.aaiClientConfiguration.aaiHostPortNumber=3333 --aai.aaiClientConfiguration.aaiHost=aai @@ -21,19 +21,27 @@ services: - "8433:8433" container_name: prh depends_on: - - dmaap + - dmaap-bc - aai ssl_prh: image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:latest command: > - --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap - --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2222 - --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap - --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2222 - --aai.aaiClientConfiguration.aaiHostPortNumber=3333 + --dmaap.dmaapConsumerConfiguration.dmaapHostName=dmaap-bc + --dmaap.dmaapConsumerConfiguration.dmaapPortNumber=2223 + --dmaap.dmaapConsumerConfiguration.dmaapProtocol=https + --dmaap.dmaapProducerConfiguration.dmaapHostName=dmaap-bc + --dmaap.dmaapProducerConfiguration.dmaapPortNumber=2223 + --dmaap.dmaapProducerConfiguration.dmaapProtocol=https + --aai.aaiClientConfiguration.aaiHostPortNumber=3334 --aai.aaiClientConfiguration.aaiHost=aai - --aai.aaiClientConfiguration.aaiProtocol=http + --aai.aaiClientConfiguration.aaiProtocol=https + --security.enableAaiCertAuth=true + --security.enableDmaapCertAuth=true + --security.keyStorePath=/tmp/certs/org.onap.dcae.jks + --security.keyStorePasswordPath=/tmp/certs/keystore.password + --security.trustStorePath=/tmp/certs/org.onap.dcae.trust.jks + --security.trustStorePasswordPath=/tmp/certs/truststore.password entrypoint: - java - -Dspring.profiles.active=dev @@ -43,12 +51,14 @@ services: ports: - "8200:8100" - "8533:8433" + volumes: + - ./simulator/certs:/tmp/certs container_name: ssl_prh depends_on: - - dmaap + - dmaap-bc - aai - dmaap: + dmaap-bc: build: context: simulator dockerfile: DMaaP_simulator |