Revision 8350
Added by ben leinfelder about 11 years ago
src/edu/ucsb/nceas/metacat/util/DataONEConfigUtil.java | ||
---|---|---|
40 | 40 |
* |
41 | 41 |
* @return a boolean that is true if dataONE setting is configured or bypassed |
42 | 42 |
*/ |
43 |
public static boolean isGeoserverConfigured() throws MetacatUtilException {
|
|
43 |
public static boolean isDataOneConfigured() throws MetacatUtilException {
|
|
44 | 44 |
String dataoneConfiguredString = PropertyService.UNCONFIGURED; |
45 | 45 |
try { |
46 | 46 |
dataoneConfiguredString = PropertyService.getProperty("configutil.dataoneConfigured"); |
src/edu/ucsb/nceas/metacat/util/ConfigurationUtil.java | ||
---|---|---|
63 | 63 |
&& DatabaseUtil.isDatabaseConfigured() |
64 | 64 |
&& GeoserverUtil.isGeoserverConfigured() |
65 | 65 |
&& isBackupDirConfigured() |
66 |
&& DataONEConfigUtil.isGeoserverConfigured();
|
|
66 |
&& DataONEConfigUtil.isDataOneConfigured();
|
|
67 | 67 |
} catch (MetacatUtilException ue) { |
68 | 68 |
logMetacat.error("Could not determine if metacat is configured due to utility exception: " |
69 | 69 |
+ ue.getMessage()); |
Also available in: Unified diff
change method name from copy and paste.