Skip to content

Commit 76d11e1

Browse files
committed
Merge remote-tracking branch 'origin/jwt-support' into jwt-support
2 parents 37685e1 + 97d21e5 commit 76d11e1

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- **New extensions:**
1212
- [Remote Process Definition Extension](./extensions/remote-process-definition/README.md)
1313
- [Processing Parameters Extension](./extensions/processing-parameters/README.md)
14+
- `GET /credentials/oidc`: Added `authorization_parameters` property to enforce specific parameters for the authorization endpoint [#534](https://github.com/Open-EO/openeo-api/issues/534)
1415
- `POST /result`: Added response header "OpenEO-Identifier" to expose an identifier associated with a synchronous processing request.
16+
- Added `stacktrace` to log entries (e.g. for `GET /jobs/{job_id}/logs`) [#512](https://github.com/Open-EO/openeo-api/issues/512)
1517
- Added `version` property to `GET /processes` [#517](https://github.com/Open-EO/openeo-api/issues/517)
1618
- Added `queued`, `started` and `unpublished` to the batch job metadata and the corresponding STAC results [#542](https://github.com/Open-EO/openeo-api/issues/542)
19+
- Added a status diagram that explains the status changes of batch jobs [#436](https://github.com/Open-EO/openeo-api/issues/436)
1720
- Added all the batch job timestamps (including the new timestamps above) to the Collection type of batch job results
1821
- Support for standard JSON Web Tokens (JWT) being used as Bearer tokens [#558](https://github.com/Open-EO/openeo-api/issues/558)
1922

@@ -47,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4750
- Clarified the behaviour of `federation:backends` for `POST /validation`
4851
- Clarified the meaning of `expires` in batch job results
4952
- Clarified that `last_successful_check` (from Federation Extension) can be null.
53+
- Clarified the relation between result and end nodes, the usage of the result flag, and the relation between the outermost ("root") and child process graphs [#547](https://github.com/Open-EO/openeo-api/issues/547)
5054
- Fixed various OpenAPI issues reported by redocly lint
5155

5256
## [1.2.0] - 2021-05-25

assets/status-diagram.png

22.7 KB
Loading

openapi.yaml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,14 @@ info:
323323
```
324324
A process node MUST always contain key-value-pairs named `process_id` and `arguments`. It MAY contain a `description`.
325325
326-
One of the nodes in a map of processes (the final one) MUST have the `result` flag set to `true`, all the other nodes can omit it as the default value is `false`. Having such a node is important as multiple end nodes are possible, but in most use cases it is important to exactly specify the return value to be used by other processes. Each child process graph must also specify a result node similar to the "main" process graph.
327-
328326
`process_id` MUST be a valid process ID in the `namespace` given. Clients SHOULD warn the user if a user-defined process is added with the same identifier as one of the predefined process.
329327
328+
In the following, "end node" (also known as "leaf node") defines a node that is not referenced by any other node in the same process graph. The "root process graph" is the outermost process graph, which is not part of any other process graph.
329+
330+
A "result node" is a node (often an end node, but that's not required) that defines the return value of the process graph and has the `result` flag set to `true`. Exactly one of the nodes in a map of processes MUST have the `result` flag set to `true`, all the other nodes can omit it as the default value is `false`. Each child process graph MUST specify its own result node. The root process graph MUST also specify a result node although not strictly needed in all use cases.
331+
332+
Having a result node is important as multiple end nodes are possible and in many use cases it is important to identify a specific return value for the process graph that is passed to other processes. The result node is not necessarily an end node.
333+
330334
### Arguments
331335
332336
A process can have an arbitrary number of arguments. Their name and value are specified
@@ -437,7 +441,7 @@ info:
437441
438442
### Full example for an EVI computation
439443
440-
Deriving minimum EVI (Enhanced Vegetation Index) measurements over pixel time series of Sentinel-2 imagery. The main process graph in blue, child process graphs in yellow:
444+
Deriving minimum EVI (Enhanced Vegetation Index) measurements over pixel time series of Sentinel-2 imagery. The root process graph in blue, child process graphs in yellow:
441445
442446
![Graph with processing instructions](assets/pg-evi-example.png)
443447
@@ -2046,6 +2050,15 @@ paths:
20462050
items:
20472051
type: string
20482052
format: uri
2053+
authorization_parameters:
2054+
type: object
2055+
description: |-
2056+
Additional parameters that an openEO client MUST include when requesting the authorization endpoint.
2057+
This can be used to enforce specific
2058+
[request parameters such as `prompt`](https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest).
2059+
example:
2060+
prompt: consent
2061+
access_type: offline
20492062
links:
20502063
type: array
20512064
description: |-
@@ -2084,6 +2097,8 @@ paths:
20842097
- profile
20852098
- email
20862099
- earthengine
2100+
authorization_parameters:
2101+
access_type: offline
20872102
- id: ms
20882103
issuer: 'https://login.microsoftonline.com/example-tenant/v2.0'
20892104
title: Microsoft
@@ -5578,6 +5593,7 @@ components:
55785593
The current status of a batch job.
55795594
55805595
The following status changes can occur:
5596+
55815597
* `POST /jobs`: The status is initialized as `created`.
55825598
* `POST /jobs/{job_id}/results`: The status is set to `queued`, if
55835599
processing does not start instantly.
@@ -5587,7 +5603,11 @@ components:
55875603
* `DELETE /jobs/{job_id}/results`: The status is set to `canceled` if
55885604
the status was `running` beforehand and partial or preliminary results
55895605
are available to be downloaded. Otherwise the status is set to
5590-
`created`.
5606+
`created`.
5607+
5608+
The following state diagram shows the possible status changes:
5609+
5610+
![State diagram](assets/status-diagram.png)
55915611
example: running
55925612
default: created
55935613
progress:
@@ -6456,6 +6476,10 @@ components:
64566476
example: udf
64576477
usage:
64586478
$ref: '#/components/schemas/usage'
6479+
stacktrace:
6480+
type: string
6481+
description: >-
6482+
A stacktrace or similar, may include whitespaces for formatting.
64596483
links:
64606484
$ref: '#/components/schemas/log_links'
64616485
usage:

0 commit comments

Comments
 (0)