-
Notifications
You must be signed in to change notification settings - Fork 10
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 #357 from edmcouncil/348-refactoring-the-configura…
…tion-loading-code-in-onto-viewer 348 Refactoring the configuration loading code in onto-viewer
- Loading branch information
Showing
20 changed files
with
477 additions
and
227 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -220,4 +220,7 @@ onto-viewer-web-app/config/* | |
onto-viewer-web-app/ontologies/* | ||
|
||
# Mac | ||
.DS_Store | ||
.DS_Store | ||
|
||
#VS CODE | ||
.vscode/ |
12 changes: 12 additions & 0 deletions
12
...viewer/configloader/configuration/model/exception/UnableToLoadConfigurationException.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,12 @@ | ||
package org.edmcouncil.spec.ontoviewer.configloader.configuration.model.exception; | ||
|
||
public class UnableToLoadConfigurationException extends Exception { | ||
|
||
public UnableToLoadConfigurationException(String message) { | ||
super(message); | ||
} | ||
|
||
public UnableToLoadConfigurationException(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
} |
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
6 changes: 4 additions & 2 deletions
6
...l/spec/ontoviewer/configloader/configuration/service/ApplicationConfigurationService.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,14 +1,16 @@ | ||
package org.edmcouncil.spec.ontoviewer.configloader.configuration.service; | ||
|
||
import java.io.IOException; | ||
|
||
import org.edmcouncil.spec.ontoviewer.configloader.configuration.model.ConfigurationData; | ||
|
||
public interface ApplicationConfigurationService { | ||
|
||
void init(); | ||
void init() throws IOException; | ||
|
||
ConfigurationData getConfigurationData(); | ||
|
||
boolean hasConfiguredGroups(); | ||
|
||
void reloadConfiguration(); | ||
void reloadConfiguration() throws IOException; | ||
} |
Oops, something went wrong.