Create OutboxTable and enum types.

This commit is contained in:
Ali CANLI
2022-07-15 12:01:28 +03:00
parent efbeeacb39
commit d7939edd0a
7 changed files with 94 additions and 1 deletions

View 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>

View File

@@ -0,0 +1,5 @@
package com.food.order.system.outbox;
public enum OutboxStatus {
STARTED,COMPLETED,FAILED
}

View File

@@ -13,6 +13,7 @@
<packaging>pom</packaging>
<modules>
<module>saga</module>
<module>outbox</module>
</modules>

View File

@@ -0,0 +1,5 @@
package com.food.order.system.saga;
public enum SagaStatus {
STARTED,FAILED,SUCCEEDED,PROCESSING, COMPENSATING,COMPENSATED
}