From e5d022e3c471ad8486116af22e07154e7414515c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20B=C3=BChler?= Date: Wed, 23 Oct 2024 11:53:57 +0200 Subject: [PATCH] Update ballerina to version 2201.10.2 and update java dependencies --- Ballerina.toml | 4 ++-- Dependencies.toml | 36 +++++++++++++++++++----------------- result-watcher.bal | 2 +- 3 files changed, 22 insertions(+), 20 deletions(-) diff --git a/Ballerina.toml b/Ballerina.toml index 0b26f55..1107aa2 100644 --- a/Ballerina.toml +++ b/Ballerina.toml @@ -7,13 +7,13 @@ export = ["qhana_backend", "qhana_backend.database"] [[platform.java11.dependency]] artifactId="sqlite-jdbc" -version="3.36.0.1" +version="3.46.1.3" groupId="org.xerial" [[platform.java11.dependency]] artifactId="mariadb-java-client" groupId="org.mariadb.jdbc" -version="2.7.4" +version="3.4.1" [build-options] observabilityIncluded = true diff --git a/Dependencies.toml b/Dependencies.toml index edf5181..c506477 100644 --- a/Dependencies.toml +++ b/Dependencies.toml @@ -5,12 +5,12 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.8.6" +distribution-version = "2201.10.2" [[package]] org = "ballerina" name = "auth" -version = "2.10.0" +version = "2.12.0" dependencies = [ {org = "ballerina", name = "crypto"}, {org = "ballerina", name = "jballerina.java"}, @@ -22,7 +22,7 @@ dependencies = [ [[package]] org = "ballerina" name = "cache" -version = "3.7.1" +version = "3.8.0" dependencies = [ {org = "ballerina", name = "constraint"}, {org = "ballerina", name = "jballerina.java"}, @@ -41,7 +41,7 @@ dependencies = [ [[package]] org = "ballerina" name = "crypto" -version = "2.6.2" +version = "2.7.2" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "time"} @@ -50,7 +50,7 @@ dependencies = [ [[package]] org = "ballerina" name = "file" -version = "1.9.0" +version = "1.10.0" dependencies = [ {org = "ballerina", name = "io"}, {org = "ballerina", name = "jballerina.java"}, @@ -64,7 +64,7 @@ modules = [ [[package]] org = "ballerina" name = "http" -version = "2.10.12" +version = "2.12.2" dependencies = [ {org = "ballerina", name = "auth"}, {org = "ballerina", name = "cache"}, @@ -96,7 +96,7 @@ modules = [ [[package]] org = "ballerina" name = "io" -version = "1.6.0" +version = "1.6.1" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "lang.value"} @@ -113,10 +113,11 @@ version = "0.0.0" [[package]] org = "ballerina" name = "jwt" -version = "2.10.0" +version = "2.13.0" dependencies = [ {org = "ballerina", name = "cache"}, {org = "ballerina", name = "crypto"}, + {org = "ballerina", name = "io"}, {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "lang.int"}, {org = "ballerina", name = "lang.string"}, @@ -212,7 +213,7 @@ dependencies = [ [[package]] org = "ballerina" name = "log" -version = "2.9.0" +version = "2.10.0" dependencies = [ {org = "ballerina", name = "io"}, {org = "ballerina", name = "jballerina.java"}, @@ -226,11 +227,12 @@ modules = [ [[package]] org = "ballerina" name = "mime" -version = "2.9.0" +version = "2.10.1" dependencies = [ {org = "ballerina", name = "io"}, {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.int"} + {org = "ballerina", name = "lang.int"}, + {org = "ballerina", name = "log"} ] modules = [ {org = "ballerina", packageName = "mime", moduleName = "mime"} @@ -239,7 +241,7 @@ modules = [ [[package]] org = "ballerina" name = "oauth2" -version = "2.10.0" +version = "2.12.0" dependencies = [ {org = "ballerina", name = "cache"}, {org = "ballerina", name = "crypto"}, @@ -252,7 +254,7 @@ dependencies = [ [[package]] org = "ballerina" name = "observe" -version = "1.2.2" +version = "1.3.0" dependencies = [ {org = "ballerina", name = "jballerina.java"} ] @@ -272,7 +274,7 @@ modules = [ [[package]] org = "ballerina" name = "sql" -version = "1.11.1" +version = "1.14.1" dependencies = [ {org = "ballerina", name = "io"}, {org = "ballerina", name = "jballerina.java"}, @@ -298,7 +300,7 @@ modules = [ [[package]] org = "ballerina" name = "time" -version = "2.4.0" +version = "2.5.0" dependencies = [ {org = "ballerina", name = "jballerina.java"} ] @@ -317,7 +319,7 @@ dependencies = [ [[package]] org = "ballerina" name = "uuid" -version = "1.7.0" +version = "1.8.0" dependencies = [ {org = "ballerina", name = "crypto"}, {org = "ballerina", name = "jballerina.java"}, @@ -364,7 +366,7 @@ modules = [ [[package]] org = "ballerinax" name = "java.jdbc" -version = "1.11.0" +version = "1.12.1" dependencies = [ {org = "ballerina", name = "io"}, {org = "ballerina", name = "jballerina.java"}, diff --git a/result-watcher.bal b/result-watcher.bal index 1de65ee..42bee0c 100644 --- a/result-watcher.bal +++ b/result-watcher.bal @@ -758,7 +758,7 @@ public isolated class ScheduleResultWatcher { } } - public function schedule() returns error? { + public isolated function schedule() returns error? { var now = time:utcToCivil(time:utcAddSeconds(time:utcNow(), 0.1)); _ = check task:scheduleOneTimeJob(self, now); }