Hi all, this is a notification message to let you all know that the long standing work going to support editing (GeoServer backed) tile layers through the UI has landed on trunk. It is also an encouragement request to try it out and report back any issue. Being brand new code I don't expect it to be perfect. On the bright side, the /gwc module test coverage has increased to 79 % (it was ~60, but lines of code went from 4400 to 7700) and the /web/gwc module's went from 0% to 64% (as per cobertura:cobertura), and lines of code from 901 to 4056.
This work (finally) closes GEOS-4460. There is more to do yet based on early feedback though, which I'll be creating specific jira issues for. But most of it will be moving stuff around in the UI for a better, more consistent "caching" story. So, what does it all mean? Basically that for the embedded gwc users shouldn't need to edit geowebcache.xml by hand anymore. They can create/edit gridsets and tile layer propertied directly through the UI. WARNING: It also comes with a backwards _incompatible_ change wrt storage of tile layer information. As previously discused on this mailing list[1], we decided it'd be better for the tile layer configuration to be decoupled from the LayerInfo and LayerGroupInfo metadata maps. So for the sake of simplicity and scalability, geoserver tile layer configuration will be stored in a <data directory>/gwc-layers directory, using one file per layer containing the tile layer's XML representation using XStream. So at startup the config will be migrated, whipping out stuff from LayerInfo and LayerGroupInfo metadata maps and stored in /gwc-layers. Finally, these changes should fix some of the top rated bug/issue reports about integrated gwc: - How do I define new gridsets: go to the UI and either create one from scratch or use an existing one as template - How do I _stop_ caching a given layer? Yes, seems basic, but truth is since its inception, gwc integration assumed all geoserver layers were to have a sibling cached layer. Now go to the layer edit page "caching" tab or the layergroup edit page and uncheck the "create a cached layer" checkbox. - How do I add a grid subset to a geoserver tile layer, or remove one of the pre-defined ones? Answer used to be "create a separate wmsLayer in geowebcache.xml, and don't forget to name it differently". Now you can just edit the layer gridsubsets through the UI. That'd be about it. Please go ahead and give it a try. Eager of bug reports or any other feedback here. Cheers, Gabriel [1] <http://osgeo-org.1560.n6.nabble.com/asking-for-feedback-on-gwc-integration-improvements-td4335885.html> -- Gabriel Roldan OpenGeo - http://opengeo.org Expert service straight from the developers. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel