[Pywps-dev] Discussion & Re: [GSOC] Fifth week report

Jan Rudolf rudolja1 at fit.cvut.cz
Thu Jun 30 10:14:54 PDT 2016


Hello, 

It's ok. I will look on it, but by a quick view, I think, we could use a
little bit edited https://github.com/jan-rudolf/gsoc-pywps-app.   

Points from my report, I would like to discuss: 
1) REST API 

I received an email a week ago:  
>Hello,
>I have been reading your reports, since this feature may be something
>one of our potential clients could use.
>Just a note: try to stick to REST principles when writing your API.
>/pause/id, /resume/id, /stop/id is very SOAP-oriented and should be avoided.
>Keep up the good work on PyWPS :-)
>Vincent 

He is right that according to REST principles, I should have for these
operations one URL for example /processes/uuid and pause, resume and
stop would differ by a different HTTP request method for this URL. Do
you want me to keep it like it is or change it like in the previous
sentence? 

2) Pause/resume/stop 
We have database table pywps_requests and there are status and message
columns. If a process is for example paused, do you want to fill into
these columns that it is paused? What specific information do you want
to fill in for the paused, the resumed and the stopped process?

PS: I am somehow able to get a light flu during June, so I am a little
less productive this week, I will be alright soon. 

Jan 

On 2016-06-29 21:04, Jachym Cepicky wrote: 

> Jan, 
> 
> (as usually sorry for late response - trying to catch your work)
> 
> are you aware of geopython/pywps-demo project? I think your code
> should maybe be part of it too? We wanted to provide "clean" PyWPS
> source code in the geopython/pywps repository and create the server
> app in geopython/pywps-demo 
> 
> byt the geopython/pywps-demo/demo.py needs a LOT of cleaning, IMHO
> 
> J
> 
> ne 26. 6. 2016 v 23:20 odesílatel Jan Rudolf <rudolja1 at fit.cvut.cz>
> napsal:
> 
>> Hello,
>> 
>> this is the URL for my fifth report
>> http://gsoc-2016.jan-rudolf.cz/article/fifth-week-report.
>> 
>> Have a nice evening, Jan
>> _______________________________________________
>> pywps-dev mailing list
>> pywps-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/pywps-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20160630/21705917/attachment.html>


More information about the pywps-dev mailing list