Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
badgerwithagun committed Dec 21, 2023
1 parent f2b6caf commit 7e14b02
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 14 deletions.
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--suppress MavenModelInspection, MavenModelInspection, MavenModelInspection -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gruelbox</groupId>
<artifactId>transactionoutbox-parent</artifactId>
Expand Down Expand Up @@ -268,7 +269,8 @@
<consoleOutputReporter>
<disable>true</disable>
</consoleOutputReporter>
<statelessTestsetInfoReporter implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporterUnicode"/>
<statelessTestsetInfoReporter
implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporterUnicode"/>
</configuration>
</plugin>
</plugins>
Expand Down
33 changes: 26 additions & 7 deletions transactionoutbox-quarkus/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>transactionoutbox-parent</artifactId>
<groupId>com.gruelbox</groupId>
Expand All @@ -9,7 +10,8 @@
<name>Transaction Outbox Quarkus</name>
<packaging>jar</packaging>
<artifactId>transactionoutbox-quarkus</artifactId>
<description>A safe implementation of the transactional outbox pattern for Java (Quarkus extension library)</description>
<description>A safe implementation of the transactional outbox pattern for Java (Quarkus extension library)
</description>
<properties>
<quarkus.version>2.16.5.Final</quarkus.version>
</properties>
Expand All @@ -33,6 +35,28 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-junit5</artifactId>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
</exclusion>
<exclusion>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
</exclusion>
<exclusion>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
Expand All @@ -54,11 +78,6 @@
<artifactId>quarkus-agroal</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-arc</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-undertow</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
package com.gruelbox.transactionoutbox.spring.acceptance;

import com.gruelbox.transactionoutbox.TransactionOutbox;
import java.time.LocalDateTime;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

@SuppressWarnings("unused")
@RestController
class EventuallyConsistentController {

private static final Logger LOGGER =
LoggerFactory.getLogger(EventuallyConsistentController.class);

@Autowired private CustomerRepository customerRepository;
@Autowired private TransactionOutbox outbox;
@Autowired private EventRepository eventRepository;
@Autowired private EventPublisher eventPublisher;
@Autowired
private CustomerRepository customerRepository;
@Autowired
private TransactionOutbox outbox;
@Autowired
private EventRepository eventRepository;
@Autowired
private EventPublisher eventPublisher;

@SuppressWarnings("SameReturnValue")
@RequestMapping("/createCustomer")
Expand Down

0 comments on commit 7e14b02

Please sign in to comment.