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

Update dependencies #1658

Merged
merged 10 commits into from
Jul 12, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/agent_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
shell: bash
run: |
if [[ "${{ matrix.dockerimage }}" == "eclipse-temurin:21" ]]; then
sed -i 's/gradle-7.6-bin.zip/gradle-8.7-bin.zip/' gradle/wrapper/gradle-wrapper.properties
sed -i 's/gradle-7.6.2-bin.zip/gradle-8.7-bin.zip/' gradle/wrapper/gradle-wrapper.properties
cat gradle/wrapper/gradle-wrapper.properties
fi
- name: Clean Gradle cache
Expand Down
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
import com.github.jk1.license.render.TextReportRenderer
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask

// There is a transitive dependency which causes the bootJar task to fail.
// This fixes the issue by forcing the correct version of the dependency.
buildscript {
configurations.configureEach {
resolutionStrategy {
force "org.apache.commons:commons-compress:1.26.2"
}
}
}

plugins {
alias(libs.plugins.nlLittlerobotsVersionCatalogUpdate)
alias(libs.plugins.comGithubJk1DependencyLicenseReport)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ apply plugin: 'idea'

node {
// Version of node to use.
version = '18.14.2'
version = '20.15.1'

// Version of npm to use.
npmVersion = '6.13.4'
npmVersion = '10.8.2'

// Version of Yarn to use.
yarnVersion = '1.22.0'
yarnVersion = '1.22.22'

// If true, it will download node using above parameters.
// If false, it will try to use globally installed node.
Expand Down Expand Up @@ -74,7 +74,7 @@ tasks.register('buildFrontend', YarnTask) {
outputs.dir('out')

dependsOn lintFrontend, checkCodeStyleFrontend
args = ['export']
args = ['build']
environment = [NODE_OPTIONS: "--openssl-legacy-provider"]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const isProduction = process.env.NODE_ENV === 'production';

module.exports = {
distDir: '../.next',
const nextConfig = {
output: 'export',
distDir: '../out',

// Each page will be exported as a directory
trailingSlash: true,
Expand All @@ -22,3 +23,5 @@ module.exports = {
BUILD_DATE: new Date().toUTCString(),
},
};

module.exports = nextConfig;
12 changes: 6 additions & 6 deletions components/inspectit-ocelot-configurationserver-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"version": "0.1.0",
"scripts": {
"dev": "next ./src",
"build": "next build ./src",
"start": "next start ./src",
"build": "next build",
"start": "next start",
"export": "next build ./src && next export ./src -o ./out",
"lint": "next lint ./src",
"lint:fix": "next lint --fix ./src",
Expand All @@ -29,21 +29,21 @@
"axios": "^1.6.2",
"classnames": "^2.3.1",
"dateformat": "^3.0.3",
"eslint-config-next": "^13.0.0",
"eslint-config-next": "^14.2.5",
"file-saver": "^2.0.5",
"js-yaml": "^4.1.0",
"jszip": "^3.10.0",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"next": "^13.0.0",
"next": "^14.2.5",
"primeflex": "^3.2.1",
"primeicons": "^5.0.0",
"primereact": "^8.5.0",
"prop-types": "^15.8.1",
"randexp": "^0.5.3",
"react": "^18.0.0",
"react": "^18.3.1",
"react-diff-viewer-continued": "^3.3.1",
"react-dom": "^18.0.0",
"react-dom": "^18.3.1",
"react-dropzone": "^14.2.3",
"react-redux": "^8.0.2",
"react-syntax-highlighter": "^15.5.0",
Expand Down
1,875 changes: 940 additions & 935 deletions components/inspectit-ocelot-configurationserver-ui/yarn.lock

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions gradle/configserverlibs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[versions]
ioJsonwebtoken = "0.12.5"
orgEclipseJgit = "6.8.0.202311291450-r"
orgMockito = "5.10.0"
orgJunitJupiter = "5.10.2"
orgSpringframeworkBoot = { strictly = "3.2.3" }
orgSpringframeworkSecurity = "6.2.2"
ioJsonwebtoken = "0.12.6"
orgEclipseJgit = "6.10.0.202406032230-r"
orgMockito = "5.12.0"
orgJunitJupiter = "5.10.3"
orgSpringframeworkBoot = { strictly = "3.3.1" }
orgSpringframeworkSecurity = "6.3.1"

[libraries]
comGoogleCodeGson = "com.google.code.gson:gson:2.10.1"
comGoogleGuava = { module = "com.google.guava:guava", version = { strictly = "33.0.0-jre" } }
comGoogleCodeGson = "com.google.code.gson:gson:2.11.0"
comGoogleGuava = { module = "com.google.guava:guava", version = { strictly = "33.2.1-jre" } }
comH2databaseH2 = "com.h2database:h2:2.2.224"
commonsIo = "commons-io:commons-io:2.15.1"
commonsIo = "commons-io:commons-io:2.16.1"
ioJsonwebtokenJjwtApi = { module = "io.jsonwebtoken:jjwt-api", version.ref = "ioJsonwebtoken" }
ioJsonwebtokenJjwtImpl = { module = "io.jsonwebtoken:jjwt-impl", version.ref = "ioJsonwebtoken" }
ioJsonwebtokenJjwtJackson = { module = "io.jsonwebtoken:jjwt-jackson", version.ref = "ioJsonwebtoken" }
orgApacheCommonsCommonsLang3 = "org.apache.commons:commons-lang3:3.14.0"
orgAwaitility = "org.awaitility:awaitility:4.2.0"
orgAwaitility = "org.awaitility:awaitility:4.2.1"
orgEclipseJgitOrgEclipseJgit = { module = "org.eclipse.jgit:org.eclipse.jgit", version.ref = "orgEclipseJgit" }
orgEclipseJgitOrgEclipseJgitSshApache= {module = "org.eclipse.jgit:org.eclipse.jgit.ssh.apache", version.ref = "orgEclipseJgit" }
orgFlywaydbFlywayCore = "org.flywaydb:flyway-core:10.8.1"
orgHibernateOrmHibernateCommunityDialects = "org.hibernate.orm:hibernate-community-dialects:6.3.2.Final"
orgFlywaydbFlywayCore = "org.flywaydb:flyway-core:10.15.2"
orgHibernateOrmHibernateCommunityDialects = "org.hibernate.orm:hibernate-community-dialects:6.5.2.Final"
orgJunitJupiterJunitJupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "orgJunitJupiter" }
orgJunitJupiterJunitJupiterApi = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "orgJunitJupiter" }
orgJunitJupiterJunitJupiterEngine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "orgJunitJupiter" }
Expand All @@ -29,14 +29,14 @@ orgSpringframeworkBootSpringBootStarterDataJpa = { module = "org.springframework
orgSpringframeworkBootSpringBootStarterTest = { module = "org.springframework.boot:spring-boot-starter-test", version.ref = "orgSpringframeworkBoot" }
orgSpringframeworkBootSpringBootStarterWeb = { module = "org.springframework.boot:spring-boot-starter-web", version.ref = "orgSpringframeworkBoot" }
orgSpringframeworkBootSpringBootStartervalidation = { module = "org.springframework.boot:spring-boot-starter-validation", version.ref = "orgSpringframeworkBoot" }
orgSpringframeworkLdapSpringLdapCore = "org.springframework.ldap:spring-ldap-core:3.2.2"
orgSpringframeworkLdapSpringLdapCore = "org.springframework.ldap:spring-ldap-core:3.2.4"
orgSpringframeworkSecuritySpringSecurityLdap = { module = "org.springframework.security:spring-security-ldap", version.ref = "orgSpringframeworkSecurity" }
orgSpringframeworkSecuritySpringSecurityTest = { module = "org.springframework.security:spring-security-test", version.ref = "orgSpringframeworkSecurity" }
orgSpringframeworkSecuritySpringSecurityWeb = { module = "org.springframework.security:spring-security-web", version.ref = "orgSpringframeworkSecurity" }
orgSpringframeworksecuritySpringSecurityConfig = { module = "org.springframework.security:spring-security-config", version.ref = "orgSpringframeworkSecurity" }
chQosLogbackLogbackClassic = "ch.qos.logback:logback-classic:1.4.14"
chQosLogbackLogbackCore = "ch.qos.logback:logback-core:1.4.14"
orgXerialSqliteJdbc = "org.xerial:sqlite-jdbc:3.43.2.2"
chQosLogbackLogbackClassic = "ch.qos.logback:logback-classic:1.5.6"
chQosLogbackLogbackCore = "ch.qos.logback:logback-core:1.5.6"
orgXerialSqliteJdbc = "org.xerial:sqlite-jdbc:3.46.0.0"
orgYamlSnakeyaml = "org.yaml:snakeyaml:2.2"

[bundles]
Expand All @@ -51,5 +51,5 @@ jsonwebtoken = [
]

[plugins]
ioSpringDependencyManagement = "io.spring.dependency-management:1.1.4"
ioSpringDependencyManagement = "io.spring.dependency-management:1.1.6"
orgSpringframeworkBoot = { id = "org.springframework.boot", version.ref = "orgSpringframeworkBoot" }
71 changes: 40 additions & 31 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,48 +1,54 @@
[versions]
comLinecorpArmeria = "1.23.1"
ioGithubNetmikeyLogunit = "1.1.3"
ioGrpc = "1.43.3"
comLinecorpArmeria = "1.29.2"
ioGithubNetmikeyLogunit = "2.0.0"
ioGrpc = "1.65.0"
# Ensure to adapt the netty version when changing the OpenCensus version
# If you rename or move this variable to another file, adjust the release-workflow
ioOpencensus = "0.31.1"
ioOpentelemetry = "1.29.0"
ioOpentelemetryAlpha = "1.29.0-alpha"
orgApacheLoggingLog4j = "2.17.2"
orgEclipseJetty = "9.4.53.v20231009"
orgApacheLoggingLog4j = "2.23.1"
# @pin last version to support Java 8
orgEclipseJetty = "9.4.55.v20240627"
# @pin Starting with version 6.x requires Java 11
orgJunitJupiter = "5.8.2"
orgMockito = "4.7.0"
orgSlf4j = "2.0.11"
orgSpringframework = "5.3.31"
# 5.10.* is not running
orgJunitJupiter = "5.9.3"
# @pin mockito 5 requires Java 11
orgMockito = "4.11.0"
orgSlf4j = "2.0.13"
# @pin 5.3.* is the last version to support Java 8
orgSpringframework = "5.3.37"
# @pin 2.7.18 is the latest release which runs on Java 8, this version marks the en of open source support for Sb 2.x
orgSpringframeworkBoot = "2.7.18"
orgTestcontainers = "1.18.3"
orgTestcontainers = "1.19.8"

[libraries]
# @pin 1.3.* are the latest versions, which support java 8
chQosLogbackLogbackClassic = "ch.qos.logback:logback-classic:1.2.13"
# @pin 2.13.5 since this version is used by Spring Boot 2.7.18
comFasterxmlJacksonCoreJacksonDatabind = "com.fasterxml.jackson.core:jackson-databind:2.13.5"
# @pin Wiremock 3.* doesn't support java 8
comGithubTomakehurstWiremockJre8 = "com.github.tomakehurst:wiremock-jre8:2.35.1"
comGithubTomakehurstWiremockJre8 = "com.github.tomakehurst:wiremock-jre8:2.35.2"
# @pin ocelot-agent and ocelot-core cannot update guava, because of wiremock
comGoogleGuava = { module = "com.google.guava:guava", version = { strictly = "31.1-jre" } }
comGoogleProtobufProtobufJavaUtil = "com.google.protobuf:protobuf-java-util:3.22.5"
# @pin protobuf 4.* is not running
comGoogleProtobufProtobufJavaUtil = "com.google.protobuf:protobuf-java-util:3.25.3"
comH2databaseH2 = "com.h2database:h2:2.2.224"
comLinecorpArmeriaArmeriaGrpcProtocol = { module = "com.linecorp.armeria:armeria-grpc-protocol", version.ref = "comLinecorpArmeria" }
comLinecorpArmeriaArmeriaJunit5 = { module = "com.linecorp.armeria:armeria-junit5", version.ref = "comLinecorpArmeria" }
comSquareupOkio = "com.squareup.okio:okio:3.5.0"
comSquareupOkio = "com.squareup.okio:okio:3.9.0"
commonsBeanutils = "commons-beanutils:commons-beanutils:1.9.4"
commonsIo = "commons-io:commons-io:2.15.1"
ioApisenseEmbedInfluxEmbedInfluxDB = "io.apisense.embed.influx:embed-influxDB:1.2.1"
commonsIo = "commons-io:commons-io:2.16.1"
ioApisenseEmbedInfluxEmbedInfluxDB = "io.apisense.embed.influx:embed-influxDB:1.3.1"
ioGithubNetmikeyLogunitLogunitCore = { module = "io.github.netmikey.logunit:logunit-core", version.ref = "ioGithubNetmikeyLogunit" }
ioGithubNetmikeyLogunitLogunitLogback = { module = "io.github.netmikey.logunit:logunit-logback", version.ref = "ioGithubNetmikeyLogunit" }
# @pin resilience4j 2.* uses Java 17 APIs
ioGithubResilience4jResilience4jRetry = "io.github.resilience4j:resilience4j-retry:1.7.1"
ioGrpcGrpcNettyShaded = { module = "io.grpc:grpc-netty-shaded", version.ref = "ioGrpc" }
ioGrpcGrpcStub = { module = "io.grpc:grpc-stub", version.ref = "ioGrpc" }
# The following dependency is required for the OC-exporter to work correctly and must be matched against the grpc version
# See https://github.com/census-instrumentation/opencensus-java/blob/master/exporters/trace/ocagent/README.md
ioNettyNettyTcnativeBoringsslStatic = "io.netty:netty-tcnative-boringssl-static:2.0.62.Final"
ioNettyNettyTcnativeBoringsslStatic = "io.netty:netty-tcnative-boringssl-static:2.0.65.Final"
# Ensure to adapt the netty version when changing the OpenCensus version
ioOpencensusOpencensusApi = { module = "io.opencensus:opencensus-api", version.ref = "ioOpencensus" }
ioOpencensusOpencensusImpl = { module = "io.opencensus:opencensus-impl", version.ref = "ioOpencensus" }
Expand All @@ -62,34 +68,37 @@ ioOpentelemetryOpentelemetrySdk = { module = "io.opentelemetry:opentelemetry-sdk
ioOpentelemetryOpentelemetrySdkMetrics = { module = "io.opentelemetry:opentelemetry-sdk-metrics", version.ref = "ioOpentelemetry" }
ioOpentelemetryOpentelemetrySdkTesting = { module = "io.opentelemetry:opentelemetry-sdk-testing", version.ref = "ioOpentelemetry" }
ioOpentelemetryOpentelemetrySemconv = { module = "io.opentelemetry:opentelemetry-semconv", version.ref = "ioOpentelemetryAlpha" }
ioPrometheusSimpleclientHttpserver = "io.prometheus:simpleclient_httpserver:0.15.0"
ioPrometheusSimpleclientHttpserver = "io.prometheus:simpleclient_httpserver:0.16.0"
javaxAnnotationJavaxAnnotationApi = "javax.annotation:javax.annotation-api:1.3.2"
log4j = "log4j:log4j:1.2.17"
netBytebuddyByteBuddy = "net.bytebuddy:byte-buddy:1.14.15"
netBytebuddyByteBuddy = "net.bytebuddy:byte-buddy:1.14.18"
netLogstashLogbackLogstashLogbackEncoder = "net.logstash.logback:logstash-logback-encoder:7.4"
orgApacheCommonsCommonsCollections4 = "org.apache.commons:commons-collections4:4.4"
orgApacheCommonsCommonsLang3 = "org.apache.commons:commons-lang3:3.13.0"
orgApacheCommonsCommonsLang3 = "org.apache.commons:commons-lang3:3.14.0"
orgApacheCommonsCommonsMath3 = "org.apache.commons:commons-math3:3.6.1"
orgApacheHttpcomponentsHttpclient = "org.apache.httpcomponents:httpclient:4.5.14"
orgApacheLoggingLog4jLog4jApi = { module = "org.apache.logging.log4j:log4j-api", version.ref = "orgApacheLoggingLog4j" }
orgApacheLoggingLog4jLog4jCore = { module = "org.apache.logging.log4j:log4j-core", version.ref = "orgApacheLoggingLog4j" }
orgApacheTomcatEmbedTomcatEmbedEl = "org.apache.tomcat.embed:tomcat-embed-el:9.0.85"
orgAssertjAssertjCore = "org.assertj:assertj-core:3.22.0"
orgAssertjAssertjGuava = "org.assertj:assertj-guava:3.24.2"
# @pin Tomcat 9.0.* is the last version to support java 8
orgApacheTomcatEmbedTomcatEmbedEl = "org.apache.tomcat.embed:tomcat-embed-el:9.0.91"
orgAssertjAssertjCore = "org.assertj:assertj-core:3.26.3"
orgAssertjAssertjGuava = "org.assertj:assertj-guava:3.26.3"
orgAwaitility = "org.awaitility:awaitility:4.2.1"
# @pin Jetty 9.4.* is the last version to support java 8
orgEclipseJettyJettyServer = { module = "org.eclipse.jetty:jetty-server", version.ref = "orgEclipseJetty" }
# @pin HibernateValidator 6.* is the last version to support java 8
orgHibernateValidatorHibernateValidator = "org.hibernate.validator:hibernate-validator:6.2.5.Final"
orgInfluxdbInfluxdbJava = "org.influxdb:influxdb-java:2.23"
orgJavassist = "org.javassist:javassist:3.29.2-GA"
orgInfluxdbInfluxdbJava = "org.influxdb:influxdb-java:2.24"
orgJavassist = "org.javassist:javassist:3.30.2-GA"
orgJunitJupiterJunitJupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "orgJunitJupiter" }
orgJunitJupiterJunitJupiterApi = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "orgJunitJupiter" }
orgJunitJupiterJunitJupiterEngine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "orgJunitJupiter" }
orgMockitoMockitoCore = { module = "org.mockito:mockito-core", version.ref = "orgMockito" }
orgMockitoMockitoJunitJupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "orgMockito" }
orgProjectlombokLombok = "org.projectlombok:lombok:1.18.30"
orgProjectlombokLombok = "org.projectlombok:lombok:1.18.34"
orgSlf4jJulToSlf4j = { module = "org.slf4j:jul-to-slf4j", version.ref = "orgSlf4j" }
orgSlf4jslf4jApi = { module = "org.slf4j:slf4j-api", version.ref = "orgSlf4j" }
orgSpringdocSpringdocOpenapiUi = "org.springdoc:springdoc-openapi-ui:1.7.0"
orgSpringdocSpringdocOpenapiUi = "org.springdoc:springdoc-openapi-ui:1.8.0"
orgSpringframeworkBootSpringBoot = { module = "org.springframework.boot:spring-boot", version.ref = "orgSpringframeworkBoot" }
orgSpringframeworkBootSpringBootStarterWeb = { module = "org.springframework.boot:spring-boot-starter-web", version.ref = "orgSpringframeworkBoot" }
orgSpringframeworkBootSpringBootTest = { module = "org.springframework.boot:spring-boot-test", version.ref = "orgSpringframeworkBoot" }
Expand All @@ -112,17 +121,17 @@ opentelemetry = [
]

