[Geoserver-devel] [jira] Created: (GEOS-3004) restconfig: Add support for external and url upload methods to send coverages

restconfig: Add support for external and url upload methods to send coverages
------------------------------------------------------------------------------

                 Key: GEOS-3004
                 URL: http://jira.codehaus.org/browse/GEOS-3004
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.4
            Reporter: Daniele Romagnoli
            Assignee: Andrea Aime
             Fix For: 1.7.5

Actually, only direct upload method is supported (file.format method).

We need to support also external and url methods. (adding proper entries in the applicationContext)
Note that when adding a coverage with the external upload method, geoserver doesn't need to create a directory/and copy the uploaded file within the GEOSERVER_DATA_DIR/data folder.
It only needs to set the info.xml within a proper element on GEOSERVER_DATA_DIR/coverages subfolder.

We also need to relax the mediatype check on the StoreFileResource.handleFileUpload method since rest requestes may come without an explicit content-type.

I'm working on it.

--
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