Revision 6635
Added by ben leinfelder over 12 years ago
MetacatAdminServlet.java | ||
---|---|---|
141 | 141 |
request.setAttribute("metacatConfigured", new Boolean(ConfigurationUtil.isMetacatConfigured())); |
142 | 142 |
request.setAttribute("geoserverConfigured", |
143 | 143 |
PropertyService.getProperty("configutil.geoserverConfigured")); |
144 |
request.setAttribute("dataoneConfigured", |
|
145 |
PropertyService.getProperty("configutil.dataoneConfigured")); |
|
144 | 146 |
request.setAttribute("metcatServletInitialized", MetaCatServlet.isFullyInitialized()); |
145 | 147 |
if (PropertyService.arePropertiesConfigured()) { |
146 | 148 |
request.setAttribute("databaseVersion", |
... | ... | |
179 | 181 |
// process geoserver password change |
180 | 182 |
GeoserverAdmin.getInstance().configureGeoserver(request, response); |
181 | 183 |
return; |
184 |
} else if (action.equals("dataone")) { |
|
185 |
// process dataone config |
|
186 |
D1Admin.getInstance().configureDataONE(request, response); |
|
187 |
return; |
|
182 | 188 |
} else { |
183 | 189 |
String errorMessage = "MetacatAdminServlet.handleGetOrPost - Invalid action in configuration request: " + action; |
184 | 190 |
logMetacat.error(errorMessage); |
Also available in: Unified diff
DataONE MN registration/configuration is now its own configuration page in the admin interface.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5531