diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4844ec6..d68dfcc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Services - name: Build the docker-compose stack diff --git a/build.gradle b/build.gradle index e308cb1..3f12348 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { id 'ru.vyarus.github-info' version '1.5.0' id 'signing' id "io.github.gradle-nexus.publish-plugin" version "1.3.0" - id "com.github.ben-manes.versions" version "0.47.0" + id "com.github.ben-manes.versions" version "0.48.0" id 'net.researchgate.release' version '3.0.2' } diff --git a/gradle.properties b/gradle.properties index 7d03d1e..350e660 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ version=0.12.0-SNAPSHOT kestraVersion=[0.12,) -micronautVersion=3.9.3 -lombokVersion=1.18.28 +micronautVersion=3.10.1 +lombokVersion=1.18.30 diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index ccebba7..c1962a7 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 37aef8d..c30b486 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew index 79a61d4..aeb74cb 100755 --- a/gradlew +++ b/gradlew @@ -85,9 +85,6 @@ done APP_BASE_NAME=${0##*/} APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD=maximum @@ -197,6 +194,10 @@ if "$cygwin" || "$msys" ; then done fi + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + # Collect all arguments for the java command; # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of # shell script including quotes and variable substitutions, so put them in diff --git a/src/test/java/io/kestra/plugin/fs/http/DownloadTest.java b/src/test/java/io/kestra/plugin/fs/http/DownloadTest.java index fc6c173..b1f251f 100644 --- a/src/test/java/io/kestra/plugin/fs/http/DownloadTest.java +++ b/src/test/java/io/kestra/plugin/fs/http/DownloadTest.java @@ -27,7 +27,7 @@ @MicronautTest class DownloadTest { - public static final String FILE = "https://proof.ovh.net/files/1Mb.dat"; + public static final String FILE = "http://speedtest.ftp.otenet.gr/files/test1Mb.db"; @Inject private RunContextFactory runContextFactory; @@ -53,7 +53,7 @@ void run() throws Exception { IOUtils.toString(this.storageInterface.get(output.getUri()), StandardCharsets.UTF_8), is(IOUtils.toString(new URL(FILE).openStream(), StandardCharsets.UTF_8)) ); - assertThat(output.getUri().toString(), endsWith(".dat")); + assertThat(output.getUri().toString(), endsWith(".db")); } @Test diff --git a/src/test/java/io/kestra/plugin/fs/http/RequestTest.java b/src/test/java/io/kestra/plugin/fs/http/RequestTest.java index cf6e9ce..f31bffe 100644 --- a/src/test/java/io/kestra/plugin/fs/http/RequestTest.java +++ b/src/test/java/io/kestra/plugin/fs/http/RequestTest.java @@ -65,7 +65,7 @@ void run() throws Exception { @Test void head() throws Exception { - final String url = "https://proof.ovh.net/files/100Mb.dat"; + final String url = "http://speedtest.ftp.otenet.gr/files/test100Mb.db"; Request task = Request.builder() .id(RequestTest.class.getSimpleName())