-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from cardano-foundation/api2-reconcilation-req…
…uest feat: API2: source / ERP level reconcilation.
- Loading branch information
Showing
133 changed files
with
2,243 additions
and
612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
...ain/java/org/cardanofoundation/lob/app/accounting_reporting_core/domain/core/Project.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
...va/org/cardanofoundation/lob/app/accounting_reporting_core/domain/core/Reconcilation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package org.cardanofoundation.lob.app.accounting_reporting_core.domain.core; | ||
|
||
import jakarta.persistence.Enumerated; | ||
import lombok.*; | ||
|
||
import static jakarta.persistence.EnumType.STRING; | ||
|
||
@AllArgsConstructor | ||
@Getter | ||
@Builder(toBuilder = true) | ||
@EqualsAndHashCode | ||
@ToString | ||
@NoArgsConstructor | ||
public class Reconcilation { | ||
|
||
@Enumerated(STRING) | ||
private ReconcilationCode source; | ||
|
||
@Enumerated(STRING) | ||
private ReconcilationCode sink; | ||
|
||
} |
6 changes: 3 additions & 3 deletions
6
...e/domain/core/TransactionVersionAlgo.java → ...g_core/domain/core/ReconcilationCode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
package org.cardanofoundation.lob.app.accounting_reporting_core.domain.core; | ||
|
||
public enum TransactionVersionAlgo { | ||
public enum ReconcilationCode { | ||
|
||
ERP_SOURCE, | ||
BLOCKCHAIN_SINK | ||
OK, | ||
NOK | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
.../cardanofoundation/lob/app/accounting_reporting_core/domain/core/ReconcilationStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.cardanofoundation.lob.app.accounting_reporting_core.domain.core; | ||
|
||
public enum ReconcilationStatus { | ||
|
||
CREATED, // reconcilation is created but not started yet meaning no chunks sending started yet | ||
|
||
STARTED, // reconcilation is started and first chunk event is sent | ||
|
||
FAILED, // reconcilation is failed | ||
|
||
COMPLETED, // reconcilation is completed, we see this on the last chunk event sent | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rting_core/domain/core/ViolationCode.java → ...domain/core/TransactionViolationCode.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.