From 0c78bb093afbeead978c21ead231c9d43fb7e1604b4a8d82a367f7f59830b518 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 14 Nov 2024 12:03:22 +0000 Subject: [PATCH] Accepting request 1224180 from Java:packages:test new package OBS-URL: https://build.opensuse.org/request/show/1224180 OBS-URL: https://build.opensuse.org/package/show/Java:packages/opencensus-java?expand=0&rev=1 --- .gitattributes | 23 ++ .gitignore | 1 + Collector-Type-UNTYPED-is-UNKNOWN.patch | 13 + aggregator.pom | 42 +++ opencensus-api-0.31.1.pom | 64 ++++ opencensus-contrib-exemplar-util-0.31.1.pom | 64 ++++ opencensus-contrib-grpc-metrics-0.31.1.pom | 70 ++++ opencensus-contrib-grpc-util-0.31.1.pom | 84 +++++ opencensus-contrib-http-jaxrs-0.31.1.pom | 82 +++++ ...ensus-contrib-http-jetty-client-0.31.1.pom | 76 ++++ opencensus-contrib-http-servlet-0.31.1.pom | 82 +++++ opencensus-contrib-http-util-0.31.1.pom | 70 ++++ ...-contrib-log-correlation-log4j2-0.31.1.pom | 76 ++++ opencensus-contrib-resource-util-0.31.1.pom | 76 ++++ opencensus-contrib-zpages-0.31.1.pom | 76 ++++ opencensus-exporter-metrics-util-0.31.1.pom | 70 ++++ ...ensus-exporter-stats-prometheus-0.31.1.pom | 82 +++++ opencensus-exporter-trace-util-0.31.1.pom | 70 ++++ opencensus-impl-0.31.1.pom | 76 ++++ opencensus-impl-core-0.31.1.pom | 76 ++++ opencensus-impl-lite-0.31.1.pom | 70 ++++ opencensus-java.spec | 326 ++++++++++++++++++ opencensus-testing-0.31.1.pom | 70 ++++ v0.31.1.tar.gz | 3 + 24 files changed, 1742 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Collector-Type-UNTYPED-is-UNKNOWN.patch create mode 100644 aggregator.pom create mode 100644 opencensus-api-0.31.1.pom create mode 100644 opencensus-contrib-exemplar-util-0.31.1.pom create mode 100644 opencensus-contrib-grpc-metrics-0.31.1.pom create mode 100644 opencensus-contrib-grpc-util-0.31.1.pom create mode 100644 opencensus-contrib-http-jaxrs-0.31.1.pom create mode 100644 opencensus-contrib-http-jetty-client-0.31.1.pom create mode 100644 opencensus-contrib-http-servlet-0.31.1.pom create mode 100644 opencensus-contrib-http-util-0.31.1.pom create mode 100644 opencensus-contrib-log-correlation-log4j2-0.31.1.pom create mode 100644 opencensus-contrib-resource-util-0.31.1.pom create mode 100644 opencensus-contrib-zpages-0.31.1.pom create mode 100644 opencensus-exporter-metrics-util-0.31.1.pom create mode 100644 opencensus-exporter-stats-prometheus-0.31.1.pom create mode 100644 opencensus-exporter-trace-util-0.31.1.pom create mode 100644 opencensus-impl-0.31.1.pom create mode 100644 opencensus-impl-core-0.31.1.pom create mode 100644 opencensus-impl-lite-0.31.1.pom create mode 100644 opencensus-java.spec create mode 100644 opencensus-testing-0.31.1.pom create mode 100644 v0.31.1.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Collector-Type-UNTYPED-is-UNKNOWN.patch b/Collector-Type-UNTYPED-is-UNKNOWN.patch new file mode 100644 index 0000000..9fac0b2 --- /dev/null +++ b/Collector-Type-UNTYPED-is-UNKNOWN.patch @@ -0,0 +1,13 @@ +diff --git a/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/PrometheusExportUtils.java b/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/PrometheusExportUtils.java +index b4588a50..d7cf2f74 100644 +--- a/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/PrometheusExportUtils.java ++++ b/exporters/stats/prometheus/src/main/java/io/opencensus/exporter/stats/prometheus/PrometheusExportUtils.java +@@ -140,7 +140,7 @@ final class PrometheusExportUtils { + } else if (type == MetricDescriptor.Type.SUMMARY) { + return Type.SUMMARY; + } +- return Type.UNTYPED; ++ return Type.UNKNOWN; + } + + // Converts a point value in Metric to a list of Prometheus Samples. diff --git a/aggregator.pom b/aggregator.pom new file mode 100644 index 0000000..b912660 --- /dev/null +++ b/aggregator.pom @@ -0,0 +1,42 @@ + + + 4.0.0 + + org.opensuse.xmvn.opencensus + aggregator + any + pom + + + UTF-8 + + + + api + impl + impl_core + impl_lite + testing + contrib/exemplar_util + contrib/grpc_metrics + contrib/grpc_util + contrib/http_jaxrs + contrib/http_jetty_client + contrib/http_servlet + contrib/http_util + contrib/log_correlation/log4j2 + contrib/resource_util + contrib/zpages + exporters/metrics/util + exporters/stats/prometheus + exporters/trace/util + + + + + + + + + diff --git a/opencensus-api-0.31.1.pom b/opencensus-api-0.31.1.pom new file mode 100644 index 0000000..5ba7424 --- /dev/null +++ b/opencensus-api-0.31.1.pom @@ -0,0 +1,64 @@ + + + 4.0.0 + io.opencensus + opencensus-api + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.grpc + grpc-context + 1.27.2 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-exemplar-util-0.31.1.pom b/opencensus-contrib-exemplar-util-0.31.1.pom new file mode 100644 index 0000000..03200f8 --- /dev/null +++ b/opencensus-contrib-exemplar-util-0.31.1.pom @@ -0,0 +1,64 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-exemplar-util + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-grpc-metrics-0.31.1.pom b/opencensus-contrib-grpc-metrics-0.31.1.pom new file mode 100644 index 0000000..2080ce4 --- /dev/null +++ b/opencensus-contrib-grpc-metrics-0.31.1.pom @@ -0,0 +1,70 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-grpc-metrics + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-grpc-util-0.31.1.pom b/opencensus-contrib-grpc-util-0.31.1.pom new file mode 100644 index 0000000..e999d74 --- /dev/null +++ b/opencensus-contrib-grpc-util-0.31.1.pom @@ -0,0 +1,84 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-grpc-util + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.grpc + grpc-core + 1.27.2 + compile + + + opencensus-api + io.opencensus + + + jsr305 + com.google.code.findbugs + + + error_prone_annotations + com.google.errorprone + + + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-http-jaxrs-0.31.1.pom b/opencensus-contrib-http-jaxrs-0.31.1.pom new file mode 100644 index 0000000..476d0d0 --- /dev/null +++ b/opencensus-contrib-http-jaxrs-0.31.1.pom @@ -0,0 +1,82 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-http-jaxrs + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.opencensus + opencensus-contrib-http-util + 0.31.1 + compile + + + javax.ws.rs + javax.ws.rs-api + 2.1.1 + test + + + javax.annotation + javax.annotation-api + 1.3.2 + test + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-http-jetty-client-0.31.1.pom b/opencensus-contrib-http-jetty-client-0.31.1.pom new file mode 100644 index 0000000..2fe7334 --- /dev/null +++ b/opencensus-contrib-http-jetty-client-0.31.1.pom @@ -0,0 +1,76 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-http-jetty-client + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.opencensus + opencensus-contrib-http-util + 0.31.1 + compile + + + org.eclipse.jetty + jetty-client + 9.2.25.v20180606 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-http-servlet-0.31.1.pom b/opencensus-contrib-http-servlet-0.31.1.pom new file mode 100644 index 0000000..739d502 --- /dev/null +++ b/opencensus-contrib-http-servlet-0.31.1.pom @@ -0,0 +1,82 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-http-servlet + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.grpc + grpc-context + 1.27.2 + compile + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.opencensus + opencensus-contrib-http-util + 0.31.1 + compile + + + javax.servlet + javax.servlet-api + 3.1.0 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-http-util-0.31.1.pom b/opencensus-contrib-http-util-0.31.1.pom new file mode 100644 index 0000000..95f89ba --- /dev/null +++ b/opencensus-contrib-http-util-0.31.1.pom @@ -0,0 +1,70 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-http-util + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-log-correlation-log4j2-0.31.1.pom b/opencensus-contrib-log-correlation-log4j2-0.31.1.pom new file mode 100644 index 0000000..a4f5280 --- /dev/null +++ b/opencensus-contrib-log-correlation-log4j2-0.31.1.pom @@ -0,0 +1,76 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-log-correlation-log4j2 + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + org.apache.logging.log4j + log4j-core + 2.16.0 + test + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + com.google.guava + guava + 29.0-android + test + + + diff --git a/opencensus-contrib-resource-util-0.31.1.pom b/opencensus-contrib-resource-util-0.31.1.pom new file mode 100644 index 0000000..c287056 --- /dev/null +++ b/opencensus-contrib-resource-util-0.31.1.pom @@ -0,0 +1,76 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-resource-util + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.code.findbugs + jsr305 + 3.0.2 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-contrib-zpages-0.31.1.pom b/opencensus-contrib-zpages-0.31.1.pom new file mode 100644 index 0000000..06d9fe4 --- /dev/null +++ b/opencensus-contrib-zpages-0.31.1.pom @@ -0,0 +1,76 @@ + + + 4.0.0 + io.opencensus + opencensus-contrib-zpages + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.opencensus + opencensus-contrib-grpc-metrics + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-exporter-metrics-util-0.31.1.pom b/opencensus-exporter-metrics-util-0.31.1.pom new file mode 100644 index 0000000..4c7b56f --- /dev/null +++ b/opencensus-exporter-metrics-util-0.31.1.pom @@ -0,0 +1,70 @@ + + + 4.0.0 + io.opencensus + opencensus-exporter-metrics-util + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-exporter-stats-prometheus-0.31.1.pom b/opencensus-exporter-stats-prometheus-0.31.1.pom new file mode 100644 index 0000000..8c8b05f --- /dev/null +++ b/opencensus-exporter-stats-prometheus-0.31.1.pom @@ -0,0 +1,82 @@ + + + 4.0.0 + io.opencensus + opencensus-exporter-stats-prometheus + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.opencensus + opencensus-exporter-metrics-util + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + io.prometheus + simpleclient + 0.6.0 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-exporter-trace-util-0.31.1.pom b/opencensus-exporter-trace-util-0.31.1.pom new file mode 100644 index 0000000..3650b05 --- /dev/null +++ b/opencensus-exporter-trace-util-0.31.1.pom @@ -0,0 +1,70 @@ + + + 4.0.0 + io.opencensus + opencensus-exporter-trace-util + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-impl-0.31.1.pom b/opencensus-impl-0.31.1.pom new file mode 100644 index 0000000..4d44ec4 --- /dev/null +++ b/opencensus-impl-0.31.1.pom @@ -0,0 +1,76 @@ + + + 4.0.0 + io.opencensus + opencensus-impl + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.opencensus + opencensus-impl-core + 0.31.1 + compile + + + com.lmax + disruptor + 3.4.2 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-impl-core-0.31.1.pom b/opencensus-impl-core-0.31.1.pom new file mode 100644 index 0000000..4009ec2 --- /dev/null +++ b/opencensus-impl-core-0.31.1.pom @@ -0,0 +1,76 @@ + + + 4.0.0 + io.opencensus + opencensus-impl-core + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + io.opencensus + opencensus-testing + 0.31.1 + test + + + diff --git a/opencensus-impl-lite-0.31.1.pom b/opencensus-impl-lite-0.31.1.pom new file mode 100644 index 0000000..34da4f4 --- /dev/null +++ b/opencensus-impl-lite-0.31.1.pom @@ -0,0 +1,70 @@ + + + 4.0.0 + io.opencensus + opencensus-impl-lite + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + io.opencensus + opencensus-impl-core + 0.31.1 + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/opencensus-java.spec b/opencensus-java.spec new file mode 100644 index 0000000..26cc53c --- /dev/null +++ b/opencensus-java.spec @@ -0,0 +1,326 @@ +# +# spec file for package opencensus-java +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: opencensus-java +Version: 0.31.1 +Release: 0 +Summary: OpenCensus - A stats collection and distributed tracing framework +License: Apache-2.0 +Group: Productivity/Networking/Web/Servers +URL: https://github.com/census-instrumentation/opencensus-java +Source0: https://github.com/census-instrumentation/opencensus-java/archive/refs/tags/v%{version}.tar.gz +Source1: https://repo1.maven.org/maven2/io/opencensus/opencensus-api/%{version}/opencensus-api-%{version}.pom +Source2: https://repo1.maven.org/maven2/io/opencensus/opencensus-impl/%{version}/opencensus-impl-%{version}.pom +Source3: https://repo1.maven.org/maven2/io/opencensus/opencensus-impl-core/%{version}/opencensus-impl-core-%{version}.pom +Source4: https://repo1.maven.org/maven2/io/opencensus/opencensus-impl-lite/%{version}/opencensus-impl-lite-%{version}.pom +Source5: https://repo1.maven.org/maven2/io/opencensus/opencensus-testing/%{version}/opencensus-testing-%{version}.pom +Source6: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-exemplar-util/%{version}/opencensus-contrib-exemplar-util-%{version}.pom +Source7: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-grpc-metrics/%{version}/opencensus-contrib-grpc-metrics-%{version}.pom +Source8: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-grpc-util/%{version}/opencensus-contrib-grpc-util-%{version}.pom +Source9: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-http-jaxrs/%{version}/opencensus-contrib-http-jaxrs-%{version}.pom +Source10: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-http-jetty-client/%{version}/opencensus-contrib-http-jetty-client-%{version}.pom +Source11: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-http-servlet/%{version}/opencensus-contrib-http-servlet-%{version}.pom +Source12: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-http-util/%{version}/opencensus-contrib-http-util-%{version}.pom +Source13: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-log-correlation-log4j2/%{version}/opencensus-contrib-log-correlation-log4j2-%{version}.pom +Source14: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-resource-util/%{version}/opencensus-contrib-resource-util-%{version}.pom +Source15: https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-zpages/0.31.1/opencensus-contrib-zpages-0.31.1.pom +Source16: https://repo1.maven.org/maven2/io/opencensus/opencensus-exporter-metrics-util/%{version}/opencensus-exporter-metrics-util-%{version}.pom +Source17: https://repo1.maven.org/maven2/io/opencensus/opencensus-exporter-stats-prometheus/%{version}/opencensus-exporter-stats-prometheus-%{version}.pom +Source18: https://repo1.maven.org/maven2/io/opencensus/opencensus-exporter-trace-util/%{version}/opencensus-exporter-trace-util-%{version}.pom +Source100: aggregator.pom +Patch0: Collector-Type-UNTYPED-is-UNKNOWN.patch +BuildRequires: fdupes +BuildRequires: maven-local +BuildRequires: mvn(com.google.auto.value:auto-value) +BuildRequires: mvn(com.google.auto.value:auto-value-annotations) +BuildRequires: mvn(com.google.code.findbugs:jsr305) +BuildRequires: mvn(com.google.guava:guava) +BuildRequires: mvn(com.lmax:disruptor) +BuildRequires: mvn(io.grpc:grpc-context) +BuildRequires: mvn(io.grpc:grpc-core) +BuildRequires: mvn(io.prometheus:simpleclient) +BuildRequires: mvn(javax.annotation:javax.annotation-api) +BuildRequires: mvn(javax.servlet:javax.servlet-api) +BuildRequires: mvn(javax.ws.rs:javax.ws.rs-api) +BuildRequires: mvn(org.apache.logging.log4j:log4j-core) +BuildRequires: mvn(org.eclipse.jetty:jetty-client) +BuildArch: noarch + +%description +OpenCensus is a toolkit for collecting application performance and +behavior data. It currently includes 3 apis: stats, tracing and tags. + +%package api +Summary: OpenCensus API +Group: Productivity/Networking/Web/Servers + +%description api +OpenCensus API +* Java 6 and Android compatible. +* The abstract classes in this directory can be subclassed to create + alternative implementations of the OpenCensus library. + +%package contrib-exemplar-util +Summary: OpenCensus Exemplar Util +Group: Productivity/Networking/Web/Servers + +%description contrib-exemplar-util +The OpenCensus Exemplar Util for Java is a collection of utilities +for recording Exemplars for OpenCensus stats. + +%package contrib-grpc-metrics +Summary: OpenCensus gRPC Metrics +Group: Productivity/Networking/Web/Servers + +%description contrib-grpc-metrics +OpenCensus gRPC Metrics. +RPC measure and view constants used by gRPC. + +%package contrib-grpc-util +Summary: OpenCensus gRPC Util +Group: Productivity/Networking/Web/Servers + +%description contrib-grpc-util +The OpenCensus gRPC Util for Java is a collection of utilities for +trace instrumentation when working with gRPC. + +%package contrib-http-jaxrs +Summary: OpenCensus JAX-RS Plugin +Group: Productivity/Networking/Web/Servers + +%description contrib-http-jaxrs +The OpenCensus JAX-RS for Java is a container and client filter for +trace instrumentation when using JAX-RS for REST implementation in +Java. + +%package contrib-http-jetty-client +Summary: OpenCensus Http Jetty Client Plugin +Group: Productivity/Networking/Web/Servers + +%description contrib-http-jetty-client +The OpenCensus Jetty HttpClient for Java is a wrapper for trace +instrumentation when using Jetty as HTTP client. + +%package contrib-http-servlet +Summary: OpenCensus Http Servlet Plugin +Group: Productivity/Networking/Web/Servers + +%description contrib-http-servlet +The OpenCensus Http Servlet Plugin for Java is a plugin for trace +instrumentation when using HTTP Servlet 3.0 + +%package contrib-http-util +Summary: OpenCensus HTTP Util +Group: Productivity/Networking/Web/Servers + +%description contrib-http-util +The OpenCensus HTTP Util for Java is a collection of utilities +for trace instrumentation when working with HTTP. + +%package contrib-log-correlation-log4j2 +Summary: OpenCensus Log4j 2 Log Correlation +Group: Productivity/Networking/Web/Servers + +%description contrib-log-correlation-log4j2 +The 'opencensus-contrib-log-correlation-log4j2' artifact provides a +Log4j 2 'ContextDataInjector' that automatically adds tracing data +to the context of Log4j 'LogEvent's. +The class name is'OpenCensusTraceContextDataInjector'. +'OpenCensusTraceContextDataInjector' adds the current trace ID, +span ID, and sampling decision to each 'LogEvent', so that they can +be accessed with 'LogEvent.getContextData()' or included in a layout. + +%package contrib-resource-util +Summary: OpenCensus Resource Util +Group: Productivity/Networking/Web/Servers + +%description contrib-resource-util +The OpenCensus Resource Util for Java is a collection of utilities +that defines a set of common resources (aws_ec2_instance, +gcp_gce_instance, k8s_container, etc.) and offers auto detection +for some of the resources, based on the environment where the +application is running. + +%package contrib-zpages +Summary: OpenCensus Z-Pages +Group: Productivity/Networking/Web/Servers + +%description contrib-zpages +The OpenCensus Z-Pages for Java is a collection of HTML pages to +display stats and trace data and allows library configuration +control. + +%package exporter-metrics-util +Summary: OpenCensus Java Metrics Exporter Utils +Group: Productivity/Networking/Web/Servers + +%description exporter-metrics-util +The OpenCensus Metrics Exporter Util is the Java helper package +for all metrics exporters. + +%package exporter-stats-prometheus +Summary: OpenCensus Stats Prometheus Exporter +Group: Productivity/Networking/Web/Servers + +%description exporter-stats-prometheus +The OpenCensus Prometheus Stats Exporter is a stats exporter that +exports data to Prometheus. Prometheus is an open-source systems +monitoring and alerting toolkit originally built at SoundCloud. + +%package exporter-trace-util +Summary: OpenCensus Java Trace Exporter Utils +Group: Productivity/Networking/Web/Servers + +%description exporter-trace-util +The OpenCensus Trace Exporter Util is the Java helper package +for all trace exporters. + +%package impl +Summary: OpenCensus Implementation +Group: Productivity/Networking/Web/Servers + +%description impl +OpenCensus Implementation. +* Java 7 compatible. +* Contains any classes not compatible with Android. + +%package impl-core +Summary: OpenCensus Core Implementation +Group: Productivity/Networking/Web/Servers + +%description impl-core +OpenCensus implementation. +* The main implementation shared between Java and Android. +* Java 7 and Android compatible. + +%package impl-lite +Summary: OpenCensus Lite Implementation +Group: Productivity/Networking/Web/Servers + +%description impl-lite +OpenCensus Android implementation. +* Android compatible. +* StatsManager specifies the stats implementation classes + that should be used with Android. + +%package testing +Summary: OpenCensus Testing +Group: Productivity/Networking/Web/Servers + +%description testing +OpenCensus Testing Package. +* Java 6 and Android compatible. +* The classes in this directory can be used to test the API integration. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q +cp %{SOURCE100} pom.xml +cp %{SOURCE1} api/pom.xml +cp %{SOURCE2} impl/pom.xml +cp %{SOURCE3} impl_core/pom.xml +cp %{SOURCE4} impl_lite/pom.xml +cp %{SOURCE5} testing/pom.xml +cp %{SOURCE6} contrib/exemplar_util/pom.xml +cp %{SOURCE7} contrib/grpc_metrics/pom.xml +cp %{SOURCE8} contrib/grpc_util/pom.xml +cp %{SOURCE9} contrib/http_jaxrs/pom.xml +cp %{SOURCE10} contrib/http_jetty_client/pom.xml +cp %{SOURCE11} contrib/http_servlet/pom.xml +cp %{SOURCE12} contrib/http_util/pom.xml +cp %{SOURCE13} contrib/log_correlation/log4j2/pom.xml +cp %{SOURCE14} contrib/resource_util/pom.xml +cp %{SOURCE15} contrib/zpages/pom.xml +cp %{SOURCE16} exporters/metrics/util/pom.xml +cp %{SOURCE17} exporters/stats/prometheus/pom.xml +cp %{SOURCE18} exporters/trace/util/pom.xml + +%patch -P 0 -p1 + +for i in api impl_core contrib/exemplar_util exporters/metrics/util exporters/stats/prometheus; do + %pom_add_dep com.google.auto.value:auto-value-annotations:1.11.0:provided $i + %pom_add_dep com.google.auto.value:auto-value:1.11.0:provided $i +done + +%pom_change_dep :javax.ws.rs-api :::provided contrib/http_jaxrs +%pom_change_dep :javax.annotation-api :::provided contrib/http_jaxrs + +%pom_change_dep :log4j-core :::provided contrib/log_correlation/log4j2 +%pom_add_dep com.google.code.findbugs:jsr305:3.0.2:provided contrib/log_correlation/log4j2 + +%{mvn_package} :aggregator __noinstall + +%build +%{mvn_build} -s -f -- \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=8 \ +%endif + -Dsource=8 + +%install +%mvn_install +%fdupes -s %{buildroot}%{_javadocdir} + +%files api -f .mfiles-opencensus-api +%license LICENSE +%doc README.md + +%files contrib-exemplar-util -f .mfiles-opencensus-contrib-exemplar-util + +%files contrib-grpc-metrics -f .mfiles-opencensus-contrib-grpc-metrics + +%files contrib-grpc-util -f .mfiles-opencensus-contrib-grpc-util + +%files contrib-http-jaxrs -f .mfiles-opencensus-contrib-http-jaxrs + +%files contrib-http-jetty-client -f .mfiles-opencensus-contrib-http-jetty-client + +%files contrib-http-servlet -f .mfiles-opencensus-contrib-http-servlet + +%files contrib-http-util -f .mfiles-opencensus-contrib-http-util + +%files contrib-log-correlation-log4j2 -f .mfiles-opencensus-contrib-log-correlation-log4j2 + +%files contrib-resource-util -f .mfiles-opencensus-contrib-resource-util + +%files contrib-zpages -f .mfiles-opencensus-contrib-zpages + +%files exporter-metrics-util -f .mfiles-opencensus-exporter-metrics-util + +%files exporter-stats-prometheus -f .mfiles-opencensus-exporter-stats-prometheus + +%files exporter-trace-util -f .mfiles-opencensus-exporter-trace-util + +%files impl -f .mfiles-opencensus-impl + +%files impl-core -f .mfiles-opencensus-impl-core + +%files impl-lite -f .mfiles-opencensus-impl-lite + +%files testing -f .mfiles-opencensus-testing + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog diff --git a/opencensus-testing-0.31.1.pom b/opencensus-testing-0.31.1.pom new file mode 100644 index 0000000..ed49740 --- /dev/null +++ b/opencensus-testing-0.31.1.pom @@ -0,0 +1,70 @@ + + + 4.0.0 + io.opencensus + opencensus-testing + 0.31.1 + OpenCensus + null + https://github.com/census-instrumentation/opencensus-java + + + The Apache License, Version 2.0 + http://www.apache.org/licenses/LICENSE-2.0.txt + + + + + io.opencensus + OpenCensus Contributors + census-developers@googlegroups.com + opencensus.io + OpenCensus Authors + https://www.opencensus.io + + + + scm:svn:https://github.com/census-instrumentation/opencensus-java + scm:git:git@github.com/census-instrumentation/opencensus-java + https://github.com/census-instrumentation/opencensus-java + + + + io.opencensus + opencensus-api + 0.31.1 + compile + + + com.google.guava + guava + 29.0-android + compile + + + com.google.guava + guava-testlib + 29.0-android + test + + + junit + junit + 4.12 + test + + + org.mockito + mockito-core + 2.28.1 + test + + + com.google.truth + truth + 1.0 + test + + + diff --git a/v0.31.1.tar.gz b/v0.31.1.tar.gz new file mode 100644 index 0000000..9531561 --- /dev/null +++ b/v0.31.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d49942222b452ae295291ae95a084240045b8c84222c8a0ee68800ae15a1e9a3 +size 1063269