Create OutboxTable and enum types.
This commit is contained in:
16
infrastructure/outbox/pom.xml
Normal file
16
infrastructure/outbox/pom.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?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">
|
||||
<parent>
|
||||
<artifactId>infrastructure</artifactId>
|
||||
<groupId>com.food.order</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>outbox</artifactId>
|
||||
|
||||
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.food.order.system.outbox;
|
||||
|
||||
public enum OutboxStatus {
|
||||
STARTED,COMPLETED,FAILED
|
||||
}
|
||||
@@ -13,6 +13,7 @@
|
||||
<packaging>pom</packaging>
|
||||
<modules>
|
||||
<module>saga</module>
|
||||
<module>outbox</module>
|
||||
</modules>
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.food.order.system.saga;
|
||||
|
||||
public enum SagaStatus {
|
||||
STARTED,FAILED,SUCCEEDED,PROCESSING, COMPENSATING,COMPENSATED
|
||||
}
|
||||
Reference in New Issue
Block a user