From 0e2cda01c77eab45f1bbe1363f105dac6e04d9ee Mon Sep 17 00:00:00 2001 From: ayeshLK Date: Fri, 1 Mar 2024 09:51:50 +0530 Subject: [PATCH 1/3] Mark JMS with observability flag --- build-config/resources/Ballerina.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index f4d8af49..bc41f0de 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -9,6 +9,9 @@ icon = "icon.png" license = ["Apache-2.0"] distribution = "2201.8.0" +[build-options] +observabilityIncluded = true + [platform.java17] graalvmCompatible = true From 19924f49a092c01a2862e2aee7cf97574a43c1dd Mon Sep 17 00:00:00 2001 From: ayeshLK Date: Fri, 1 Mar 2024 10:00:16 +0530 Subject: [PATCH 2/3] Update change log --- changelog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changelog.md b/changelog.md index 078d051b..e5c23be7 100644 --- a/changelog.md +++ b/changelog.md @@ -6,5 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added +- [Add observability support to the JMS module](/~https://github.com/ballerina-platform/ballerina-library/issues/5932) + +## [0.1.0] - 2023-07-24 + ### Changed - [Update the `java.jms` repository to the ballerina swanlake standards](/~https://github.com/ballerina-platform/ballerina-standard-library/issues/4669) From 99d01a423d936b51d0a7606bde50eef8d8424ae5 Mon Sep 17 00:00:00 2001 From: ayeshLK Date: Fri, 1 Mar 2024 10:47:03 +0530 Subject: [PATCH 3/3] [Automated] Update the native jar versions --- ballerina/Ballerina.toml | 3 +++ ballerina/Dependencies.toml | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 6d01f049..392cadc3 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -9,6 +9,9 @@ icon = "icon.png" license = ["Apache-2.0"] distribution = "2201.8.0" +[build-options] +observabilityIncluded = true + [platform.java17] graalvmCompatible = true diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index c96964b9..31f7e26b 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -36,6 +36,14 @@ modules = [ {org = "ballerina", packageName = "lang.runtime", moduleName = "lang.runtime"} ] +[[package]] +org = "ballerina" +name = "observe" +version = "1.2.2" +dependencies = [ + {org = "ballerina", name = "jballerina.java"} +] + [[package]] org = "ballerina" name = "test" @@ -49,6 +57,18 @@ modules = [ {org = "ballerina", packageName = "test", moduleName = "test"} ] +[[package]] +org = "ballerinai" +name = "observe" +version = "0.0.0" +dependencies = [ + {org = "ballerina", name = "jballerina.java"}, + {org = "ballerina", name = "observe"} +] +modules = [ + {org = "ballerinai", packageName = "observe", moduleName = "observe"} +] + [[package]] org = "ballerinax" name = "activemq.driver" @@ -66,6 +86,7 @@ dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "lang.runtime"}, {org = "ballerina", name = "test"}, + {org = "ballerinai", name = "observe"}, {org = "ballerinax", name = "activemq.driver"} ] modules = [