forked from finos/architecture-as-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactoring to create exception handler. Also creating adr domain pac…
…kage, (finos#716)
- Loading branch information
1 parent
78ff101
commit 4fc0f4c
Showing
17 changed files
with
236 additions
and
231 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
10 changes: 0 additions & 10 deletions
10
calm-hub/src/main/java/org/finos/calm/domain/AdrStatus.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../main/java/org/finos/calm/domain/Adr.java → ...n/java/org/finos/calm/domain/adr/Adr.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
2 changes: 1 addition & 1 deletion
2
...va/org/finos/calm/domain/AdrDecision.java → ...rg/finos/calm/domain/adr/AdrDecision.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
2 changes: 1 addition & 1 deletion
2
...n/java/org/finos/calm/domain/AdrLink.java → ...va/org/finos/calm/domain/adr/AdrLink.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
2 changes: 1 addition & 1 deletion
2
...java/org/finos/calm/domain/AdrOption.java → .../org/finos/calm/domain/adr/AdrOption.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
10 changes: 10 additions & 0 deletions
10
calm-hub/src/main/java/org/finos/calm/domain/adr/AdrStatus.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,10 @@ | ||
package org.finos.calm.domain.adr; | ||
|
||
public enum AdrStatus { | ||
draft, | ||
proposed, | ||
accepted, | ||
superseded, | ||
rejected, | ||
deprecated; | ||
} |
3 changes: 1 addition & 2 deletions
3
...in/java/org/finos/calm/domain/NewAdr.java → ...ava/org/finos/calm/domain/adr/NewAdr.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
4 changes: 4 additions & 0 deletions
4
calm-hub/src/main/java/org/finos/calm/domain/exception/AdrParseException.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,4 @@ | ||
package org.finos.calm.domain.exception; | ||
|
||
public class AdrParseException extends Exception { | ||
} |
4 changes: 0 additions & 4 deletions
4
calm-hub/src/main/java/org/finos/calm/domain/exception/AdrPersistenceError.java
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
calm-hub/src/main/java/org/finos/calm/domain/exception/AdrPersistenceException.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,4 @@ | ||
package org.finos.calm.domain.exception; | ||
|
||
public class AdrPersistenceException extends Exception { | ||
} |
Oops, something went wrong.