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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ This repository only contains the source code for the package.

### Prerequisites

1. Download and install Java SE Development Kit (JDK) version 17. You can download it from either of the following sources:
1. Download and install Java SE Development Kit (JDK) version 21. You can download it from either of the following sources:

- [Oracle JDK](https://www.oracle.com/java/technologies/downloads/)
- [OpenJDK](https://adoptium.net/)
Expand Down
24 changes: 12 additions & 12 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
[package]
org = "ballerinax"
name = "confluent.cregistry"
version = "0.2.1"
version = "0.2.2"
authors = ["Ballerina"]
export=["confluent.cregistry"]
keywords = ["confluent", "schema_registry", "avro", "serdes"]
repository = "https://github.com/ballerina-platform/module-ballerinax-confluent.cregistry"
license = ["Apache-2.0"]
distribution = "2201.10.0"
distribution = "2201.11.0-20241218-101200-109f6cc7"

[platform.java17]
[platform.java21]
graalvmCompatible = true

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.ballerina.lib"
artifactId = "schema-registry-native"
version = "0.2.1"
path = "../native/build/libs/confluent.cregistry-native-0.2.1.jar"
version = "0.2.2"
path = "../native/build/libs/confluent.cregistry-native-0.2.2-SNAPSHOT.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.confluent"
artifactId = "kafka-schema-registry-client"
version = "5.3.2"
path = "./lib/kafka-schema-registry-client-5.3.2.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.confluent"
artifactId = "common-config"
version = "5.3.0"
path = "./lib/common-config-5.3.0.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.confluent"
artifactId = "common-utils"
version = "5.3.0"
path = "./lib/common-utils-5.3.0.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "org.apache.kafka"
artifactId = "kafka-clients"
version = "3.7.0"
path = "./lib/kafka-clients-3.7.0.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "org.apache.avro"
artifactId = "avro"
version = "1.11.3"
path = "./lib/avro-1.11.3.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "com.fasterxml.jackson.core"
artifactId = "jackson-core"
version = "2.17.0"
Expand Down
47 changes: 29 additions & 18 deletions ballerina/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.10.0"
distribution-version = "2201.11.0-20250110-005300-cc829451"

[[package]]
org = "ballerina"
name = "auth"
version = "2.12.0"
version = "2.13.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -23,7 +23,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "cache"
version = "3.8.0"
version = "3.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "constraint"},
Expand All @@ -35,7 +35,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "constraint"
version = "1.5.0"
version = "1.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -44,17 +44,27 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.7.2"
version = "2.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
]

[[package]]
org = "ballerina"
name = "data.jsondata"
version = "1.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.object"}
]

