Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Jetty 12 #4447

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
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
16 changes: 6 additions & 10 deletions .github/workflows/bk-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- name: Validate pull request
if: steps.check_changes.outputs.docs_only != 'true'
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- name: Build
run: |
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- name: Pick ubuntu mirror for the docker image build
run: |
Expand Down Expand Up @@ -315,7 +315,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 8
java-version: 17

- name: Pick ubuntu mirror for the docker image build
run: |
Expand Down Expand Up @@ -397,7 +397,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- name: mvn package
run: mvn -B -nsu clean package -DskipTests
Expand Down Expand Up @@ -429,7 +429,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- name: mvn package
run: mvn -B -nsu clean package -DskipTests
Expand All @@ -444,10 +444,6 @@ jobs:
fail-fast: false
matrix:
include:
- step_name: Compatibility Check Java8
jdk_version: 8
- step_name: Compatibility Check Java11
jdk_version: 11
- step_name: Compatibility Check Java17
jdk_version: 17
- step_name: Compatibility Check Java21
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bk-streamstorage-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17
- name: Build
run: mvn -q -T 1C -B -nsu clean install -DskipTests -Dcheckstyle.skip -Dspotbugs.skip -Drat.skip -Dmaven.javadoc.skip
- name: Pick ubuntu mirror for the docker image build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17

- name: Validate pull request
if: steps.check_changes.outputs.docs_only != 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17


- name: Setup NodeJS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website-pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
java-version: 17


- name: Setup NodeJS
Expand Down
17 changes: 10 additions & 7 deletions bookkeeper-dist/src/main/resources/LICENSE-all.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,16 @@ Apache Software License, Version 2.
- lib/org.apache.zookeeper-zookeeper-3.8.4.jar [21]
- lib/org.apache.zookeeper-zookeeper-jute-3.8.4.jar [21]
- lib/org.apache.zookeeper-zookeeper-3.8.4-tests.jar [21]
- lib/org.eclipse.jetty-jetty-http-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-io-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-security-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-server-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-servlet-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-util-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-util-ajax-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-http-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-io-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-security-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-server-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-session-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-util-12.0.10.jar [22]
- lib/org.eclipse.jetty.ee8-jetty-ee8-nested-12.0.10.jar [22]
- lib/org.eclipse.jetty.ee8-jetty-ee8-security-12.0.10.jar [22]
- lib/org.eclipse.jetty.ee8-jetty-ee8-servlet-12.0.10.jar [22]
- lib/org.eclipse.jetty.toolchain-jetty-servlet-api-4.0.6.jar [22]
- lib/org.rocksdb-rocksdbjni-7.10.2.jar [23]
- lib/com.beust-jcommander-1.82.jar [24]
- lib/com.yahoo.datasketches-memory-0.8.3.jar [25]
Expand Down
17 changes: 10 additions & 7 deletions bookkeeper-dist/src/main/resources/LICENSE-server.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,13 +264,16 @@ Apache Software License, Version 2.
- lib/org.apache.zookeeper-zookeeper-3.8.4.jar [21]
- lib/org.apache.zookeeper-zookeeper-jute-3.8.4.jar [21]
- lib/org.apache.zookeeper-zookeeper-3.8.4-tests.jar [21]
- lib/org.eclipse.jetty-jetty-http-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-io-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-security-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-server-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-servlet-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-util-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-util-ajax-9.4.53.v20231009.jar [22]
- lib/org.eclipse.jetty-jetty-http-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-io-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-security-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-server-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-session-12.0.10.jar [22]
- lib/org.eclipse.jetty-jetty-util-12.0.10.jar [22]
- lib/org.eclipse.jetty.ee8-jetty-ee8-nested-12.0.10.jar [22]
- lib/org.eclipse.jetty.ee8-jetty-ee8-security-12.0.10.jar [22]
- lib/org.eclipse.jetty.ee8-jetty-ee8-servlet-12.0.10.jar [22]
- lib/org.eclipse.jetty.toolchain-jetty-servlet-api-4.0.6.jar [22]
- lib/org.rocksdb-rocksdbjni-7.10.2.jar [23]
- lib/com.beust-jcommander-1.82.jar [24]
- lib/com.yahoo.datasketches-memory-0.8.3.jar [25]
Expand Down
18 changes: 10 additions & 8 deletions bookkeeper-dist/src/main/resources/NOTICE-all.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,15 @@ SoundCloud Ltd. (http://soundcloud.com/).
This product includes software developed as part of the
Ocelli project by Netflix Inc. (https://github.com/Netflix/ocelli/).
------------------------------------------------------------------------------------
- lib/org.eclipse.jetty-jetty-http-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-io-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-security-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-server-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-servlet-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-util-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-util-ajax-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-http-12.0.10.jar
- lib/org.eclipse.jetty-jetty-io-12.0.10.jar
- lib/org.eclipse.jetty-jetty-security-12.0.10.jar
- lib/org.eclipse.jetty-jetty-server-12.0.10.jar
- lib/org.eclipse.jetty-jetty-session-12.0.10.jar
- lib/org.eclipse.jetty.ee8-jetty-ee8-nested-12.0.10.jar
- lib/org.eclipse.jetty.ee8-jetty-ee8-security-12.0.10.jar
- lib/org.eclipse.jetty.ee8-jetty-ee8-servlet-12.0.10.jar
- lib/org.eclipse.jetty.toolchain-jetty-servlet-api-4.0.6.jar

==============================================================
Jetty Web Container
Expand All @@ -121,7 +123,7 @@ Jetty is dual licensed under both

Jetty may be distributed under either license.

lib/org.eclipse.jetty-jetty-util-9.4.53.v20231009.jar bundles UnixCrypt
lib/org.eclipse.jetty-jetty-util-12.0.10.jar bundles UnixCrypt

The UnixCrypt.java code implements the one way cryptography used by
Unix systems for simple password protection. Copyright 1996 Aki Yoshida,
Expand Down
18 changes: 10 additions & 8 deletions bookkeeper-dist/src/main/resources/NOTICE-server.bin.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,15 @@ SoundCloud Ltd. (http://soundcloud.com/).
This product includes software developed as part of the
Ocelli project by Netflix Inc. (https://github.com/Netflix/ocelli/).
------------------------------------------------------------------------------------
- lib/org.eclipse.jetty-jetty-http-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-io-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-security-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-server-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-servlet-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-util-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-util-ajax-9.4.53.v20231009.jar
- lib/org.eclipse.jetty-jetty-http-12.0.10.jar
- lib/org.eclipse.jetty-jetty-io-12.0.10.jar
- lib/org.eclipse.jetty-jetty-security-12.0.10.jar
- lib/org.eclipse.jetty-jetty-server-12.0.10.jar
- lib/org.eclipse.jetty-jetty-session-12.0.10.jar
- lib/org.eclipse.jetty.ee8-jetty-ee8-nested-12.0.10.jar
- lib/org.eclipse.jetty.ee8-jetty-ee8-security-12.0.10.jar
- lib/org.eclipse.jetty.ee8-jetty-ee8-servlet-12.0.10.jar
- lib/org.eclipse.jetty.toolchain-jetty-servlet-api-4.0.6.jar

==============================================================
Jetty Web Container
Expand All @@ -103,7 +105,7 @@ Jetty is dual licensed under both

Jetty may be distributed under either license.

lib/org.eclipse.jetty-jetty-util-9.4.53.v20231009.jar bundles UnixCrypt
lib/org.eclipse.jetty-jetty-util-12.0.10.jar bundles UnixCrypt

The UnixCrypt.java code implements the one way cryptography used by
Unix systems for simple password protection. Copyright 1996 Aki Yoshida,
Expand Down
4 changes: 2 additions & 2 deletions bookkeeper-http/servlet-http-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<groupId>org.eclipse.jetty.ee8</groupId>
<artifactId>jetty-ee8-webapp</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
import java.nio.file.Files;
import java.util.List;
import javax.servlet.Servlet;
import org.eclipse.jetty.ee8.servlet.ServletHolder;
import org.eclipse.jetty.ee8.webapp.WebAppContext;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.handler.ContextHandlerCollection;
import org.eclipse.jetty.servlet.ServletHolder;
import org.eclipse.jetty.webapp.WebAppContext;

/**
* Jetty based http server.
Expand Down
34 changes: 34 additions & 0 deletions circe-checksum/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- keep Java 8 compatibility for circe-checksum -->
<release>8</release>
</configuration>
</plugin>
<plugin>
<groupId>com.github.maven-nar</groupId>
Expand Down Expand Up @@ -111,6 +115,36 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-bytecode-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<enforceBytecodeVersion>
<maxJdkVersion>8</maxJdkVersion>
<ignoredScopes>
<ignoreScope>test</ignoreScope>
</ignoredScopes>
</enforceBytecodeVersion>
</rules>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>${extra-enforcer-rules.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>

Expand Down
34 changes: 34 additions & 0 deletions cpu-affinity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- keep Java 8 compatibility for cpu-affinity -->
<release>8</release>
</configuration>
</plugin>
<plugin>
<groupId>com.github.maven-nar</groupId>
Expand Down Expand Up @@ -87,6 +91,36 @@
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>${maven-enforcer-plugin.version}</version>
<executions>
<execution>
<id>enforce-bytecode-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<enforceBytecodeVersion>
<maxJdkVersion>8</maxJdkVersion>
<ignoredScopes>
<ignoreScope>test</ignoreScope>
</ignoredScopes>
</enforceBytecodeVersion>
</rules>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>extra-enforcer-rules</artifactId>
<version>${extra-enforcer-rules.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>

Expand Down
Loading
Loading