[Pywps-dev] validators in pywps-4

Luís de Sousa luis.a.de.sousa at gmail.com
Mon Nov 9 02:59:55 PST 2015


Great news Jachym!

Can't issue #21 be closed now?

Cheers,

Luís

On 6 November 2015 at 23:48, Jachym Cepicky <jachym.cepicky at gmail.com> wrote:
> Hi all,
>
> today, I managed to introduce first stable version of "validators" to
> PyWPS-4
>
> Each Input nad Output has format assinged
>
> Each Format is of special type (either mimeType (like GML) or data type
> (like Float))
>
> Each format can have validator assinged - I implemented default validators
> for GML, Shapefile and JSON.
>
> Each Input can set, how strict should the validator be (mode = NONE, Simple,
> Strict, VeryStrict)
>
> Example:
> ComplexInput('poly_in', 'Input1',
>                   supported_formats=[Format('application/gml+xml')],
>                   mode=MODE.STRICT)
>
> Will expect one possible format - GML (validator is assigned automatically)
> and will be validating using STRICT mode - in this case, OGR will be used
> (no XML schema check)
>
> This introduces new level of *security* and consistency to PyWPS-4
>
> It was also one of the biggest tasks on my TODO list, on the way to PyWPS-4
> stable version.
>
> Next topics will follow:
> https://github.com/jachym/pywps-4/milestones/PyWPS%204.0.0%20stable%20version
>
> Check our code: https://github.com/jachym/pywps-4
> Travis unit tests: https://travis-ci.org/jachym/pywps-4
> Travis integration tests: https://travis-ci.org/PyWPS/pywps-4-demo
>
> Jachym
>
>
> _______________________________________________
> pywps-dev mailing list
> pywps-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pywps-dev


More information about the pywps-dev mailing list