-
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.
* feature: added postgres support * fix: fixed bugs
- Loading branch information
1 parent
0687917
commit b8417b1
Showing
29 changed files
with
672 additions
and
376 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
21 changes: 21 additions & 0 deletions
21
...r/src/main/java/com/objectstorage/exception/ConfigDatabasePropertiesMissingException.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,21 @@ | ||
package com.objectstorage.exception; | ||
|
||
import java.io.IOException; | ||
import java.util.Arrays; | ||
import java.util.Formatter; | ||
|
||
/** | ||
* Represents exception used when configuration file database properties are missing. | ||
*/ | ||
public class ConfigDatabasePropertiesMissingException extends IOException { | ||
public ConfigDatabasePropertiesMissingException() { | ||
this(""); | ||
} | ||
|
||
public ConfigDatabasePropertiesMissingException(Object... message) { | ||
super( | ||
new Formatter() | ||
.format("Config file database properties are missing: %s", Arrays.stream(message).toArray()) | ||
.toString()); | ||
} | ||
} |
121 changes: 0 additions & 121 deletions
121
api-server/src/main/java/com/objectstorage/repository/ConfigRepository.java
This file was deleted.
Oops, something went wrong.
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.