Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/ftp/Downloads.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Plugin(
examples = {
@Example(
title = "Download a list of files and move it to an archive folders",
title = "Download a list of files and move them to an archive folder",
full = true,
code = """
id: fs_ftp_downloads
Expand Down
12 changes: 6 additions & 6 deletions src/main/java/io/kestra/plugin/fs/ftp/FtpInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public interface FtpInterface {
Property<Proxy.Type> getProxyType();

@Schema(
title = "Is the path relative to the users home directory"
title = "Is the path relative to the user's home directory"
)
Property<Boolean> getRootDir();

Expand All @@ -36,7 +36,7 @@ public interface FtpInterface {
Property<Boolean> getPassiveMode();

@Schema(
title = "Control that the server ip that emit the request is the same than send response."
title = "Ensure the server IP responding matches the one that received the request."
)
Property<Boolean> getRemoteIpVerification();

Expand Down Expand Up @@ -65,15 +65,15 @@ class Options {
Property<Duration> socketTimeout = Property.ofValue(Duration.ofSeconds(30));

@Schema(
title = "the control keep alive timeout.",
description = "to ensure the socket be alive after download huge file."
title = "The control keep-alive timeout.",
description = "Ensures the socket stays alive after downloading a large file."
)
@Builder.Default
Property<Duration> controlKeepAliveTimeout = Property.ofValue(Duration.ofSeconds(30));

@Schema(
title = "The control keep alive reply timeout.",
description = "to ensure the socket be alive after download huge file."
title = "The control keep-alive reply timeout.",
description = "Ensures the socket stays alive after downloading a large file."
)
@Builder.Default
Property<Duration> controlKeepAliveReplyTimeout = Property.ofValue(Duration.ofSeconds(30));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/ftps/Downloads.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@Plugin(
examples = {
@Example(
title = "Download a list of files and move it to an archive folders",
title = "Download a list of files and move them to an archive folder",
full = true,
code = """
id: fs_ftps_downloads
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/local/Downloads.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public class Downloads extends AbstractLocalTask implements RunnableTask<Downloa
private Property<String> regExp;

@Schema(
title = "List file recursively"
title = "List files recursively"
)
@Builder.Default
private Property<Boolean> recursive = Property.ofValue(false);
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/io/kestra/plugin/fs/local/Trigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public class Trigger extends AbstractTrigger implements PollingTriggerInterface,
private Property<String> from;

@Schema(
title = "The destination directory in case off `MOVE` "
title = "The destination directory in case of `MOVE`"
)
private Property<String> moveDirectory;

Expand All @@ -101,7 +101,7 @@ public class Trigger extends AbstractTrigger implements PollingTriggerInterface,
private Property<Boolean> recursive = Property.ofValue(false);

@Schema(
title = "The action to do on downloaded files"
title = "The action to take on downloaded files"
)
@Builder.Default
private Property<Downloads.Action> action = Property.ofValue(Downloads.Action.NONE);
Expand Down Expand Up @@ -220,4 +220,3 @@ public static class Output implements io.kestra.core.models.tasks.Output {
}

}

4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/fs/local/package-info.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@PluginSubGroup(
description = "This sub-group of plugins contains tasks for accessing files using local file system.",
description = "This sub-group of plugins contains tasks for accessing files using the local file system.",
categories = PluginSubGroup.PluginCategory.STORAGE
)
package io.kestra.plugin.fs.local;

import io.kestra.core.models.annotations.PluginSubGroup;
import io.kestra.core.models.annotations.PluginSubGroup;
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/sftp/Downloads.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@Plugin(
examples = {
@Example(
title = "Download a list of files and move it to an archive folders",
title = "Download a list of files and move them to an archive folder",
full = true,
code = """
id: fs_sftp_downloads
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/io/kestra/plugin/fs/sftp/SftpInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

public interface SftpInterface {
@Schema(
title = "Private keyfile in the PEM file format to connect to a remote server using SSH",
description = "To generate a PEM format key from OpenSSH, use the following command: `ssh-keygen -m PEM`"
title = "Private key file in the PEM format to connect to a remote server using SSH",
description = "To generate a PEM-format key from OpenSSH, use the following command: `ssh-keygen -m PEM`"
)
Property<String> getKeyfile();

@Schema(
title = "Passphrase of the ssh key"
title = "Passphrase for the SSH key"
)
Property<String> getPassphrase();

Expand Down Expand Up @@ -55,12 +55,12 @@ public interface SftpInterface {
Property<String> getProxyType();

@Schema(
title = "Is the path relative to the users home directory"
title = "Is the path relative to the user's home directory"
)
Property<Boolean> getRootDir();

@Schema(
title = "Configures Key exchange algorithm explicitly e. g diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1."
title = "Configures the key exchange algorithm explicitly (e.g., diffie-hellman-group14-sha1, diffie-hellman-group-exchange-sha256, diffie-hellman-group-exchange-sha1, diffie-hellman-group1-sha1)."
)
Property<String> getKeyExchangeAlgorithm();
}
2 changes: 1 addition & 1 deletion src/main/java/io/kestra/plugin/fs/smb/package-info.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@PluginSubGroup(
title = "SMB (Server Message Block)",
description = "This sub-group of plugins contains tasks for accessing files using the SMB protocol (Samba for eg.).",
description = "This sub-group of plugins contains tasks for accessing files using the SMB protocol (Samba, for example).",
categories = PluginSubGroup.PluginCategory.STORAGE
)
package io.kestra.plugin.fs.smb;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/fs/vfs/Downloads.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public abstract class Downloads extends AbstractVfsTask implements RunnableTask<
private Property<String> from;

@Schema(
title = "The action to do on downloaded files"
title = "The action to take on downloaded files"
)
private Property<Downloads.Action> action;

Expand All @@ -47,7 +47,7 @@ public abstract class Downloads extends AbstractVfsTask implements RunnableTask<
private Property<String> regExp;

@Schema(
title = "List file recursively"
title = "List files recursively"
)
@Builder.Default
private Property<Boolean> recursive = Property.ofValue(false);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/kestra/plugin/fs/vfs/List.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
@NoArgsConstructor
public abstract class List extends AbstractVfsTask implements RunnableTask<List.Output> {
@Schema(
title = "The fully-qualified URIs that point to path"
title = "The fully-qualified URIs that point to a path"
)
@NotNull
protected Property<String> from;
Expand All @@ -28,7 +28,7 @@ public abstract class List extends AbstractVfsTask implements RunnableTask<List.
private Property<String> regExp;

@Schema(
title = "List file recursively"
title = "List files recursively"
)
@Builder.Default
private Property<Boolean> recursive = Property.ofValue(false);
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/io/kestra/plugin/fs/vfs/Trigger.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
@NoArgsConstructor
public abstract class Trigger extends AbstractTrigger implements PollingTriggerInterface, AbstractVfsInterface, TriggerOutput<Trigger.Output>, StatefulTriggerInterface {
@Schema(
title = "The interval between test of triggers"
title = "The interval between trigger checks"
)
@Builder.Default
private final Duration interval = Duration.ofSeconds(60);
Expand All @@ -61,7 +61,7 @@ public abstract class Trigger extends AbstractTrigger implements PollingTriggerI
private Property<Downloads.Action> action;

@Schema(
title = "The destination directory in case off `MOVE` "
title = "The destination directory in case of `MOVE`"
)
private Property<String> moveDirectory;

Expand All @@ -71,7 +71,7 @@ public abstract class Trigger extends AbstractTrigger implements PollingTriggerI
private Property<String> regExp;

@Schema(
title = "List file recursively"
title = "List files recursively"
)
@Builder.Default
private Property<Boolean> recursive = Property.ofValue(false);
Expand Down
Loading