pywps icon indicating copy to clipboard operation
pywps copied to clipboard

Implementation of full WPS 2.0.0 standard

Open jachym opened this issue 9 years ago • 7 comments

Implementation of http://opengeospatial.org/standards/wps 2.0.0

jachym avatar Feb 14 '16 07:02 jachym

@jachym is this related to #56 in any way?

tomkralidis avatar Feb 15 '16 23:02 tomkralidis

#56 is kind of pre-step to some of 2.0.0 features, yes, it's related

út 16. 2. 2016 v 0:59 odesílatel Tom Kralidis [email protected] napsal:

@jachym https://github.com/jachym is this related to #56 https://github.com/geopython/pywps/issues/56 in any way?

— Reply to this email directly or view it on GitHub https://github.com/geopython/pywps/issues/74#issuecomment-184446453.

jachym avatar Feb 16 '16 05:02 jachym

The coming ReST specification for WPS 2.0 will have an impact on the implementation.

Look also at WPS2.0-REST: https://52north.github.io/tamis-rest-api/

ldesousa avatar Mar 22 '18 15:03 ldesousa

There is a processing interface which already introduces a cancel method: https://github.com/geopython/pywps/blob/91da95ef846e4d9bce7cfd8016af467d2acfd1cb/pywps/processing/basic.py#L21

We are having several implementations of the processing interface:

  • multiprocessing (default but no cancel )
  • scheduler
  • docker: in the making #61.
  • celery? (#237)

cehbrecht avatar Mar 28 '18 13:03 cehbrecht

@jachym @ldesousa can we use the mulitprocessing terminate or kill method to implement the WPS 2.0.0 cancel feature?

https://docs.python.org/3.7/library/multiprocessing.html#multiprocessing.Process.terminate

cehbrecht avatar Apr 29 '19 08:04 cehbrecht

@jachym @ldesousa can we use the mulitprocessing terminate or kill method to implement the WPS 2.0.0 cancel feature?

https://docs.python.org/3.7/library/multiprocessing.html#multiprocessing.Process.terminate

Yes, that was the idea. The problem regarding WPS 2.0 is with the Pause feature, there is nothing similar in the Multiprocessing library.

Ideally, only the terminate would be used, kill might result in nasty things. But this needs to be tested.

ldesousa avatar May 05 '19 08:05 ldesousa

Is there plans for this to be implemented in a near future? What could be done to help speedup this process?

I was under the impression that WPS 2.0 was already handled by PyWPS because the WPS GetCapabilities response returns

<ows:ServiceTypeVersion>1.0.0</ows:ServiceTypeVersion>
<ows:ServiceTypeVersion>2.0.0</ows:ServiceTypeVersion>

Recently, the WPS 2.0 test suite was released, and running a server with the latest PyWPS implementation immediately fails it (see https://github.com/opengeospatial/ets-wps20/issues/40).

The code should be updated either by removing this incorrect reporting of 2.0 support, or by adding the missing implementations. Beside the "dismiss" operation, is the rest of the process description and execution relatively equivalent to what PyWPS offers? Would it be possible to start with a subset of features of WPS 2.0 until "dismiss" is implemented? Or, is WPS 2.0 completely skipped in favour of new OGC API - Processes?

fmigneault avatar Aug 31 '23 19:08 fmigneault