[Geoserver-devel] Commited various improvements for RESTConfig

Dear developers,
I have commited a few improvements to RESTConfig as part of some work
I am doing for the IE.
Specifically:

- committed an Improved version of the IOUtils class from apache
commons for high-performance file upload
- factored out a few utility methods in its helper class

There are a few aspects that I would like to discuss a bit futher
which are short term goals:

- further improved management for uploaded file (temp directories
inside data, temp names for files, managing gzipped archives)
- managing correctly parallel changes to the geoserver catalog via REST

More long term ( I will open up a separate thread for these)

- transactional catalog (not related to rest only)
- consider using Atom Publishing Protocol to structure the RESTConfig

Feedback welcome.

Simone.
--
-------------------------------------------------------
Eng. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://www.geo-solutions.it/simone.giannecchini
http://www.linkedin.com/in/simonegiannecchini

-------------------------------------------------------

Simone Giannecchini ha scritto:

Dear developers,
I have commited a few improvements to RESTConfig as part of some work
I am doing for the IE.
Specifically:

- committed an Improved version of the IOUtils class from apache
commons for high-performance file upload

You mean, a copy of Apache code? Did you retain the copyright
headers? Did you need any change? If not, I usually prefer to
have a straight dependency on the jars instead of mixing licenses
in our code.

- factored out a few utility methods in its helper class

There are a few aspects that I would like to discuss a bit futher
which are short term goals:

- further improved management for uploaded file (temp directories
inside data, temp names for files, managing gzipped archives)
- managing correctly parallel changes to the geoserver catalog via REST

More long term ( I will open up a separate thread for these)

- transactional catalog (not related to rest only)
- consider using Atom Publishing Protocol to structure the RESTConfig

Hum, if you can open another thread for this one with some specific
points we can discuss, hard to speak about generic statements by mail, the above could open a 10 pages response if discussed properly :wink:

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

On Tue, Nov 11, 2008 at 10:19 AM, Andrea Aime <aaime@anonymised.com> wrote:

Simone Giannecchini ha scritto:

Dear developers,
I have commited a few improvements to RESTConfig as part of some work
I am doing for the IE.
Specifically:

- committed an Improved version of the IOUtils class from apache
commons for high-performance file upload

You mean, a copy of Apache code? Did you retain the copyright
headers? Did you need any change? If not, I usually prefer to
have a straight dependency on the jars instead of mixing licenses
in our code.

It's a subclass with more methods.

- factored out a few utility methods in its helper class

There are a few aspects that I would like to discuss a bit futher
which are short term goals:

- further improved management for uploaded file (temp directories
inside data, temp names for files, managing gzipped archives)
- managing correctly parallel changes to the geoserver catalog via REST

More long term ( I will open up a separate thread for these)

- transactional catalog (not related to rest only)
- consider using Atom Publishing Protocol to structure the RESTConfig

Hum, if you can open another thread for this one with some specific
points we can discuss, hard to speak about generic statements by mail,
the above could open a 10 pages response if discussed properly :wink:

Yeah, will do.

Simone.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
-------------------------------------------------------
Eng. Simone Giannecchini
GeoSolutions S.A.S.
Owner - Software Engineer
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584983027
fax: +39 0584983027
mob: +39 333 8128928

http://www.geo-solutions.it
http://www.geo-solutions.it/simone.giannecchini
http://www.linkedin.com/in/simonegiannecchini

-------------------------------------------------------