From f9b99c9b8c9494cac2d6fe9ba320f2ff35278f61 Mon Sep 17 00:00:00 2001 From: vburlachenko Date: Mon, 8 Apr 2024 18:00:01 +0300 Subject: [PATCH] added commons-collections4 library instead of commons-collections --- kafka-ui-api/pom.xml | 37 ++++++++++++++++++- .../kafka/ui/model/rbac/Permission.java | 2 +- .../integration/odd/ConnectorInfo.java | 2 +- .../ui/service/rbac/AccessControlService.java | 2 +- pom.xml | 14 ++++++- 5 files changed, 51 insertions(+), 6 deletions(-) diff --git a/kafka-ui-api/pom.xml b/kafka-ui-api/pom.xml index 1e0f952eb16..b1534427ed3 100644 --- a/kafka-ui-api/pom.xml +++ b/kafka-ui-api/pom.xml @@ -81,6 +81,12 @@ io.confluent kafka-json-schema-serializer ${confluent.version} + + + commons-collections + commons-collections + + io.confluent @@ -135,6 +141,11 @@ commons-pool2 ${apache.commons.version} + + org.apache.commons + commons-collections4 + 4.4 + org.testcontainers testcontainers @@ -238,8 +249,6 @@ org.springframework.security spring-security-ldap - - org.codehaus.groovy groovy-jsr223 @@ -250,6 +259,10 @@ groovy-json ${groovy.version} + + dev.cel + cel + org.apache.datasketches datasketches-java @@ -261,6 +274,26 @@ true + + ch.qos.logback + logback-classic + 1.4.12 + + + ch.qos.logback + logback-core + 1.4.12 + + + com.squareup.okhttp3 + logging-interceptor + 4.12.0 + + + org.apache.commons + commons-compress + 1.26.0 + diff --git a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java index 56b0a098026..69c16af5720 100644 --- a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java +++ b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/model/rbac/Permission.java @@ -23,7 +23,7 @@ import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.ToString; -import org.apache.commons.collections.CollectionUtils; +import org.apache.commons.collections4.CollectionUtils; import org.springframework.util.Assert; @Getter diff --git a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/integration/odd/ConnectorInfo.java b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/integration/odd/ConnectorInfo.java index a7844579bfd..daec183a4cc 100644 --- a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/integration/odd/ConnectorInfo.java +++ b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/integration/odd/ConnectorInfo.java @@ -8,7 +8,7 @@ import java.util.function.Function; import java.util.stream.Stream; import javax.annotation.Nullable; -import org.apache.commons.collections.CollectionUtils; +import org.apache.commons.collections4.CollectionUtils; import org.opendatadiscovery.oddrn.JdbcUrlParser; import org.opendatadiscovery.oddrn.model.HivePath; import org.opendatadiscovery.oddrn.model.MysqlPath; diff --git a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/rbac/AccessControlService.java b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/rbac/AccessControlService.java index 4ff311ff910..62a2962bed9 100644 --- a/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/rbac/AccessControlService.java +++ b/kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/rbac/AccessControlService.java @@ -33,7 +33,7 @@ import javax.annotation.Nullable; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.apache.commons.collections.CollectionUtils; +import org.apache.commons.collections4.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.core.env.Environment; diff --git a/pom.xml b/pom.xml index aa02a56f0e9..9bc208c05c2 100644 --- a/pom.xml +++ b/pom.xml @@ -40,7 +40,9 @@ 1.0.0 0.1.17 0.1.26 - 20230227 + 20231013 + 0.3.0 + 31.0.1-jre 5.9.1 @@ -129,6 +131,16 @@ protobuf-java ${protobuf-java.version} + + dev.cel + cel + ${dev.cel.version} + + + com.google.guava + guava + ${guava.version} + org.junit junit-bom