diff options
author | ecaiyanlinux <martin.c.yan@est.tech> | 2019-08-21 12:10:33 +0000 |
---|---|---|
committer | Daniel Rose <dr695h@att.com> | 2019-08-29 17:35:36 +0000 |
commit | 796e8fe4255036b5785a2071ddd6a0240464556a (patch) | |
tree | b5d9ee29c9c07d91ea4848dafb12c5ae9cd7336d /test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml | |
parent | 190a2f42b5c0af56b8c8da7e05a90ad3999598d3 (diff) |
Add tls-init-container to simulator
1.replace dr-sim/dr-redir-sim cert/key
2.update mr-sim, make it support https
3.update ftpes cert/key
Change-Id: I7bbde98f352d1e7d7c8775acf3d8af89a6ef7bdc
Issue-ID: DCAEGEN2-1702
Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Diffstat (limited to 'test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml')
-rw-r--r-- | test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml | 46 |
1 files changed, 43 insertions, 3 deletions
diff --git a/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml b/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml index f078d36e3..78fa7cb1b 100644 --- a/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml +++ b/test/mocks/datafilecollector-testharness/simulator-group/docker-compose-template.yml @@ -29,6 +29,14 @@ services: depends_on: - consul-server + tls-init-container: + container_name: dfc_tls-init-container + image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container + networks: + - dfcnet + volumes: + - ./tls:/opt/tls/shared:rw + drsim: networks: - dfcnet @@ -41,11 +49,15 @@ services: - "3907:3907" container_name: dfc_dr-sim command: node dmaapDR.js ${DR_TC} + volumes: + - ./tls:/app/cert/:rw + depends_on: + - tls-init-container drsim_redir: networks: - dfcnet - environment: + environment: DR_SIM_IP: drsim DR_REDIR_FEEDS: ${DR_REDIR_FEEDS} image: drsim_common:latest @@ -54,6 +66,10 @@ services: - "3909:3909" container_name: dfc_dr-redir-sim command: node dmaapDR_redir.js ${DR_REDIR_TC} + volumes: + - ./tls:/app/cert/:rw + depends_on: + - tls-init-container mrsim: networks: @@ -66,9 +82,14 @@ services: MR_FILE_PREFIX_MAPPING: ${MR_FILE_PREFIX_MAPPING} image: mrsim:latest ports: - - "2222:2222" + - "2222:2222" + - "2223:2223" container_name: dfc_mr-sim command: python mr-sim.py ${MR_TC} + volumes: + - ./tls:/app/cert/:rw + depends_on: + - tls-init-container sftp-server0: networks: @@ -132,6 +153,10 @@ services: FTP_PASSWORD: pano restart: on-failure command: vsftpd /etc/vsftpd_ssl.conf + volumes: + - ./tls:/etc/ssl/private/:rw + depends_on: + - tls-init-container ftpes-server-vsftpd1: networks: @@ -145,6 +170,10 @@ services: FTP_PASSWORD: pano restart: on-failure command: vsftpd /etc/vsftpd_ssl.conf + volumes: + - ./tls:/etc/ssl/private/:rw + depends_on: + - tls-init-container ftpes-server-vsftpd2: networks: @@ -158,6 +187,10 @@ services: FTP_PASSWORD: pano restart: on-failure command: vsftpd /etc/vsftpd_ssl.conf + volumes: + - ./tls:/etc/ssl/private/:rw + depends_on: + - tls-init-container ftpes-server-vsftpd3: networks: @@ -171,6 +204,10 @@ services: FTP_PASSWORD: pano restart: on-failure command: vsftpd /etc/vsftpd_ssl.conf + volumes: + - ./tls:/etc/ssl/private/:rw + depends_on: + - tls-init-container ftpes-server-vsftpd4: networks: @@ -184,4 +221,7 @@ services: FTP_PASSWORD: pano restart: on-failure command: vsftpd /etc/vsftpd_ssl.conf - + volumes: + - ./tls:/etc/ssl/private/:rw + depends_on: + - tls-init-container |