On Thu, Aug 22, 2013 at 6:42 AM, ChrisInCambo <[email protected]>wrote:
> 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?
>
Should be, yeah, the moment you enable the store all layers in it should
come
to life as well
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
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