Began work on a web interface for configuring metacat at runtime. This system checks the 'configured' property when metacat starts up. If configured=false, then it loads an HTML form containing the properties that need to be set. The user configures the properties and they are written into the metacat.properties file. Then metacat needs to be restarted.
Lots still to do here -- its not really useful yet because I hardcoded 2 properties to be collected (user and password), but really the list should be gotten from the properties file itself.
This should not get in your way because by default I checked in 'configured=true' to the properties file so the configuration code is never called.
Began work on a web interface for configuring metacat at runtime. This system
checks the 'configured' property when metacat starts up. If configured=false, then
it loads an HTML form containing the properties that need to be set. The user configures the properties and they are written into the metacat.properties file. Then metacat needs to be restarted.
Lots still to do here -- its not really useful yet because I hardcoded 2 properties to be collected (user and password), but really the list should be gotten from the properties file itself.
This should not get in your way because by default I checked in 'configured=true' to the properties file so the configuration code is never called.