Hi Andrea,

Thnaks. I'm looking in the docs at the datastore endpoint and I don't see
anywhere to enable/disable. Am I looking in the right place?

Regards,

Chris


On Thu, Aug 22, 2013 at 12:51 PM, geowolf [via OSGeo.org] <
[email protected]> wrote:

> On Thu, Aug 22, 2013 at 6:42 AM, ChrisInCambo <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=5073700&i=0>
> > 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
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5073700&i=1>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.x6.nabble.com/GeoServer-Slow-to-Start-with-Lots-of-Namespaces-tp5068101p5073700.html
>  To unsubscribe from GeoServer Slow to Start with Lots of Namespaces, click
> here<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5068101&code=Y2hyaXNpbmNhbWJvQGdtYWlsLmNvbXw1MDY4MTAxfDE2NjQxODQwNzU=>
> .
> NAML<http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/GeoServer-Slow-to-Start-with-Lots-of-Namespaces-tp5068101p5073723.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