Related to: https://github.com/spring-cloud/stream-applications/issues/171 It might not be necessary in real world, but with `SshServer` we fail when we disconnect the session and cannot connect it back because that server decides to die for a strange reason like no connections. * Upgrade to SSHD 2.7.0 * Wrap default SFTP SF into a `CachingSessionFactory` to keep sessions opened and don't let the server to die because on connections from clients * Reenable SFTP Supplier tests
69 lines
2.3 KiB
XML
69 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>org.springframework.cloud.fn</groupId>
|
|
<artifactId>spring-functions-parent</artifactId>
|
|
<version>${revision}</version>
|
|
<relativePath>../../spring-functions-parent</relativePath>
|
|
</parent>
|
|
|
|
<artifactId>function-test-support</artifactId>
|
|
<name>function-test-support</name>
|
|
<description>file consumer</description>
|
|
|
|
<properties>
|
|
<sshd-sftp.version>2.7.0</sshd-sftp.version>
|
|
<apache-ftpserver.version>1.1.1</apache-ftpserver.version>
|
|
<awaitility.version>4.0.3</awaitility.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.integration</groupId>
|
|
<artifactId>spring-integration-ftp</artifactId>
|
|
<optional>true</optional>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-websocket</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.ftpserver</groupId>
|
|
<artifactId>ftpserver-core</artifactId>
|
|
<version>${apache-ftpserver.version}</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.apache.sshd</groupId>
|
|
<artifactId>sshd-sftp</artifactId>
|
|
<version>${sshd-sftp.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.testcontainers</groupId>
|
|
<artifactId>testcontainers</artifactId>
|
|
<version>${test-containers.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.awaitility</groupId>
|
|
<artifactId>awaitility</artifactId>
|
|
<version>${awaitility.version}</version>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</project>
|