From 8297956b637a3ecbac8285c37bfa951fe51438c8 Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 11 Feb 2020 12:45:46 -0800 Subject: [PATCH] Adding sftp service to spd worker --- src/spd-notification-worker/pom.xml | 6 ++++++ .../src/main/resources/application.properties | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/spd-notification-worker/pom.xml b/src/spd-notification-worker/pom.xml index 873b7d06..5676d6b2 100644 --- a/src/spd-notification-worker/pom.xml +++ b/src/spd-notification-worker/pom.xml @@ -156,6 +156,12 @@ 0.0.1-SNAPSHOT + + ca.bc.gov.open.pssg.rsbc + dps-sftp-starter + 0.0.1-SNAPSHOT + + diff --git a/src/spd-notification-worker/src/main/resources/application.properties b/src/spd-notification-worker/src/main/resources/application.properties index e7d4772f..20f5cb5c 100644 --- a/src/spd-notification-worker/src/main/resources/application.properties +++ b/src/spd-notification-worker/src/main/resources/application.properties @@ -3,3 +3,9 @@ spring.rabbitmq.host: ${RABBITMQ_HOST:localhost} spring.rabbitmq.port: ${RABBITMQ_PORT:5672} spring.rabbitmq.username: ${RABBITMQ_USERNAME:guest} spring.rabbitmq.password: ${RABBITMQ_PASSWORD:guest} +dps.sftp.host=${DPS_SFTP_HOST:localhost} +dps.sftp.port=${DPS_SFTP_PORT:22} +dps.sftp.username=${DPS_SFTP_USERNAME:admin} +dps.sftp.password=${DPS_SFTP_PASSWORD:admin} +dps.sftp.known-hosts=${DPS_SFTP_KNOWNHOSTS} +dps.sftp.remote-location=${DPS_SFTP_REMOTE_LOCATION:upload}