diff options
author | 2018-08-28 14:41:04 +0200 | |
---|---|---|
committer | 2018-08-28 15:30:06 +0200 | |
commit | 1f81ed120ccffaf2a14ca12e959a9f045d61cbd2 (patch) | |
tree | 2491a91a80095be49714e6e6cbebd712650ea497 /test | |
parent | 2e310fe144e326f16c95e7ac5ebc9d41c78a7e48 (diff) |
Draft for INT-607
Change-Id: I46b9cf8da2a063300bed2cae4a42c926be5b1518
Issue-ID: INT-607
Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/mocks/pnfsimulator/docker-compose.yml | 16 | ||||
-rw-r--r-- | test/mocks/pnfsimulator/sftp/sftp-file.txt | 2 |
2 files changed, 17 insertions, 1 deletions
diff --git a/test/mocks/pnfsimulator/docker-compose.yml b/test/mocks/pnfsimulator/docker-compose.yml index cfc086357..d6f376f8c 100644 --- a/test/mocks/pnfsimulator/docker-compose.yml +++ b/test/mocks/pnfsimulator/docker-compose.yml @@ -11,6 +11,7 @@ services: - ./json_schema:/json_schema env_file: - ./config/netconf.env + restart: on-failure depends_on: - netopeer @@ -19,7 +20,20 @@ services: image: sysrepo/sysrepo-netopeer2:latest ports: - "830:830" + volumes: + - ./netconf:/netconf env_file: - ./config/netconf.env + restart: on-failure + depends_on: + - sftp-server + + sftp-server: + container_name: sftp-server + image: atmoz/sftp:alpine + ports: + - "22:22" volumes: - - ./netconf:/netconf
\ No newline at end of file + - ./sftp:/home/sftp-user/sftp + restart: on-failure + command: sftp-user:sftp-password
\ No newline at end of file diff --git a/test/mocks/pnfsimulator/sftp/sftp-file.txt b/test/mocks/pnfsimulator/sftp/sftp-file.txt new file mode 100644 index 000000000..43f671212 --- /dev/null +++ b/test/mocks/pnfsimulator/sftp/sftp-file.txt @@ -0,0 +1,2 @@ +We are SFTP specialists. +Do you prefer chocolate or vanilia?
\ No newline at end of file |