Is it possible to enable and disable a datastore view the REST API?

Although we have lots of users on the system many of them are inactive. I'm
thinking the best way to get around this problem is to lazy load the the
stores. If we shutdown Postgres then start GeoServer it starts quickly as
it's not looping through and testing all of those connections, it then sets
ENABLED on all JNDI datastores to false. I was thinking we could use the
REST API to set that to true when a user becomes active.

Sound possible?



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GeoServer-Slow-to-Start-with-Lots-of-Namespaces-tp5068101p5073693.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to