[PyWPS-dev] Docker extension

Adam Laža ad.laza32 at gmail.com
Sat Nov 17 01:13:16 PST 2018


Hi devs,

I've solved the issue I had with XML parsing and now I want to write tests
for Docker extension. I can write new test case in text_execute.py just for
Docker but due to code duplication I would rather enhance and extend
SyncAndAsync test case. Now I'm facing a problem with URL link to
referenced output. I use pywps-demo flask for testing.
In case I run demo.py directly on my host and send the execute request and
force referenced output, the URL link has xlink namespace:
<wps:Reference xlink:href="
http://localhost:5000/outputs/4bcca86e-ea47-11e8-9c0b-7831c1b77716/point_buffer_86tibgni"
mimeType="application/gml+xml"/>
But in case I send the same request into Docker container (build from flask
Dockerfile) the URL link doesn't contain xlink namespace.
<wps:Reference href="
http://localhost:5000/outputs/c16e7550-ea47-11e8-9c2c-0242ac110002/point_buffer"
mimeType="application/gml+xml" encoding="" schema=""/>

Even though the output is referenced in XML response document, tests are
failing because of the xlink namespace. Could anyone provide me an insight
why the XML element differ?

Thanks in advance,
Adam

čt 18. 10. 2018 v 6:35 odesílatel Luí­s Moreira de Sousa <
luis.de.sousa at protonmail.ch> napsal:

> Thank you Adam and Carsten for the update.
>
> I am happy to see all the activity around the project at the moment. Happy
> coding.
>
> Cheers.
>
> --
> Luís Moreira de Sousa
> Email: luis.de.sousa at protonmail.ch
> RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c
> URL: https://ldesousa.github.io
>
> Sent with ProtonMail <https://protonmail.com> Secure Email.
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday, October 17, 2018 2:51 PM, Carsten Ehbrecht <ehbrecht at dkrz.de>
> wrote:
>
> Hi Luis,
>
> It is on my todo list to make a review of this PR … I won’t make it this
> week, maybe next.
>
> Cheers,
> Carsten
>
> On 16. Oct 2018, at 18:43, Luí­s Moreira de Sousa <
> luis.de.sousa at protonmail.ch> wrote:
>
> Dear all,
>
> can you please update me on the status of the pull request with Adam
> Laza's work on the containerisation of process with Docker [0] ? This pull
> request has been waiting to be merged for a number of months and is no
> longer passing the tests (I imagine its base has diverged).
>
> Is it waiting for version 4.2 to be released?
>
> Cheers.
>
> [0] https://github.com/geopython/pywps/pull/342
> --
> Luís Moreira de Sousa
> Bowlespark 8
> 6701 DN Wageningen
> The Netherlands
> Phone: +31 628 544 755
> Email: luis.de.sousa at protonmail.ch
> RingID: ring:7ca91d83f4f9dec82fec9f1144b8e5c1ef2a110c
> URL: https://ldesousa.github.io
>
> Sent with ProtonMail <https://protonmail.com/> Secure Email.
>
> _______________________________________________
> pywps-dev mailing list
> pywps-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pywps-dev
>
>
> _______________________________________________
> pywps-dev mailing list
> pywps-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pywps-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20181117/0a3c8d7f/attachment.html>


More information about the pywps-dev mailing list