-
Notifications
You must be signed in to change notification settings - Fork 11
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
1.0.0-rc.1 implementation issues #260
Labels
Milestone
Comments
Ideas:
|
m-mohr
added a commit
that referenced
this issue
Feb 12, 2020
…raph_id}` with `PUT /process_graphs/{process_graph_id}`. #260
m-mohr
added a commit
that referenced
this issue
Feb 12, 2020
…raph_id}` with `PUT /process_graphs/{process_graph_id}`. #260
m-mohr
added a commit
that referenced
this issue
Feb 12, 2020
…raph_id}` with `PUT /process_graphs/{process_graph_id}`. #260
m-mohr
added a commit
that referenced
this issue
Feb 12, 2020
m-mohr
added a commit
that referenced
this issue
Feb 12, 2020
… (`/result`) the property `process_graph` got replaced by `process`. It contains a process graph and optionally all process metadata. #260
This was referenced Apr 2, 2020
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As I'm currently implementing 1.0.0-rc.1 for GEE, here's a list of what came up:
General
from_argument
instead offrom_parameter
). Fixed in 1c3e4edoffset
parameter is missing from logs endpoints. See PR Reintroduced the missingoffset
parameter for log endpoints #263Related to process graphs (user-defined processes)
GET /process_graphs
: Fieldid
is not required for the processes. Fixed in 05bc778POST /process_graphs
is not following REST. It should bePUT /process_graphs/{process_graph_id}
as we actually set the id ourself. From docs it's also not 100% clear whether the process graph id (e.g. in the path) is the same as a process id. See PR PUT /process_graphs/{id} #261PATCH /process_graphs/{process_graph_id}
allows to change the id, but the behavior afterwards is unclear. In theory the path must change. I tend to forbid changing the ID. See PR PUT /process_graphs/{id} #261GET /jobs/{job_id}
orGET /services/{service_id}
most (all?) optional fields can be set tonull
, which makes implementation a bit easier. For the process graphs at/process_graphs
none of the fields can be set to null and so they must actually be missing from the response if no data is available. That's more difficult to implement, but aligned with/processes
. Should we introduce nullable for some/all fields in/process_graph
s and/or/processes
? For more information see issue Make optional fields nullable in process-related endpoints? #264.null
inPATCH /process_graphs/{process_graph_id}
you can't easily "reset" fields. For example, you can only remove the description by sending an empty string. For parameters you'd need to send am empty object, but that means "no parameters" where as not having parameters at all means the parameters are simply unknown/unspecified, but there may be some. See PR PUT /process_graphs/{id} #261We may head for a quick 1.0.0-rc.2 as I guess there wasn't much work put into 1.0.0-rc.1 implementations yet.
The text was updated successfully, but these errors were encountered: