New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clarify /req/core/job-results-async-raw-value-one #95
Comments
There are a few things that are somewhat ambiguous in version 1.0.
Therefore, the ETS for 1.0 should probably be forgiving due to the lack of clarity / requirements for 1.0. For the upcoming version 1.1 (or 2.0), these things should already have been fixed in the latest draft for 1.1 (or 2.0) -- we should make sure that these things are now clear (at least as recommendations if needed to make 1.1 backward compatible, which the ETS could still warn upon these things missing). In the case of a FAILED job, there should definitely NOT be any requirement to have results linked from the job status, but the monitor link (which was returned upon the 201 execution) should be still be available to retrieve information about the failed job. cc. @pvretano |
First, I'd like to point out that we have the same issue with this test with the ZOO-Project. Nevertheless, you may have noticed that this test is new because it is only available in the beta TeamEngine. If we look into the source code of the function responsible for this test, we may notice that if the status code is not If I can have access for a few hours, I shall be able to debug what happens with your server instance in more detail. On the other hand, I have set up this version of the ETS: http://145.239.195.35:1082/teamengine/ (you can use ogctest/ogctest to authenticate), including the fix from PR #96, for you to test your server instance. As you can see in the PR, the function now returns when a |
Thanks for your input and the pull request. We will review it and come back to you. |
Thanks @gfenoy. I've stood up an adhoc endpoint at http://demo.pygeoapi.io:8888. Testing against your CITE instance at http://145.239.195.35:1082 (using |
Update: given the above, the main pygeoapi demo now includes this change (temporary endpoint remove and now can tested via https://demo.pygeoapi.io/cite). |
#96 was merged. |
Against a local pygeoapi development instance, method
testJobResultsAsyncRawValueOne
fails with the following detail:When the ETS queries a
/jobs
endpoint, some of the pygeoapi jobs do not have any links because the process failed to execute (sostatus=failed
). In this case, the pygeoapi job does not emit any link array.I am guessing pygeoapi is failing ETS at this spot.
The question then becomes: when looping through jobs, should the ETS inspect the job status of each job before determining whether a links array should exist with a link relation of "http://www.opengis.net/def/rel/ogc/1.0/results" ? Note that links is also optional in https://github.com/opengeospatial/ogcapi-processes/blob/master/openapi/schemas/processes-core/statusInfo.yaml
I can post a temporary public server/endpoint for a few hours if that helps.
@ghobona @gfenoy @jerstlouis
The text was updated successfully, but these errors were encountered: