From 399b3d4f5875c5a96fab18371257a59f7c8d22f7 Mon Sep 17 00:00:00 2001 From: ballerina-bot Date: Mon, 11 Dec 2023 12:34:30 +0000 Subject: [PATCH 1/3] [Gradle Release Plugin] - pre tag commit: 'v0.7.1'. --- ballerina/Ballerina.toml | 106 ++++++++++++++++++------------------ ballerina/Dependencies.toml | 17 +++++- gradle.properties | 2 +- 3 files changed, 69 insertions(+), 56 deletions(-) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index f671760..251958d 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -17,164 +17,164 @@ [package] org = "ballerinax" name = "newrelic" -version = "@toml.version@" +version = "0.7.1" distribution = "2201.8.2" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] -path = "../native/build/libs/newrelic-extension-native-@project.version@.jar" +path = "../native/build/libs/newrelic-extension-native-0.7.1.jar" groupId = "ballerina" artifactId = "newrelic-extension-native" -version = "@project.version@" +version = "0.7.1" [[platform.java17.dependency]] -path = "./lib/telemetry-all-@newrelic.telemetry.version@.jar" +path = "./lib/telemetry-all-0.16.0.jar" groupId = "com.newrelic.telemetry" artifactId = "telemetry-all" -version = "@newrelic.telemetry.version@" +version = "0.16.0" [[platform.java17.dependency]] -path = "./lib/telemetry-http-okhttp-@newrelic.telemetry.version@.jar" +path = "./lib/telemetry-http-okhttp-0.16.0.jar" groupId = "com.newrelic.telemetry" artifactId = "telemetry-http-okhttp" -version = "@newrelic.telemetry.version@" +version = "0.16.0" [[platform.java17.dependency]] -path = "./lib/okio-jvm-@okio.version@.jar" +path = "./lib/okio-jvm-3.5.0.jar" groupId = "com.squareup.okio" artifactId = "okio" -version = "@okio.version@" +version = "3.5.0" [[platform.java17.dependency]] -path = "./lib/okhttp-@okhttp.version@.jar" +path = "./lib/okhttp-4.11.0.jar" groupId = "com.squareup.okhttp3" artifactId = "okhttp" -version = "@okhttp.version@" +version = "4.11.0" [[platform.java17.dependency]] -path = "./lib/kotlin-runtime-@kotlin.version@.jar" +path = "./lib/kotlin-runtime-1.2.71.jar" groupId = "org.jetbrains.kotlin" artifactId = "kotlin-runtime" -version = "@kotlin.version@" +version = "1.2.71" [[platform.java17.dependency]] -path = "./lib/kotlin-stdlib-@kotlinStdlib.version@.jar" +path = "./lib/kotlin-stdlib-1.8.22.jar" groupId = "org.jetbrains.kotlin" artifactId = "kotlin-stdlib" -version = "@kotlinStdlib.version@" +version = "1.8.22" [[platform.java17.dependency]] -path = "./lib/opentelemetry-api-@opentelemetry.version@.jar" +path = "./lib/opentelemetry-api-1.0.0.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-api" -version = "@opentelemetry.version@" +version = "1.0.0" [[platform.java17.dependency]] -path = "./lib/opentelemetry-api-metrics-@openTelemetryAlpha.version@.jar" +path = "./lib/opentelemetry-api-metrics-1.0.0-alpha.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-api-metrics" -version = "@openTelemetryAlpha.version@" +version = "1.0.0-alpha" [[platform.java17.dependency]] -path = "./lib/opentelemetry-sdk-trace-@opentelemetry.version@.jar" +path = "./lib/opentelemetry-sdk-trace-1.0.0.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-sdk-trace" -version = "@opentelemetry.version@" +version = "1.0.0" [[platform.java17.dependency]] -path = "./lib/opentelemetry-sdk-common-@opentelemetry.version@.jar" +path = "./lib/opentelemetry-sdk-common-1.0.0.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-sdk-common" -version = "@opentelemetry.version@" +version = "1.0.0" [[platform.java17.dependency]] -path = "./lib/opentelemetry-semconv-@openTelemetryAlpha.version@.jar" +path = "./lib/opentelemetry-semconv-1.0.0-alpha.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-semconv" -version = "@openTelemetryAlpha.version@" +version = "1.0.0-alpha" [[platform.java17.dependency]] -path = "./lib/opentelemetry-proto-@openTelemetryAlpha.version@.jar" +path = "./lib/opentelemetry-proto-1.0.0-alpha.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-proto" -version = "@openTelemetryAlpha.version@" +version = "1.0.0-alpha" [[platform.java17.dependency]] -path = "./lib/opentelemetry-exporter-otlp-trace-@opentelemetry.version@.jar" +path = "./lib/opentelemetry-exporter-otlp-trace-1.0.0.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-exporter-otlp-trace" -version = "@opentelemetry.version@" +version = "1.0.0" [[platform.java17.dependency]] -path = "./lib/opentelemetry-exporter-otlp-common-@opentelemetry.version@.jar" +path = "./lib/opentelemetry-exporter-otlp-common-1.0.0.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-exporter-otlp-common" -version = "@opentelemetry.version@" +version = "1.0.0" [[platform.java17.dependency]] -path = "./lib/opentelemetry-extension-trace-propagators-@opentelemetry.version@.jar" +path = "./lib/opentelemetry-extension-trace-propagators-1.0.0.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-extension-trace-propagators" -version = "@opentelemetry.version@" +version = "1.0.0" [[platform.java17.dependency]] -path = "./lib/guava-@guava.version@.jar" +path = "./lib/guava-32.1.2-jre.jar" groupId = "com.google.guava" artifactId = "guava" -version = "@guava.version@" +version = "32.1.2-jre" [[platform.java17.dependency]] -path = "./lib/failureaccess-@failureAccess.version@.jar" +path = "./lib/failureaccess-1.0.1.jar" groupId = "com.google.guava" artifactId = "failureaccess" -version = "@failureAccess.version@" +version = "1.0.1" [[platform.java17.dependency]] -path = "./lib/grpc-api-@grpc.version@.jar" +path = "./lib/grpc-api-1.60.0.jar" groupId = "io.grpc" artifactId = "grpc-api" -version = "@grpc.version@" +version = "1.60.0" [[platform.java17.dependency]] -path = "./lib/grpc-context-@grpc.version@.jar" +path = "./lib/grpc-context-1.60.0.jar" groupId = "io.grpc" artifactId = "grpc-context" -version = "@grpc.version@" +version = "1.60.0" [[platform.java17.dependency]] -path = "./lib/grpc-core-@grpc.version@.jar" +path = "./lib/grpc-core-1.60.0.jar" groupId = "io.grpc" artifactId = "grpc-core" -version = "@grpc.version@" +version = "1.60.0" [[platform.java17.dependency]] -path = "./lib/grpc-stub-@grpc.version@.jar" +path = "./lib/grpc-stub-1.60.0.jar" groupId = "io.grpc" artifactId = "grpc-stub" -version = "@grpc.version@" +version = "1.60.0" [[platform.java17.dependency]] -path = "./lib/grpc-protobuf-@grpc.version@.jar" +path = "./lib/grpc-protobuf-1.60.0.jar" groupId = "io.grpc" artifactId = "grpc-protobuf" -version = "@grpc.version@" +version = "1.60.0" [[platform.java17.dependency]] -path = "./lib/grpc-protobuf-lite-@grpc.version@.jar" +path = "./lib/grpc-protobuf-lite-1.60.0.jar" groupId = "io.grpc" artifactId = "grpc-protobuf-lite" -version = "@grpc.version@" +version = "1.60.0" [[platform.java17.dependency]] -path = "./lib/grpc-netty-shaded-@grpc.version@.jar" +path = "./lib/grpc-netty-shaded-1.60.0.jar" groupId = "io.grpc" artifactId = "grpc-netty-shaded" -version = "@grpc.version@" +version = "1.60.0" [[platform.java17.dependency]] -path = "./lib/perfmark-api-@perfmark.version@.jar" +path = "./lib/perfmark-api-0.23.0.jar" groupId = "io.perfmark" artifactId = "perfmark-api" -version = "@perfmark.version@" +version = "0.23.0" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index c1bd84a..b2bc6d0 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -58,14 +58,27 @@ modules = [ {org = "ballerina", packageName = "observe", moduleName = "observe.mockextension"} ] +[[package]] +org = "ballerina" +name = "os" +version = "1.8.0" +dependencies = [ + {org = "ballerina", name = "io"}, + {org = "ballerina", name = "jballerina.java"} +] +modules = [ + {org = "ballerina", packageName = "os", moduleName = "os"} +] + [[package]] org = "ballerinax" name = "newrelic" -version = "0.7.0" +version = "0.7.1" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "log"}, - {org = "ballerina", name = "observe"} + {org = "ballerina", name = "observe"}, + {org = "ballerina", name = "os"} ] modules = [ {org = "ballerinax", packageName = "newrelic", moduleName = "newrelic"} diff --git a/gradle.properties b/gradle.properties index 65039e1..daba45b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ # under the License. group=org.ballerinalang -version=0.7.1-SNAPSHOT +version=0.7.1 ballerinaLangVersion=2201.8.2 org.gradle.caching=true org.gradle.parallel=true From 272fad88ff1adef19c7f38c58afcf664cdb3aadd Mon Sep 17 00:00:00 2001 From: ballerina-bot Date: Mon, 11 Dec 2023 12:34:31 +0000 Subject: [PATCH 2/3] [Gradle Release Plugin] - new version commit: 'v0.7.2-SNAPSHOT'. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index daba45b..c7ebe97 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,7 +15,7 @@ # under the License. group=org.ballerinalang -version=0.7.1 +version=0.7.2-SNAPSHOT ballerinaLangVersion=2201.8.2 org.gradle.caching=true org.gradle.parallel=true From 613cfa7d149469443759082455ee784229cd78d0 Mon Sep 17 00:00:00 2001 From: Nipuna Madhushan <51471998+NipunaMadhushan@users.noreply.github.com> Date: Tue, 12 Dec 2023 10:25:02 +0530 Subject: [PATCH 3/3] Update Ballerina.toml --- ballerina/Ballerina.toml | 106 +++++++++++++++++++-------------------- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 251958d..f671760 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -17,164 +17,164 @@ [package] org = "ballerinax" name = "newrelic" -version = "0.7.1" +version = "@toml.version@" distribution = "2201.8.2" [platform.java17] graalvmCompatible = true [[platform.java17.dependency]] -path = "../native/build/libs/newrelic-extension-native-0.7.1.jar" +path = "../native/build/libs/newrelic-extension-native-@project.version@.jar" groupId = "ballerina" artifactId = "newrelic-extension-native" -version = "0.7.1" +version = "@project.version@" [[platform.java17.dependency]] -path = "./lib/telemetry-all-0.16.0.jar" +path = "./lib/telemetry-all-@newrelic.telemetry.version@.jar" groupId = "com.newrelic.telemetry" artifactId = "telemetry-all" -version = "0.16.0" +version = "@newrelic.telemetry.version@" [[platform.java17.dependency]] -path = "./lib/telemetry-http-okhttp-0.16.0.jar" +path = "./lib/telemetry-http-okhttp-@newrelic.telemetry.version@.jar" groupId = "com.newrelic.telemetry" artifactId = "telemetry-http-okhttp" -version = "0.16.0" +version = "@newrelic.telemetry.version@" [[platform.java17.dependency]] -path = "./lib/okio-jvm-3.5.0.jar" +path = "./lib/okio-jvm-@okio.version@.jar" groupId = "com.squareup.okio" artifactId = "okio" -version = "3.5.0" +version = "@okio.version@" [[platform.java17.dependency]] -path = "./lib/okhttp-4.11.0.jar" +path = "./lib/okhttp-@okhttp.version@.jar" groupId = "com.squareup.okhttp3" artifactId = "okhttp" -version = "4.11.0" +version = "@okhttp.version@" [[platform.java17.dependency]] -path = "./lib/kotlin-runtime-1.2.71.jar" +path = "./lib/kotlin-runtime-@kotlin.version@.jar" groupId = "org.jetbrains.kotlin" artifactId = "kotlin-runtime" -version = "1.2.71" +version = "@kotlin.version@" [[platform.java17.dependency]] -path = "./lib/kotlin-stdlib-1.8.22.jar" +path = "./lib/kotlin-stdlib-@kotlinStdlib.version@.jar" groupId = "org.jetbrains.kotlin" artifactId = "kotlin-stdlib" -version = "1.8.22" +version = "@kotlinStdlib.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-api-1.0.0.jar" +path = "./lib/opentelemetry-api-@opentelemetry.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-api" -version = "1.0.0" +version = "@opentelemetry.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-api-metrics-1.0.0-alpha.jar" +path = "./lib/opentelemetry-api-metrics-@openTelemetryAlpha.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-api-metrics" -version = "1.0.0-alpha" +version = "@openTelemetryAlpha.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-sdk-trace-1.0.0.jar" +path = "./lib/opentelemetry-sdk-trace-@opentelemetry.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-sdk-trace" -version = "1.0.0" +version = "@opentelemetry.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-sdk-common-1.0.0.jar" +path = "./lib/opentelemetry-sdk-common-@opentelemetry.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-sdk-common" -version = "1.0.0" +version = "@opentelemetry.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-semconv-1.0.0-alpha.jar" +path = "./lib/opentelemetry-semconv-@openTelemetryAlpha.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-semconv" -version = "1.0.0-alpha" +version = "@openTelemetryAlpha.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-proto-1.0.0-alpha.jar" +path = "./lib/opentelemetry-proto-@openTelemetryAlpha.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-proto" -version = "1.0.0-alpha" +version = "@openTelemetryAlpha.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-exporter-otlp-trace-1.0.0.jar" +path = "./lib/opentelemetry-exporter-otlp-trace-@opentelemetry.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-exporter-otlp-trace" -version = "1.0.0" +version = "@opentelemetry.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-exporter-otlp-common-1.0.0.jar" +path = "./lib/opentelemetry-exporter-otlp-common-@opentelemetry.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-exporter-otlp-common" -version = "1.0.0" +version = "@opentelemetry.version@" [[platform.java17.dependency]] -path = "./lib/opentelemetry-extension-trace-propagators-1.0.0.jar" +path = "./lib/opentelemetry-extension-trace-propagators-@opentelemetry.version@.jar" groupId = "io.opentelemetry" artifactId = "opentelemetry-extension-trace-propagators" -version = "1.0.0" +version = "@opentelemetry.version@" [[platform.java17.dependency]] -path = "./lib/guava-32.1.2-jre.jar" +path = "./lib/guava-@guava.version@.jar" groupId = "com.google.guava" artifactId = "guava" -version = "32.1.2-jre" +version = "@guava.version@" [[platform.java17.dependency]] -path = "./lib/failureaccess-1.0.1.jar" +path = "./lib/failureaccess-@failureAccess.version@.jar" groupId = "com.google.guava" artifactId = "failureaccess" -version = "1.0.1" +version = "@failureAccess.version@" [[platform.java17.dependency]] -path = "./lib/grpc-api-1.60.0.jar" +path = "./lib/grpc-api-@grpc.version@.jar" groupId = "io.grpc" artifactId = "grpc-api" -version = "1.60.0" +version = "@grpc.version@" [[platform.java17.dependency]] -path = "./lib/grpc-context-1.60.0.jar" +path = "./lib/grpc-context-@grpc.version@.jar" groupId = "io.grpc" artifactId = "grpc-context" -version = "1.60.0" +version = "@grpc.version@" [[platform.java17.dependency]] -path = "./lib/grpc-core-1.60.0.jar" +path = "./lib/grpc-core-@grpc.version@.jar" groupId = "io.grpc" artifactId = "grpc-core" -version = "1.60.0" +version = "@grpc.version@" [[platform.java17.dependency]] -path = "./lib/grpc-stub-1.60.0.jar" +path = "./lib/grpc-stub-@grpc.version@.jar" groupId = "io.grpc" artifactId = "grpc-stub" -version = "1.60.0" +version = "@grpc.version@" [[platform.java17.dependency]] -path = "./lib/grpc-protobuf-1.60.0.jar" +path = "./lib/grpc-protobuf-@grpc.version@.jar" groupId = "io.grpc" artifactId = "grpc-protobuf" -version = "1.60.0" +version = "@grpc.version@" [[platform.java17.dependency]] -path = "./lib/grpc-protobuf-lite-1.60.0.jar" +path = "./lib/grpc-protobuf-lite-@grpc.version@.jar" groupId = "io.grpc" artifactId = "grpc-protobuf-lite" -version = "1.60.0" +version = "@grpc.version@" [[platform.java17.dependency]] -path = "./lib/grpc-netty-shaded-1.60.0.jar" +path = "./lib/grpc-netty-shaded-@grpc.version@.jar" groupId = "io.grpc" artifactId = "grpc-netty-shaded" -version = "1.60.0" +version = "@grpc.version@" [[platform.java17.dependency]] -path = "./lib/perfmark-api-0.23.0.jar" +path = "./lib/perfmark-api-@perfmark.version@.jar" groupId = "io.perfmark" artifactId = "perfmark-api" -version = "0.23.0" +version = "@perfmark.version@"