[Geoserver-devel] [jira] Created: (GEOS-2379) RESTConfig: Provide means of autoconfiguring pre-existing layers

RESTConfig: Provide means of autoconfiguring pre-existing layers
----------------------------------------------------------------

                 Key: GEOS-2379
                 URL: http://jira.codehaus.org/browse/GEOS-2379
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration
            Reporter: David Winslow
            Assignee: David Winslow

In RESTConfig, there is already a mechanism for autoconfiguring a shapefile, but it requires uploading a zip file with the shapefile and friends. We should allow autoconfiguration of layers that are already present on the server (for example, you just added a PostGIS database with 100 tables. You want to expose them all with reasonable settings and don't care about handcrafting the metadata. RESTConfig should help with this.)

I'm adding an endpoint at rest/folders/{folder}/layers/{layer}/default[.{type}] that only supports GET requests. It returns the default configuration for the specified layer, complete with autodetected values for relevant fields (title based on store name, bbox based on data, etc.)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira