Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
- Armeria 1.29.4 -> 1.30.0
- Curator 5.6.0 -> 5.7.0
- Dropwizard Metrics 4.2.21 -> 4.2.26
- gRPC Java 1.64.0 -> 1.66.0
- Jackson 2.17.1 -> 2.17.2
- JGit 6.9.0 -> 6.10.0
- Logback 1.5.5 -> 1.5.7
- Micrometer 1.13.0 -> 1.13.3
- MINA sshd 2.12.1 -> 2.13.2
- SLF4J 2.0.12 -> 2.0.16
- Snappy 1.1.10.4 -> 1.1.10.5
- ZooKeeper 3.7.2 -> 3.9.1
- Build
  - AssertJ 3.26.0 ->3.26.3
  - Awaitility 4.2.1 -> 4.2.2
  - JUnit 5.10.2 -> 5.11.0
  - Gradle 8.7.0 -> 8.10.0
  - Testcontainers 1.19.8 - >1.20.1
  • Loading branch information
ikhoon committed Aug 16, 2024
1 parent 96b9fc8 commit 88f0220
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ XdsCentralDogmaBuilder xdsBoostrapFactory(Function<Bootstrap, XdsBootstrap> xdsB
*/
public CentralDogma build() {
final XdsBootstrap xdsBootstrap = xdsBootstrap();
final String listenerName = this.listenerName;
final EndpointGroup endpointGroup = XdsEndpointGroup.of(xdsBootstrap.listenerRoot(listenerName));
final EndpointGroup endpointGroup = XdsEndpointGroup.of(listenerName, xdsBootstrap);
final String scheme = "none+" + (isUseTls() ? "https" : "http");
final ClientBuilder builder =
newClientBuilder(scheme, endpointGroup, cb -> cb.decorator(DecodingClient.newDecorator()), "/");
Expand Down
60 changes: 30 additions & 30 deletions dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,34 @@
# If its classes are exposed in Javadoc, update offline links as well.
#
[versions]
armeria = "1.29.4"
assertj = "3.26.0"
awaitility = "4.2.1"
armeria = "1.30.0"
assertj = "3.26.3"
awaitility = "4.2.2"
bouncycastle = "1.78.1"
# Don"t upgrade Caffeine to 3.x that requires Java 11.
caffeine = "2.9.3"
checkstyle = "10.3.3"
controlplane = "1.0.45"
curator = "5.6.0"
# Ensure that we use the same ZooKeeper version as what Curator depends on.
# See: https://github.com/apache/curator/blob/master/pom.xml
# (Switch to the right tag to find out the right version.)
curator = "5.7.0"
# Do not upgrade cron-utils until there's another CVE or Armeria's SLF4J and Logback are upgraded.
cron-utils = "9.2.0"
diffutils = "1.3.0"
docker = "9.4.0"
download = "5.6.0"
dropwizard-metrics = "4.2.21"
dropwizard-metrics = "4.2.26"
eddsa = "0.3.0"
findbugs = "3.0.2"
futures-completable = "0.3.6"
grpc-java = "1.64.0"
grpc-java = "1.66.0"
guava = "33.2.1-jre"
guava-failureaccess = "1.0.1"
hamcrest-library = "2.2"
hibernate-validator6 = "6.2.5.Final"
hibernate-validator8 = "8.0.1.Final"
jackson = "2.17.1"
jackson = "2.17.2"
javassist = "3.30.2-GA"
javax-annotation = "1.3.2"
javax-inject = "1"
Expand All @@ -35,20 +39,23 @@ jcommander = "1.82"
jetty-alpn-api = "1.1.3.v20160715"
jetty-alpn-agent = "2.0.10"
jgit = "5.13.3.202401111512-r"
jgit6 = "6.9.0.202403050737-r"
jgit6 = "6.10.0.202406032230-r"
junit4 = "4.13.2"
junit5 = "5.10.2"
junit5 = "5.11.0"
jsch = "0.1.55"
# Don't update `json-path` version
json-path = "2.2.0"
# 3.0.0 requires java 17
json-unit = "2.38.0"
jmh-core = "1.37"
jmh-gradle-plugin = "0.7.2"
jxr = "0.2.1"
logback12 = { strictly = "1.2.13" }
logback15 = { strictly = "1.5.5" }
logback15 = { strictly = "1.5.7" }
logback = "1.2.13"
micrometer = "1.13.0"
mina-sshd = "2.12.1"
micrometer = "1.13.3"
mina-sshd = "2.13.2"
# Don't uprade mockito to 5.x.x that requires Java 11
mockito = "4.11.0"
nexus-publish-plugin = "2.0.0"
node-gradle-plugin = "7.0.2"
Expand All @@ -59,19 +66,23 @@ protobuf-gradle-plugin = "0.8.19"
quartz = "2.3.2"
reflections = "0.9.11"
shadow-gradle-plugin = "7.1.2"
# Don't update `shiro` version
shiro = "1.3.2"
slf4j1 = { strictly = "1.7.36" }
slf4j2 = { strictly = "2.0.12" }
slf4j2 = { strictly = "2.0.16" }
# Ensure that we use the same Snappy version as what Curator depends on.
# See: https://github.com/apache/curator/blob/master/pom.xml
snappy = "1.1.10.4"
snappy = "1.1.10.5"
sphinx = "2.10.1"
spring-boot2 = "2.7.18"
spring-boot3 = "3.3.0"
spring-boot3 = "3.3.2"
spring-test-junit5 = "1.5.0"
testcontainers = "1.19.8"
testcontainers = "1.20.1"
thrift09 = { strictly = "0.9.3-1" }
zookeeper = "3.7.2"
# Ensure that we use the same ZooKeeper version as what Curator depends on.
# See: https://github.com/apache/curator/blob/master/pom.xml
# (Switch to the right tag to find out the right version.)
zookeeper = "3.9.1"

[boms]
armeria = { module = "com.linecorp.armeria:armeria-bom", version.ref = "armeria" }
Expand Down Expand Up @@ -113,7 +124,6 @@ version.ref = "bouncycastle"
module = "org.bouncycastle:bcprov-jdk18on"
version.ref = "bouncycastle"

# Don"t upgrade Caffeine to 3.x that requires Java 11.
[libraries.caffeine]
module = "com.github.ben-manes.caffeine:caffeine"
version.ref = "caffeine"
Expand All @@ -128,9 +138,6 @@ module = "com.cronutils:cron-utils"
version.ref = "cron-utils"
relocations = { from = "com.cronutils", to = "com.linecorp.centraldogma.internal.shaded.cronutils" }

# Ensure that we use the same ZooKeeper version as what Curator depends on.
# See: https://github.com/apache/curator/blob/master/pom.xml
# (Switch to the right tag to find out the right version.)
[libraries.curator-recipes]
module = "org.apache.curator:curator-recipes"
version.ref = "curator"
Expand Down Expand Up @@ -186,7 +193,6 @@ relocations = { from = "com.google.common", to = "com.linecorp.centraldogma.inte
module = "org.hamcrest:hamcrest-library"
version.ref = "hamcrest-library"

# Need to wait for spring boot 3 before upgrading to 7.x.x
[libraries.hibernate-validator6]
module = "org.hibernate.validator:hibernate-validator"
version.ref = "hibernate-validator6"
Expand Down Expand Up @@ -258,13 +264,11 @@ version.ref = "jmh-core"
module = "com.jcraft:jsch"
version.ref = "jsch"

# Don't update `json-path` version
[libraries.json-path]
module = "com.jayway.jsonpath:json-path"
version.ref = "json-path"
relocations = { from = "com.jayway.jsonpath", to = "com.linecorp.centraldogma.internal.shaded.jsonpath" }

# 3.0.0 requires java 17
[libraries.json-unit]
module = "net.javacrumbs.json-unit:json-unit"
version.ref = "json-unit"
Expand Down Expand Up @@ -295,11 +299,11 @@ module = "org.junit.platform:junit-platform-launcher"
[libraries.logback12]
module = "ch.qos.logback:logback-classic"
version.ref = "logback12"
javadocs = "https://www.javadoc.io/doc/ch.qos.logback/logback-classic/1.2.12/"
javadocs = "https://www.javadoc.io/doc/ch.qos.logback/logback-classic/1.2.13/"
[libraries.logback15]
module = "ch.qos.logback:logback-classic"
version.ref = "logback15"
javadocs = "https://www.javadoc.io/doc/ch.qos.logback/logback-classic/1.5.4/"
javadocs = "https://www.javadoc.io/doc/ch.qos.logback/logback-classic/1.5.7/"

[libraries.controlplane-api]
module = "io.envoyproxy.controlplane:api"
Expand Down Expand Up @@ -361,7 +365,6 @@ exclusions = [
module = "gradle.plugin.com.github.johnrengelman:shadow"
version.ref = "shadow-gradle-plugin"

# Don't update `shiro` version
[libraries.shiro-core]
module = "org.apache.shiro:shiro-core"
version.ref = "shiro"
Expand Down Expand Up @@ -439,9 +442,6 @@ version.ref = "testcontainers"
module = "org.apache.thrift:libthrift"
version.ref = "thrift09"

# Ensure that we use the same ZooKeeper version as what Curator depends on.
# See: https://github.com/apache/curator/blob/master/pom.xml
# (Switch to the right tag to find out the right version.)
[libraries.zookeeper]
module = "org.apache.zookeeper:zookeeper"
version.ref = "zookeeper"
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
20 changes: 10 additions & 10 deletions gradlew.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand All @@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
echo. 1>&2
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
echo. 1>&2
echo Please set the JAVA_HOME variable in your environment to match the 1>&2
echo location of your Java installation. 1>&2

goto fail

Expand Down

0 comments on commit 88f0220

Please sign in to comment.