As long as we are talking REST; I got to talk to a few GeoServer users over 
coffee and they indicated that the REST api was not "complete" with respect to 
letting them back up and restore a configuration outside of their app. 
Apparently for managing styles they could successfully remove a style, in order 
then replace it with an older version. But for many of the other resource types 
there was no way to remove and replace.  

They assumed that this was obvious and we would be working on it; I very much 
requested a bug report and patch.  

--  
Jody Garnett


On Thursday, 12 July 2012 at 9:53 AM, Justin Deoliveira wrote:

>  
>  
> On Wed, Jul 11, 2012 at 2:03 PM, Andrea Aime <[email protected] 
> (mailto:[email protected])> wrote:
> > On Wed, Jul 11, 2012 at 8:37 PM, Juan Marín Otero 
> > <[email protected] (mailto:[email protected])> wrote:
> > > Andrea / Justin,
> > >  
> > > Thanks for the feedback, I actually went back and forth with this a bit 
> > > but ended up doing it the way the patch reflects and I don't even 
> > > remember my reasoning but yours is sound, this should be an easy change. 
> > > Am I reading correctly in that you consider that POST should not be used 
> > > for any of these additional resources?  
> >  
> > Err.. I guess not. I mean, when a resource location is 100% predictable and 
> > there is even a finite set of them,
> > POST seems overkill. Just my two cents, I'm not a REST guru
> >  
> >  
>  
>  
> To reiterate my take I think post should be used when you have a homogeneous 
> collection of items that has no fixed size. I don't think any of new 
> endpoints meet this criteria.
> >  
> > Cheers
> > Andrea
> >  
> >  
> > --  
> > Ing. Andrea Aime
> > GeoSolutions S.A.S.
> > Tech lead
> >  
> > Via Poggio alle Viti 1187
> > 55054  Massarosa (LU)
> > Italy
> >  
> > phone: +39 0584 962313 (tel:%2B39%200584%20962313)
> > fax:      +39 0584 962313 (tel:%2B39%200584%20962313)
> > mob:    +39 339 8844549 (tel:%2B39%C2%A0339%208844549)
> >  
> > http://www.geo-solutions.it
> > http://geo-solutions.blogspot.com/
> > http://www.youtube.com/user/GeoSolutionsIT
> > http://www.linkedin.com/in/andreaaime
> > http://twitter.com/geowolf
> >  
>  
>  
>  
> --  
> Justin Deoliveira
> OpenGeo - http://opengeo.org
> Enterprise support for open source geospatial.
>  
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and  
> threat landscape has changed and how IT managers can respond. Discussions  
> will include endpoint security, mobile security and the latest in malware  
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>  
> _______________________________________________
> Geoserver-devel mailing list
> [email protected] 
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>  
>  


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to