From 85c807692bb7ba5f3fb30cf51737df2539d6b0c7 Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 27 May 2025 13:05:48 +0530 Subject: [PATCH 1/3] Add missing configs needed for mssql listener --- .../io.ballerina.lib/cdc-native/reflect-config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/native/src/main/resources/META-INF/native-image/io.ballerina.lib/cdc-native/reflect-config.json b/native/src/main/resources/META-INF/native-image/io.ballerina.lib/cdc-native/reflect-config.json index 237d5c9..3117286 100644 --- a/native/src/main/resources/META-INF/native-image/io.ballerina.lib/cdc-native/reflect-config.json +++ b/native/src/main/resources/META-INF/native-image/io.ballerina.lib/cdc-native/reflect-config.json @@ -35,7 +35,8 @@ "methods":[{"name":"","parameterTypes":["java.util.Properties"] }] }, { - "name":"io.debezium.schema.SchemaTopicNamingStrategy" + "name":"io.debezium.schema.SchemaTopicNamingStrategy", + "methods":[{"name":"","parameterTypes":["java.util.Properties"] }] }, { "name":"io.debezium.snapshot.SnapshotterService", From a15feb100bbbcd2eebb699a5142f19130c6eca96 Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 27 May 2025 13:09:02 +0530 Subject: [PATCH 2/3] [Automated] Update the toml files --- ballerina/Ballerina.toml | 8 ++++---- ballerina/CompilerPlugin.toml | 2 +- ballerina/Dependencies.toml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index a31ece5..f6679f3 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,7 +1,7 @@ [package] org = "ballerinax" name = "cdc" -version = "1.0.1" +version = "1.0.2" distribution = "2201.12.0" authors = ["Ballerina"] repository = "https://github.com/ballerina-platform/module-ballerinax-cdc" @@ -15,9 +15,9 @@ graalvmCompatible=true [[platform.java21.dependency]] groupId = "io.ballerina.lib.cdc" -artifactId = "cdc-native-1.0.1" -version = "1.0.1" -path = "../native/build/libs/cdc-native-1.0.1.jar" +artifactId = "cdc-native-1.0.2-SNAPSHOT" +version = "1.0.2-SNAPSHOT" +path = "../native/build/libs/cdc-native-1.0.2-SNAPSHOT.jar" [[platform.java21.dependency]] groupId = "io.debezium" diff --git a/ballerina/CompilerPlugin.toml b/ballerina/CompilerPlugin.toml index 84c2b10..3b67c3d 100644 --- a/ballerina/CompilerPlugin.toml +++ b/ballerina/CompilerPlugin.toml @@ -3,4 +3,4 @@ id = "cdc-compiler-plugin" class = "io.ballerina.lib.cdc.compiler.CdcCompilerPlugin" [[dependency]] -path = "../compiler-plugin/build/libs/cdc-compiler-plugin-1.0.1.jar" +path = "../compiler-plugin/build/libs/cdc-compiler-plugin-1.0.2-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index 3a76e42..12784a4 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -174,7 +174,7 @@ modules = [ [[package]] org = "ballerinax" name = "cdc" -version = "1.0.1" +version = "1.0.2" dependencies = [ {org = "ballerina", name = "crypto"}, {org = "ballerina", name = "data.jsondata"}, From e6805abb9d3a6347b1a6badd00a8edfb5a101d85 Mon Sep 17 00:00:00 2001 From: Niveathika Date: Tue, 27 May 2025 13:17:54 +0530 Subject: [PATCH 3/3] Fix examples build script --- examples/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/build.sh b/examples/build.sh index 0fa9482..9875ef8 100755 --- a/examples/build.sh +++ b/examples/build.sh @@ -74,7 +74,7 @@ echo "Processing examples in the examples directory..." cd "$BAL_EXAMPLES_DIR" for dir in $(find "$BAL_EXAMPLES_DIR" -type d -maxdepth 1 -mindepth 1); do # Skip the build directory - if [[ "$dir" == *build/ ]]; then + if [[ "$(basename "$dir")" == "build" ]]; then continue fi echo "Processing example: $dir"