aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/datafilecollector-testharness/ftps-sftp-server/README.md
diff options
context:
space:
mode:
authorTamasBakai <tamas.bakai@est.tech>2019-02-15 08:38:16 +0000
committerTamas Bakai <tamas.bakai@est.tech>2019-02-15 09:47:28 +0000
commit9b780338eb8b85fc713f272a7cae865f1265f109 (patch)
tree864c1ba60eff8625f1f5c79567da0914e5e8ed65 /test/mocks/datafilecollector-testharness/ftps-sftp-server/README.md
parent01c69ab28550d775239697067588e3b2063188a1 (diff)
Simulator scripts for datafile-collector
Change-Id: Idff5fb9e4406f42208367860b3d02fc2ed4a9bad Issue-ID: DCAEGEN2-1225 Signed-off-by: TamasBakai <tamas.bakai@est.tech>
Diffstat (limited to 'test/mocks/datafilecollector-testharness/ftps-sftp-server/README.md')
-rw-r--r--test/mocks/datafilecollector-testharness/ftps-sftp-server/README.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/mocks/datafilecollector-testharness/ftps-sftp-server/README.md b/test/mocks/datafilecollector-testharness/ftps-sftp-server/README.md
new file mode 100644
index 000000000..5a1660126
--- /dev/null
+++ b/test/mocks/datafilecollector-testharness/ftps-sftp-server/README.md
@@ -0,0 +1,29 @@
+###Deployment of certificates: (in case of update)
+
+This folder is prepared with a set of keys matching DfC for test purposes.
+
+Copy from datafile-app-server/config/keys to the ./tls/ the following files:
+
+* dfc.crt
+* ftp.crt
+* ftp.key
+
+###Docker preparations
+Source: https://docs.docker.com/install/linux/linux-postinstall/
+
+`sudo usermod -aG docker $USER`
+
+then logout-login to activate it.
+
+###Starting/stopping the FTPS/SFTP server(s)
+
+Start: `docker-compose up`
+
+Stop: Ctrl +C, then `docker-compose down` or `docker-compose down --remove-orphans`
+
+If you experience issues (or port collision), check the currently running other containers
+by using 'docker ps' and stop them if necessary.
+
+
+###Cleaning docker structure
+Deep cleaning: `docker system prune` \ No newline at end of file