[plugins]
comGithubBenManesVersions = "com.github.ben-manes.versions:0.48.0"
comGithubBenManesVersions = "com.github.ben-manes.versions:0.51.0"
# @pin There is a newer version 2.1, but it is not Java 8 compatible
comGithubJk1DependencyLicenseReport = "com.github.jk1.dependency-license-report:2.0"
comGithubNodeGradleNode = "com.github.node-gradle.node:7.0.1"
comGithubNodeGradleNode = "com.github.node-gradle.node:7.0.2"
# @pin There is a newer Version 0.35.0, but it is not Java 8 compatible
# For the Agent, this is currently provided via gradle.properties to make it dynamic.
comPalantirDocker = "com.palantir.docker:0.34.0"
ioSpringDependencyManagement = "io.spring.dependency-management:1.1.4"
ioSpringDependencyManagement = "io.spring.dependency-management:1.1.6"
meChampeauJmh = "me.champeau.jmh:0.7.2"
nlLittlerobotsVersionCatalogUpdate = "nl.littlerobots.version-catalog-update:0.8.3"
orgCyclonedxBom = "org.cyclonedx.bom:1.7.4"
nlLittlerobotsVersionCatalogUpdate = "nl.littlerobots.version-catalog-update:0.8.4"
orgCyclonedxBom = "org.cyclonedx.bom:1.8.2"
# @pin Last version to be compatible with java 1.8
orgOwaspDependencycheck = "org.owasp.dependencycheck:8.2.1"
orgSpringframeworkBoot = { id = "org.springframework.boot", version.ref = "orgSpringframeworkBoot" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

This file was deleted.

Loading