[[package]]
org = "ballerina"
name = "file"
version = "1.10.0"
version = "1.11.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -66,13 +76,14 @@ dependencies = [
[[package]]
org = "ballerina"
name = "http"
version = "2.12.1"
version = "2.13.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
{org = "ballerina", name = "cache"},
{org = "ballerina", name = "constraint"},
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "data.jsondata"},
{org = "ballerina", name = "file"},
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -99,7 +110,7 @@ modules = [
[[package]]
org = "ballerina"
name = "io"
version = "1.6.1"
version = "1.7.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -117,7 +128,7 @@ modules = [
[[package]]
org = "ballerina"
name = "jwt"
version = "2.13.0"
version = "2.14.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -225,7 +236,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.10.0"
version = "2.11.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -237,7 +248,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "mime"
version = "2.10.0"
version = "2.11.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -249,7 +260,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.12.0"
version = "2.13.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand All @@ -263,7 +274,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.3.0"
version = "1.4.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -272,7 +283,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "os"
version = "1.8.0"
version = "1.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -282,7 +293,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "task"
version = "2.5.0"
version = "2.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -306,7 +317,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.5.0"
version = "2.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -315,7 +326,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "url"
version = "2.4.0"
version = "2.5.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -324,7 +335,7 @@ dependencies = [
[[package]]
org = "ballerinax"
name = "confluent.cregistry"
version = "0.2.1"
version = "0.2.2"
dependencies = [
{org = "ballerina", name = "http"},
{org = "ballerina", name = "jballerina.java"},
Expand Down
2 changes: 1 addition & 1 deletion ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ballerina {
testCoverageParam = "--code-coverage --coverage-format=xml"
isConnector = true
langVersion = ballerinaLangVersion
platform = "java17"
platform = "java21"
}

configurations {
Expand Down
18 changes: 9 additions & 9 deletions build-config/resources/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,48 @@ export=["confluent.cregistry"]
keywords = ["confluent", "schema_registry", "avro", "serdes"]
repository = "https://github.com/ballerina-platform/module-ballerinax-confluent.cregistry"
license = ["Apache-2.0"]
distribution = "2201.10.0"
distribution = "2201.11.0-20241218-101200-109f6cc7"

[platform.java17]
[platform.java21]
graalvmCompatible = true

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.ballerina.lib"
artifactId = "schema-registry-native"
version = "@toml.version@"
path = "../native/build/libs/confluent.cregistry-native-@project.version@.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.confluent"
artifactId = "kafka-schema-registry-client"
version = "@kafka.schema.registry.version@"
path = "./lib/kafka-schema-registry-client-@kafka.schema.registry.version@.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.confluent"
artifactId = "common-config"
version = "@common.config.version@"
path = "./lib/common-config-@common.config.version@.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "io.confluent"
artifactId = "common-utils"
version = "@common.utils.version@"
path = "./lib/common-utils-@common.utils.version@.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "org.apache.kafka"
artifactId = "kafka-clients"
version = "@kafka.clients.version@"
path = "./lib/kafka-clients-@kafka.clients.version@.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "org.apache.avro"
artifactId = "avro"
version = "@avro.version@"
path = "./lib/avro-@avro.version@.jar"

[[platform.java17.dependency]]
[[platform.java21.dependency]]
groupId = "com.fasterxml.jackson.core"
artifactId = "jackson-core"
version = "@jackson.version@"
Expand Down
2 changes: 1 addition & 1 deletion examples/user-registration/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
org = "wso2"
name = "user_registration"
version = "0.1.0"
distribution = "2201.8.6"
distribution = "2201.11.0-20241218-101200-109f6cc7"

[build-options]
observabilityIncluded = true
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
org.gradle.caching=true
group=io.ballerina.lib
version=0.2.2-SNAPSHOT
ballerinaLangVersion=2201.10.0
ballerinaLangVersion=2201.11.0-20241218-101200-109f6cc7

checkstylePluginVersion=10.12.0
spotbugsPluginVersion=5.0.14
spotbugsPluginVersion=6.0.18
shadowJarPluginVersion=8.1.1
downloadPluginVersion=5.4.0
releasePluginVersion=2.8.0
ballerinaGradlePluginVersion=3.0.0
ballerinaGradlePluginVersion=2.2.6
jacocoVersion=0.8.10

jacksonVersion=2.17.0
Expand Down
7 changes: 5 additions & 2 deletions native/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,12 @@ test {
}

spotbugsMain {
def classLoader = plugins["com.github.spotbugs"].class.classLoader
def SpotBugsConfidence = classLoader.findLoadedClass("com.github.spotbugs.snom.Confidence")
def SpotBugsEffort = classLoader.findLoadedClass("com.github.spotbugs.snom.Effort")
effort = SpotBugsEffort.MAX
reportLevel = SpotBugsConfidence.LOW
ignoreFailures = true
effort = "max"
reportLevel = "low"
reportsDir = file("$project.buildDir/reports/spotbugs")
def excludeFile = file("${rootDir}/build-config/spotbugs-exclude.xml")
if (excludeFile.exists()) {
Expand Down
Loading