-
Notifications
You must be signed in to change notification settings - Fork 45
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
Resolve conflicts with openEO (e.g. status) #420
Comments
I think we must also consider that Regardless of the choice, that would mean that most implementations would have to handle all variations simultaneously (including openEO's ones if supported by the service), since many implementers want to preserve backward compatibility. |
It seems like a rather weak argument given that succeeded/successful is not backward compatible... 🤔 Maybe the more general question to ask is whether we (OGC API - Processes / openEO) aim at getting compatible at some point. If yes, we need to start somewhere. This would be a good start. |
I second @fmigneault 's comment on keeping any future OGC API - Processes iteration to break as little as possible. From my understanding, so far with the current draft 1.1/2.0, most 1.0 clients would still be able to execute processes from 2.0 servers without modifications in many (most?) cases.
As indicated at opengeospatial/ogcapi-geodatacubes#8 (comment) , This should enable integrating openEO and OGC API - Processes workflows into the other, if each implementation also supports submitting a workflow intended for the other which results in a virtual GDC from which it can retrieve data as input on demand. With Processes - Part 2, an Application Package could also be used to deploy an openEO workflow as an OGC API - Processes at a |
Okay. It's probably made obsolete by the OGC EPC anyway?! |
I agree with @fmigneault about the backward compatibility with WPS. But would the list below be acceptable?
We add two status values (1 and 3) to the one currently available in OGC API - Processes - Part 1: Core Standard (not defined in the WPS Standards) and rename This way, on the 6 status codes defined in openeo, we would have 7 in OGC API - Processes - Part 1: Core with three similar to openeo (rather than only one at the beginning). Having openeo changing three values (5, 6 and 7) would solve the issue. The same works for changing these three values in OGC API - Processes - Part 1: Core, but it leads to losing the initial values defined in the WPS Standard. |
@gfenoy this would not be acceptable. Well, at least any part that does agree with what is currently documented in the OAPIP Part1 standard. Part 1 and Part 2 were almost ready for submission to the OAB for review and then RFC. These changes would completely derail this schedule and before we do that we need to discuss in the SWG and perhaps do a code sprint or two to validate/verify the approach. I think that a lot of these requirements are arising from TB20 ... yes? If this is the case then, at the very least, you should game out the approach in TB20, write an engineering report about it and then feed that back to the SWG for consideration. |
My take on the acceptable points:
Both are handled on our end, so that does not matter for us.
IMO, I think that, if a
Indeed. This should be stabilized before reshuffling definitions. There should be an intermediate milestone/version release beforehand, so that users that want only what is in the current main branch can use it without opt-in proposed
Yes, but not limited to GDC requirements IMO. |
Honestly, I've given up on aligning openEO and OAP. With what I hear there's no way we'll ever be compatible. So if someone wants to implement both specs they are required to keep the endpoint trees separate. We can probably execute each others workflows but, I guess, that's it.
No, it's originating from TB19 and the ER is available online. This issue is an outcome of that and here it is for SWG consideration. |
Following #437 (comment) The following is a more appropriate mapping for OAP Part 1: Core:
With OAP Part 4: Job Management, |
See also #437 (comment) I thought we agreed on a common set of status codes, not a mapping. |
It looks like in #292 that the next version will be a breaking release, i.e. 2.0.
This might be a chance to resolve various hard conflicts between OGC API - Processes and openEO that we face in the GDC API work.
With hard conflicts I mean things that can't be resolved easily. For example, if a link relation type is A in openEO and B in OGC API - Processes that's not a hard conflict because you could just provide both link relation types in separate links. If there's a field X in a response which is an enum of 1 and 2 as values but in openEO it is an enum of A and B, it is a hard conflict.
The crosswalk at Open-EO/openeo-api#494 gives some hints at conflicts.
The only obvious conflict is that in
GET /jobs
andGET /jobs/{jobID}
thestatus
field conflicts:Changing the allowed enum values to created, running, finished, error and cancelled would resolve the conflict.
I'm not sure whether this is something the SWG wants to cater for, but I thought I'd bring it up as it seems the SWG is going for a breaking release anyway. It would help align both standards though. For alignment, changes on both sides would be required and I hope there's some willingness to do so from both sides. openEO is also looking into further alignment, especially around relation types and additional fields that openEO doesn't have yet such as
jobControlOptions
.The text was updated successfully, but these errors were encountered: