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
16 changes: 8 additions & 8 deletions main/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,30 +31,30 @@
<url>https://github.com/elasticsoftwarefoundation/akces-framework</url>

<properties>
<protobuf.version>4.33.5</protobuf.version>
<protobuf.version>4.34.0</protobuf.version>
<log4j.version>2.25.3</log4j.version>
<jackson.version>2.20.1</jackson.version>
<jackson.version>2.21.1</jackson.version>
<slf4j.version>2.0.17</slf4j.version>
<javassist.version>3.30.2-GA</javassist.version>
<lz4.version>1.8.1</lz4.version>
<kafka.version>4.1.1</kafka.version>
<kafka.version>4.2.0</kafka.version>
<java-uuid-generator.version>5.2.0</java-uuid-generator.version>
<!-- higher versions have removed the native libraries, stay on 10.2.1 for now -->
<rocksdb.version>10.2.1</rocksdb.version>
<semver4j.version>6.0.0</semver4j.version>
<auto-service.version>1.1.1</auto-service.version>
<!-- testing -->
<testng-version>7.11.0</testng-version>
<testng-version>7.12.0</testng-version>
<awaitility.version>4.3.0</awaitility.version>
<persistence-api.version>2.2</persistence-api.version>
<plexus-utils.version>4.0.2</plexus-utils.version>
<netty.version>4.2.7.Final</netty.version>
<netty.version>4.2.10.Final</netty.version>
<micrometer.version>1.16.2</micrometer.version>
<fast-uuid.version>0.2.0</fast-uuid.version>
<confluent.version>8.1.1</confluent.version>
<confluent.version>8.2.0</confluent.version>
<victools.version>5.0.0</victools.version>
<joda-time.version>2.14.0</joda-time.version>
<logback.version>1.5.25</logback.version>
<joda-time.version>2.14.1</joda-time.version>
<logback.version>1.5.32</logback.version>
<testcontainers.version>2.0.3</testcontainers.version>
<compile-testing.version>0.23.0</compile-testing.version>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@

package org.elasticsoftware.akces.errors;

import jakarta.annotation.Nonnull;
import jakarta.validation.constraints.NotNull;
import org.elasticsoftware.akces.annotations.DomainEventInfo;
import org.elasticsoftware.akces.events.ErrorEvent;

@DomainEventInfo(type = "AggregateAlreadyExistsError")
public record AggregateAlreadyExistsErrorEvent(
@NotNull String aggregateId,
@NotNull String id,
@NotNull String aggregateName
) implements ErrorEvent {
@Override
@Nonnull
public String getAggregateId() {
return aggregateId();
return id();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@

package org.elasticsoftware.akces.errors;

import jakarta.annotation.Nonnull;
import jakarta.validation.constraints.NotNull;
import org.elasticsoftware.akces.annotations.DomainEventInfo;
import org.elasticsoftware.akces.events.ErrorEvent;

@DomainEventInfo(type = "AggregateNotFoundError")
public record AggregateNotFoundErrorEvent(
@NotNull String aggregateId,
@NotNull String id,
@NotNull String aggregateName
) implements ErrorEvent {
@Override
@Nonnull
public String getAggregateId() {
return aggregateId();
return id();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,21 @@

package org.elasticsoftware.akces.errors;

import jakarta.annotation.Nonnull;
import jakarta.validation.constraints.NotNull;
import org.elasticsoftware.akces.annotations.DomainEventInfo;
import org.elasticsoftware.akces.events.ErrorEvent;

@DomainEventInfo(type = "CommandExecutionError")
public record CommandExecutionErrorEvent(
@NotNull String aggregateId,
@NotNull String id,
@NotNull String aggregateName,
@NotNull String commandName,
String errorDescription
) implements ErrorEvent {
@Override
@Nonnull
public String getAggregateId() {
return aggregateId();
return id();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void testSaveSchemaFailure() {

CompletableFuture<RecordMetadata> future = new CompletableFuture<>();
future.completeExceptionally(new RuntimeException("Kafka error"));
when(producer.send(any(ProducerRecord.class))).thenReturn(future);
when(producer.send(any(ProducerRecord.class), any(Callback.class))).thenReturn(future);

// When/Then
assertThrows(SchemaException.class,
Expand Down
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- java 25+ -->
<java.version>25</java.version>
<!-- this is needed for surefire, needs to be kept in sync with the mockito-core version in spring-boot -->
<!-- this is needed for surefire, needs to be kept in sync with the mockito-core version in spring-boot-dependencies -->
<mockito.version>5.20.0</mockito.version>
<spring.version>7.0.4</spring.version>
<spring-boot.version>4.0.2</spring-boot.version>
<spring.version>7.0.5</spring.version>
<spring-boot.version>4.0.3</spring-boot.version>
<guava.version>33.5.0-jre</guava.version>
<caffeine.version>3.2.3</caffeine.version>
</properties>
Expand All @@ -97,15 +97,15 @@
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.9.0</version>
<version>3.10.0</version>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.15.0</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.4</version>
<version>3.5.5</version>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
Expand All @@ -129,7 +129,7 @@
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.6.1</version>
<version>3.6.2</version>
</plugin>
<plugin>
<groupId>org.simplify4u.plugins</groupId>
Expand All @@ -146,7 +146,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.2.1</version>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down Expand Up @@ -181,7 +181,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>0.11.4</version>
<version>0.11.5</version>
<extensions>true</extensions>
</plugin>
<plugin>
Expand All @@ -192,7 +192,7 @@
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>crd-generator-maven-plugin</artifactId>
<version>7.5.2</version>
<version>7.6.1</version>
</plugin>
<plugin>
<groupId>org.cyclonedx</groupId>
Expand Down Expand Up @@ -479,4 +479,4 @@
</build>
</profile>
</profiles>
</project>
</project>
4 changes: 2 additions & 2 deletions services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
<url>https://github.com/elasticsoftwarefoundation/akces-framework</url>

<properties>
<operator-sdk.version>5.2.2</operator-sdk.version>
<operator-sdk.version>5.2.3</operator-sdk.version>
<operator-sdk.spring.version>6.3.3</operator-sdk.spring.version>
<bouncycastle.version>1.83</bouncycastle.version>
<fabric8.version>7.5.2</fabric8.version>
<fabric8.version>7.6.1</fabric8.version>
</properties>

<dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion test-apps/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<dependency>
<groupId>org.checkerframework</groupId>
<artifactId>checker-qual</artifactId>
<version>3.53.1</version>
<version>3.54.0</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand Down
Loading