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
6 changes: 3 additions & 3 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
runs-on: ubuntu-24.04 # newest available distribution, aka noble
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
# Prevent use of implicit GitHub Actions read-only token GITHUB_TOKEN. We don't deploy on
# the tag MAJOR.MINOR.PATCH event, but we still need to deploy the maven-release-plugin master commit.
token: ${{ secrets.GH_TOKEN }}
- name: Setup java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: 'zulu' # zulu as it supports a wide version range
java-version: '11' # earliest LTS and last that can compile the 1.6 release profile.
- name: Cache local Maven repository
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
deploy_script: build-bin/deploy_bom
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
# Prevent use of implicit GitHub Actions read-only token GITHUB_TOKEN.
# We push Javadocs to the gh-pages branch on commit.
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0 # build-bin/javadoc_to_gh_pages checks out gh-pages
- name: Setup java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: 'zulu' # zulu as it supports a wide version range
java-version: '11' # earliest LTS and last that can compile the 1.6 release profile.
- name: Cache local Maven repository
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- uses: actions/cache@v4
uses: actions/checkout@v6
- uses: actions/cache@v5
name: Cache Trivy Database
with:
path: .trivy
key: ${{ runner.os }}-trivy
restore-keys: ${{ runner.os }}-trivy
- name: Run Trivy vulnerability and secret scanner
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@v0.35.0
id: trivy
with:
scan-type: 'fs'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
if: "!contains(github.event.head_commit.message, 'maven-release-plugin')"
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: 'zulu' # zulu as it supports a wide version range
java-version: '11' # earliest LTS and last that can compile the 1.6 release profile.
- name: Cache local Maven repository
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-11-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -47,17 +47,17 @@ jobs:
include:
- java_version: 11 # Last that can compile brave to 1.6
maven_args: -Prelease -Dgpg.skip -Dmaven.javadoc.skip=true
- java_version: 21 # Most recent LTS
- java_version: 25 # Most recent LTS
steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Setup java
uses: actions/setup-java@v4
uses: actions/setup-java@v5
with:
distribution: 'zulu' # zulu as it supports a wide version range
java-version: ${{ matrix.java_version }}
- name: Cache local Maven repository
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-jdk-${{ matrix.java_version }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
Binary file modified .mvn/wrapper/maven-wrapper.jar
Binary file not shown.
22 changes: 3 additions & 19 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2
wrapperVersion=3.3.4
distributionType=bin
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.2/maven-wrapper-3.3.2.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.14/apache-maven-3.9.14-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar
2 changes: 1 addition & 1 deletion instrumentation/benchmarks/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<main.basedir>${project.basedir}/../..</main.basedir>
<jmh.version>1.37</jmh.version>
<!-- Note: versions above 2.2 move to jakarta package -->
<undertow-servlet.version>2.2.31.Final</undertow-servlet.version>
<undertow-servlet.version>2.2.39.Final</undertow-servlet.version>
</properties>

<!-- All dependencies are marked test, because benchmarks are a form of test.
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/dubbo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<main.basedir>${project.basedir}/../..</main.basedir>

<dubbo.version>3.3.0-beta.2</dubbo.version>
<dubbo.version>3.3.6</dubbo.version>
<!-- add opens to avoid below in JRE 21:
com.alibaba.com.caucho.hessian.io.JavaSerializer -->
<maven-failsafe-plugin.argLine>
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/grpc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<!-- disable mutability warning as TagContextBinaryMarshaller intentionally returns mixed -->
<errorprone.args>-Xep:MixedMutabilityReturnType:OFF</errorprone.args>

<build-helper-maven-plugin.version>3.5.0</build-helper-maven-plugin.version>
<build-helper-maven-plugin.version>3.6.1</build-helper-maven-plugin.version>
</properties>

<dependencies>
Expand Down
3 changes: 2 additions & 1 deletion instrumentation/httpclient5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
<main.basedir>${project.basedir}/../..</main.basedir>

<!-- To obey the integration tests, we need to use the version >= 5.2 -->
<httpclient5.version>5.4.1</httpclient5.version>
<!-- TODO: 5.6 changed error propagation in interceptors -->
<httpclient5.version>5.5.2</httpclient5.version>
</properties>

<dependencies>
Expand Down
5 changes: 3 additions & 2 deletions instrumentation/jdbi3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@

<main.basedir>${project.basedir}/../..</main.basedir>

<jdbi3.version>3.49.1</jdbi3.version>
<!-- 3.50+ is Java 17 bytecode, can't use until we floor JDK 17 -->
<jdbi3.version>3.49.6</jdbi3.version>
</properties>

<dependencies>
Expand All @@ -45,7 +46,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ final class MySQLContainer extends GenericContainer<MySQLContainer> {

MySQLContainer() {
// Use OpenZipkin's small test image, which is multi-arch and doesn't consume Docker Hub quota
super(parse("ghcr.io/openzipkin/zipkin-mysql:3.4.3"));
super(parse("ghcr.io/openzipkin/zipkin-mysql:3.6.0"));
if ("true".equals(System.getProperty("docker.skip"))) {
throw new TestAbortedException("${docker.skip} == true");
}
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/kafka-clients/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/kafka-clients/src/it/kafka_floor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>@testcontainers.version@</version>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class KafkaContainer extends GenericContainer<KafkaContainer> {
static final int KAFKA_PORT = 19092;

KafkaContainer() {
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.4.3"));
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.6.0"));
waitStrategy = Wait.forHealthcheck();
// Kafka broker listener port (19092) needs to be exposed for test cases to access it.
addFixedExposedPort(KAFKA_PORT, KAFKA_PORT, InternetProtocol.TCP);
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/kafka-streams/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ final class KafkaContainer extends GenericContainer<KafkaContainer> {
static final int KAFKA_PORT = 19092;

KafkaContainer() {
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.4.3"));
super(parse("ghcr.io/openzipkin/zipkin-kafka:3.6.0"));
waitStrategy = Wait.forHealthcheck();
// Kafka broker listener port (19092) needs to be exposed for test cases to access it.
addFixedExposedPort(KAFKA_PORT, KAFKA_PORT, InternetProtocol.TCP);
Expand Down
6 changes: 3 additions & 3 deletions instrumentation/mongodb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

<main.basedir>${project.basedir}/../..</main.basedir>

<mongodb-driver.version>5.3.1</mongodb-driver.version>
<mongodb-driver3.version>3.11.0</mongodb-driver3.version>
<mongodb-driver.version>5.6.4</mongodb-driver.version>
<mongodb-driver3.version>3.11.3</mongodb-driver3.version>
</properties>

<dependencies>
Expand All @@ -47,7 +47,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/mongodb/src/it/mongodb_floor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>@testcontainers.version@</version>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,14 @@ final class MongoDBContainer extends GenericContainer<MongoDBContainer> {
static final int MONGODB_PORT = 27017;

MongoDBContainer() {
// Use OpenZipkin's small test image, which is multi-arch and doesn't consume Docker Hub quota
super(parse("ghcr.io/openzipkin/mongodb-alpine:4.0.5"));
// Mirrored image to avoid docker.io pulls:
// docker buildx imagetools create --tag ghcr.io/openzipkin/mongo:8.2.6-noble mongo:8.2.6-noble
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@reta fyi

super(parse("ghcr.io/openzipkin/mongo:8.2.6-noble"));
if ("true".equals(System.getProperty("docker.skip"))) {
throw new TestAbortedException("${docker.skip} == true");
}
withExposedPorts(MONGODB_PORT);
waitStrategy = Wait.forLogMessage(".*waiting for connections.*", 1);
waitStrategy = Wait.forLogMessage(".*[wW]aiting for connections.*", 1);
withStartupTimeout(Duration.ofSeconds(60));
withLogConsumer(new Slf4jLogConsumer(LOGGER));
}
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/okhttp3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<main.basedir>${project.basedir}/../..</main.basedir>
<!-- Last version before Call.timeout was added -->
<floor-okhttp.version>3.11.0</floor-okhttp.version>
<retrofit.version>2.11.0</retrofit.version>
<retrofit.version>2.12.0</retrofit.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/rocketmq-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class RocketMQContainer extends GenericContainer<RocketMQContainer> {
static final int BROKER_PORT = 10911;

RocketMQContainer() {
super(DockerImageName.parse("apache/rocketmq:5.3.1"));
super(DockerImageName.parse("apache/rocketmq:5.4.0"));
List<String> portBindings = new ArrayList<>();
portBindings.add(String.format("%d:%d", NAMESERVER_PORT, NAMESERVER_PORT));
portBindings.add(String.format("%d:%d", BROKER_PORT, BROKER_PORT));
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/spring-rabbit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<version>${testcontainers.version}</version>
<scope>test</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import org.junit.Rule;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.extension.RegisterExtension;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Timeout;
Expand Down Expand Up @@ -88,7 +88,7 @@ abstract class ITSpringRabbit extends ITRemote {

static final class RabbitMQContainer extends GenericContainer<RabbitMQContainer> {
RabbitMQContainer() {
super(parse("ghcr.io/openzipkin/zipkin-rabbitmq:3.4.3"));
super(parse("ghcr.io/openzipkin/zipkin-rabbitmq:3.6.0"));
withExposedPorts(RABBIT_PORT);
waitStrategy = Wait.forLogMessage(".*Server startup complete.*", 1);
withStartupTimeout(Duration.ofSeconds(60));
Expand Down Expand Up @@ -121,8 +121,8 @@ static final class RabbitMQContainer extends GenericContainer<RabbitMQContainer>
}
}

@Rule public IntegrationTestSpanHandler producerSpanHandler = new IntegrationTestSpanHandler();
@Rule public IntegrationTestSpanHandler consumerSpanHandler = new IntegrationTestSpanHandler();
@RegisterExtension IntegrationTestSpanHandler producerSpanHandler = new IntegrationTestSpanHandler();
@RegisterExtension IntegrationTestSpanHandler consumerSpanHandler = new IntegrationTestSpanHandler();

SamplerFunction<MessagingRequest> producerSampler = SamplerFunctions.deferDecision();
SamplerFunction<MessagingRequest> consumerSampler = SamplerFunctions.deferDecision();
Expand Down
Loading
Loading