Skip to content

Commit

Permalink
Update ballerina to version 2201.10.2 and update java dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
buehlefs committed Oct 29, 2024
1 parent 16f8369 commit e5d022e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
36 changes: 19 additions & 17 deletions Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand All @@ -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"},
Expand All @@ -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"}
Expand All @@ -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"},
Expand All @@ -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"},
Expand Down Expand Up @@ -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"}
Expand All @@ -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"},
Expand Down Expand Up @@ -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"},
Expand All @@ -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"}
Expand All @@ -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"},
Expand All @@ -252,7 +254,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.2.2"
version = "1.3.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -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"},
Expand All @@ -298,7 +300,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.4.0"
version = "2.5.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -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"},
Expand Down Expand Up @@ -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"},
Expand Down
2 changes: 1 addition & 1 deletion result-watcher.bal
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit e5d022e

Please sign in to comment.