Re: [camel] 07/07: [CAMEL-14437] Fix ftp endpoints

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: [camel] 07/07: [CAMEL-14437] Fix ftp endpoints

Omar Al-Safi
It looks like the jenkins build is broken
https://builds.apache.org/job/Camel/job/master/1877/console


On Mon, Jan 27, 2020 at 5:44 PM <[hidden email]> wrote:

> This is an automated email from the ASF dual-hosted git repository.
>
> gnodet pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/camel.git
>
> commit 8c3fa10517c2d98eba4c27aa5dafd0b51fd0646c
> Author: Guillaume Nodet <[hidden email]>
> AuthorDate: Mon Jan 27 17:43:55 2020 +0100
>
>     [CAMEL-14437] Fix ftp endpoints
> ---
>  .../java/org/apache/camel/component/file/remote/FtpEndpoint.java    | 6
> +++++-
>  .../java/org/apache/camel/component/file/remote/FtpsEndpoint.java   | 6
> +++++-
>  .../java/org/apache/camel/component/file/remote/SftpEndpoint.java   | 5
> ++++-
>  3 files changed, 14 insertions(+), 3 deletions(-)
>
> diff --git
> a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
> b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
> index 144578d..c4aba7c 100644
> ---
> a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
> +++
> b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpEndpoint.java
> @@ -46,7 +46,11 @@ import org.slf4j.LoggerFactory;
>  @UriEndpoint(firstVersion = "1.1.0", scheme = "ftp", extendsScheme =
> "file", title = "FTP",
>          syntax = "ftp:host:port/directoryName", alternativeSyntax =
> "ftp:username:password@host:port/directoryName",
>          label = "file",
> -        excludeProperties =
> "appendChars,readLockIdempotentReleaseAsync,readLockIdempotentReleaseAsyncPoolSize,readLockIdempotentReleaseDelay,readLockIdempotentReleaseExecutorService")
> +        excludeProperties =
> "appendChars,readLockIdempotentReleaseAsync,readLockIdempotentReleaseAsyncPoolSize,"
> +
> +
> "readLockIdempotentReleaseDelay,readLockIdempotentReleaseExecutorService," +
> +
> "directoryMustExist,extendedAttributes,probeContentType,startingDirectoryMustExist,"
> +
> +
> "startingDirectoryMustHaveAccess,chmodDirectory,forceWrites,copyAndDeleteOnRenameFail,"
> +
> +                "renameUsingCopy")
>  @ManagedResource(description = "Managed FtpEndpoint")
>  public class FtpEndpoint<T extends FTPFile> extends
> RemoteFileEndpoint<FTPFile> {
>
> diff --git
> a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpsEndpoint.java
> b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpsEndpoint.java
> index 829df4b..a011c87 100644
> ---
> a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpsEndpoint.java
> +++
> b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/FtpsEndpoint.java
> @@ -46,7 +46,11 @@ import org.slf4j.LoggerFactory;
>  @UriEndpoint(firstVersion = "2.2.0", scheme = "ftps", extendsScheme =
> "file", title = "FTPS",
>          syntax = "ftps:host:port/directoryName", alternativeSyntax =
> "ftps:username:password@host:port/directoryName",
>          label = "file",
> -        excludeProperties =
> "appendChars,readLockIdempotentReleaseAsync,readLockIdempotentReleaseAsyncPoolSize,readLockIdempotentReleaseDelay,readLockIdempotentReleaseExecutorService")
> +        excludeProperties =
> "appendChars,readLockIdempotentReleaseAsync,readLockIdempotentReleaseAsyncPoolSize,"
> +
> +
> "readLockIdempotentReleaseDelay,readLockIdempotentReleaseExecutorService," +
> +
> "directoryMustExist,extendedAttributes,probeContentType,startingDirectoryMustExist,"
> +
> +
> "startingDirectoryMustHaveAccess,chmodDirectory,forceWrites,copyAndDeleteOnRenameFail,"
> +
> +                "renameUsingCopy")
>  @ManagedResource(description = "Managed FtpsEndpoint")
>  public class FtpsEndpoint extends FtpEndpoint<FTPFile> {
>      private static final Logger LOG =
> LoggerFactory.getLogger(FtpsEndpoint.class);
> diff --git
> a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java
> b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java
> index 5b376da..595b23b 100644
> ---
> a/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java
> +++
> b/components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/SftpEndpoint.java
> @@ -29,7 +29,10 @@ import org.apache.camel.spi.UriParam;
>   */
>  @UriEndpoint(firstVersion = "1.1.0", scheme = "sftp", extendsScheme =
> "file", title = "SFTP",
>          syntax = "sftp:host:port/directoryName", label = "file",
> -        excludeProperties =
> "appendChars,binary,passiveMode,bufferSize,siteCommand")
> +        excludeProperties =
> "appendChars,binary,passiveMode,bufferSize,siteCommand," +
> +
> "directoryMustExist,extendedAttributes,probeContentType,startingDirectoryMustExist,"
> +
> +
> "startingDirectoryMustHaveAccess,chmodDirectory,forceWrites,copyAndDeleteOnRenameFail,"
> +
> +                "renameUsingCopy")
>  public class SftpEndpoint extends RemoteFileEndpoint<SftpRemoteFile> {
>
>      @UriParam
>
>