<div dir="ltr">hi,<div><br></div><div>comments iline </div><br><div class="gmail_quote"><div dir="ltr">čt 30. 6. 2016 v 19:17 odesílatel Jan Rudolf <<a href="mailto:rudolja1@fit.cvut.cz">rudolja1@fit.cvut.cz</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="margin:0;padding:0;font-family:monospace">Hello, <br> <br>It's ok. I will look on it, but by a quick view, I think, we could use a little bit edited <a href="https://github.com/jan-rudolf/gsoc-pywps-app" rel="noreferrer" target="_blank">https://github.com/jan-rudolf/gsoc-pywps-app</a>.  </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace">Points from my report, I would like to discuss:</div>
<div style="margin:0;padding:0;font-family:monospace">1) REST API</div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace">I received an email a week ago: </div>
<div style="margin:0;padding:0;font-family:monospace"><span>>Hello,</span><br><span>>I have been reading your reports, since this feature may be something</span><br><span>>one of our potential clients could use.</span><br><span>>Just a note: try to stick to REST principles when writing your API.</span><br><span>>/pause/id, /resume/id, /stop/id is very SOAP-oriented and should be avoided.</span><br><span>>Keep up the good work on PyWPS :-)</span><br><span>>Vincent</span></div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"><span>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?</span></div></div></blockquote><div><br></div><div>it's always worth to listen what Vincent is saying, mark my words ;-)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"><span>2) Pause/resume/stop <br>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?</span></div></div></blockquote><div><br></div><div>Yes, this attributes should go to database</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"><div style="margin:0;padding:0;font-family:monospace"><span> What specific information do you want to fill in for the paused, the resumed and the stopped process?<br></span></div></div></blockquote><div><br></div><div>for now: status, time of last change - maybe it will fit into current columns (status(?)) .. anybody else has idea?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif"><div style="margin:0;padding:0;font-family:monospace"><span></span></div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace">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.</div></div></blockquote><div><br></div><div>Are you trying to say, you are going to send viruses per e-mail? Don't worry, we all have antivirus protection ;-) Stay well</div><div><br></div><div>J</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="font-size:10pt;font-family:Verdana,Geneva,sans-serif">
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace">Jan</div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"> </div>
<div style="margin:0;padding:0;font-family:monospace"><br> <br>On 2016-06-29 21:04, Jachym Cepicky wrote:
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">Jan, <br> <br> (as usually sorry for late response - trying to catch your work)<br> <br> are you aware of geopython/pywps-demo project? I think your code<br> should maybe be part of it too? We wanted to provide "clean" PyWPS<br> source code in the geopython/pywps repository and create the server<br> app in geopython/pywps-demo <br> <br> byt the geopython/pywps-demo/demo.py needs a LOT of cleaning, IMHO<br> <br> J<br> <br> ne 26. 6. 2016 v 23:20 odesílatel Jan Rudolf <<a href="mailto:rudolja1@fit.cvut.cz" target="_blank">rudolja1@fit.cvut.cz</a>><br> napsal:<br> <br>
<blockquote type="cite" style="padding:0 0.4em;border-left:#1010ff 2px solid;margin:0">Hello,<br> <br> this is the URL for my fifth report<br> <a href="http://gsoc-2016.jan-rudolf.cz/article/fifth-week-report" rel="noreferrer" target="_blank">http://gsoc-2016.jan-rudolf.cz/article/fifth-week-report</a>.<br> <br> Have a nice evening, Jan<br> _______________________________________________<br> pywps-dev mailing list<br> <a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br> <a href="http://lists.osgeo.org/mailman/listinfo/pywps-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/pywps-dev</a></blockquote>
</blockquote>
</div>
</div>
_______________________________________________<br>
pywps-dev mailing list<br>
<a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pywps-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/pywps-dev</a></blockquote></div></div>