Skip to content

Commit 1247172

Browse files
authored
Merge pull request #265 from Open-EO/draft
Release 1.0.0 RC2
2 parents ba711d2 + c19827c commit 1247172

File tree

7 files changed

+231
-171
lines changed

7 files changed

+231
-171
lines changed

CHANGELOG.md

+34-4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## Unreleased / Draft
8+
9+
## 1.0.0-rc.2 - 2020-02-20
10+
11+
### Added
12+
- `PUT /process_graphs/{process_graph_id}` to store and replace custom process-graphs. [#260](https://github.com/Open-EO/openeo-api/issues/260)
13+
- `/jobs/{job_id}/logs` and `GET /services/{service_id}/logs`: Reintroduced the missing `offset` parameter.
14+
15+
### Changed
16+
- For batch jobs (`/jobs`), services (`/services`) and sync. processing (`/result`) the property `process_graph` got replaced by `process`. It contains a process graph and optionally all process metadata. [#260](https://github.com/Open-EO/openeo-api/issues/260)
17+
- `GET /process_graphs`: Field `id` is required for each process.
18+
- Several properties in user-defined processes can now be `null` (see also [#264](https://github.com/Open-EO/openeo-api/issues/264)):
19+
- `GET /process_graphs` and `GET /process_graphs/{process_graph_id}`: Process properties `summary`, `description`, `parameters` and `returns`.
20+
- `POST /validation`: Process property `id`.
21+
- Child processes in process graphs (fka callbacks): `id`, `summary`, `description`, `parameters` and `returns`.
22+
23+
### Removed
24+
- `POST /process_graphs` and `PATCH /process_graphs/{process_graph_id}`. Use `PUT /process_graphs/{process_graph_id}` instead. [#260](https://github.com/Open-EO/openeo-api/issues/260)
25+
26+
### Fixed
27+
- Added `$id` to JSON Schema file for subtypes.
28+
- Fixed invalid EPSG code example.
29+
- Fixed collection example (`sat:cloud_cover` changed to `eo:cloud_cover`).
30+
- Fixed invalid JSON Schema for process graph validation (used `from_argument` instead of `from_parameter`).
31+
- Clarified how version numbers in well-known discovery are compared. [#259](https://github.com/Open-EO/openeo-api/issues/259)
32+
- Clarified that back-ends not supporting pagination will return all resources.
33+
- Clarified how `from_parameter` is resolved in case no value is given.
34+
- Clarified `GET .../logs` endpoint behaviour.
35+
- Removed outdated error codes from `errors.json`.
36+
737
## 1.0.0-rc.1 - 2020-01-31
838

939
**Note:** The user and developer documentation has been moved to [openeo.org](https://openeo.org/documentation).
@@ -39,18 +69,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3969
- `from_parameter` can access parameters defined in parent scopes.
4070
- `from_parameter` can be used in the top-level process graph.
4171
- Process graph variables (objects with `variable_id` etc.) have been removed.
42-
- `GET /jobs`, `GET /jobs/{job_id}`, `GET /services` and `GET /services/{service_id}`: Renamed field `submitted` to `created` for consistency with STAC job results.
72+
- `GET /jobs`, `GET /jobs/{job_id}`, `GET /services` and `GET /services/{service_id}`: Renamed field `submitted` to `created` for consistency with STAC job results. Also renamed the corresponding value in the field `status` for batch jobs.
4373
- `GET /`: Property `links` is required.
44-
- `GET /service_types`:
45-
- `parameter` has been renamed to `configuration` to not overlap with `process_parameters`.
46-
- `variables` has been renamed to `process_parameters` and has a different schema now. [#161](https://github.com/Open-EO/openeo-api/issues/161)
74+
- `GET /service_types`: `variables` has been renamed to `process_parameters` and has a different schema now. [#161](https://github.com/Open-EO/openeo-api/issues/161)
75+
- `GET /service_types`, `POST /services`, `GET /services/{service_id}`, `PATCH /services/{service_id}`: `parameter` has been renamed to `configuration` to not overlap with `process_parameters`.
4776
- `GET /processes`:
4877
- Default values are now specified on the parameter-level, not in the JSON schemas.
4978
- Multiple data types in parameters or return values are supported as arrays. Using `anyOf` is discouraged.
5079
- Parameters are defined as array. `parameter_order` is therefore removed and the name is part of the parameter object. [#239](https://github.com/Open-EO/openeo-api/issues/239)
5180
- Process graph (callback) parameters have a new, more advanced schema, allowing to define more aspects of the process graph parameters. [#239](https://github.com/Open-EO/openeo-api/issues/239)
5281
- Return values don't require a description any longer.
5382
- `required` was replaced with `optional` with inverted behavior.
83+
- `POST /process_graphs`,`GET /process_graphs/{process_graph_id}`, `PATCH /process_graphs/{process_graph_id}`, `POST /validation`: Request and response bodies have been completely reworked to follow the same schema as `GET /processes`. Each process graph is now basically a process a user can use in other process graphs.
5484
- `GET /collections` and `GET /collections/{collectionId}`: Updated STAC to version 0.9.0. See the [STAC Changelog](https://github.com/radiantearth/stac-spec/blob/master/CHANGELOG.md) for more details. [#247](https://github.com/Open-EO/openeo-api/issues/247), [#204](https://github.com/Open-EO/openeo-api/issues/204).
5585
- `GET /credentials/oidc`: Changed response to support multiple OpenID Connect identity providers ([#201](https://github.com/Open-EO/openeo-api/issues/201)) and clarified workflow overall.
5686
- Bearer token are built from the authentication method, an optional provider id and the token itself. [#219](https://github.com/Open-EO/openeo-api/issues/219)

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
openEO develops an open API to connect R, Python and JavaScript clients to big Earth observation cloud back-ends in a simple and unified way. This repository contains this API, the openEO (core) API.
44

5-
* **[Documentation / Specification](https://api.openeo.org)**
5+
* **[Latest Version of the Specification](https://api.openeo.org)**
66

7-
## Versions
7+
## Versions / Branches
88

9-
The openEO (core) API is currently released in version **1.0.0-rc.1**.
9+
The [master branch](https://github.com/Open-EO/openeo-api/tree/master) is the 'stable' version of the openEO API specification. It is currently version **1.0.0-rc.2** of the specification. The [draft branch](https://github.com/Open-EO/openeo-api/tree/draft) is where active development takes place.
1010

1111
| Version / Branch | Status | Description |
1212
| --------------------------------------------------------- | ----------- | ----------- |
13-
| [draft](https://api.openeo.org/draft) | planned | Bug fixes based on developer feedback, introduce extension concept. Potentially version 1.0.0-final. |
14-
| [**1.0.0-rc.1**](https://api.openeo.org) | **current** | Release candidate for first stable version of openEO, see the [changelog](CHANGELOG.md#100-rc1---2020-01-31). |
13+
| [draft](https://api.openeo.org/draft) | planned | *Unstable* - Bug fixes based on developer feedback, introduce extension concept. Potentially version 1.0.0-final. |
14+
| [**1.0.0-rc.2**](https://api.openeo.org) | **current** | Release candidate 2 for first stable version of openEO, see the [changelog](CHANGELOG.md#100-rc2---2020-02-20). |
15+
| [1.0.0-rc.1](https://api.openeo.org/1.0.0-rc.1) | legacy | Release candidate 1 for first stable version of openEO, see the [changelog](CHANGELOG.md#100-rc1---2020-01-31). |
1516
| [0.4.2](https://api.openeo.org/v/0.4.2) | legacy | Bugfix release, see the [changelog](CHANGELOG.md#042---2019-06-11). |
1617
| [0.4.1](https://api.openeo.org/v/0.4.1) | legacy | Bugfix release, see the [changelog](CHANGELOG.md#041---2019-05-29). |
1718
| [0.4.0](https://api.openeo.org/v/0.4.0) | legacy | Improved discovery, added processes catalogue, new process graph structure and [more](CHANGELOG.md#040---2019-03-07). |
@@ -26,7 +27,7 @@ See also the [changelog](CHANGELOG.md) and the [milestones](https://github.com/O
2627

2728
This repository contains a set of files formally describing the openEO API, each with a human-readable and easily browseable version:
2829

29-
* [openapi.yaml](openapi.yaml) ([human-readable version](https://api.openeo.org/)) provides the [openAPI](https://www.openapis.org/) 3.0 definition of the openEO API.
30+
* [openapi.yaml](openapi.yaml) provides the [OpenAPI](https://www.openapis.org/) 3.0 definition of the openEO API. See the table above for human-readable versions of the OpenAPI definition.
3031
* [errors.json](errors.json) is a list of potential global error codes and messages, excluding specific exceptions separately available for each process.
3132
* [subtype-schema.json](subtype-schema.json) defines data types (subtypes) for JSON Schema used in openEO.
3233
* The [assets](assets/) folder contains some useful additional files such as examples or schemas. All of these are non-binding additions. The source of truth are the top-level specification files.

assets/pg-schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"type": "object",
5959
"title": "Object",
6060
"properties": {
61-
"from_argument": {
61+
"from_parameter": {
6262
"not": {}
6363
},
6464
"from_node": {
@@ -131,7 +131,7 @@
131131
"process_id": {
132132
"type": "string",
133133
"subtype": "process-id",
134-
"pattern": "^[A-Za-z0-9_]+$"
134+
"pattern": "^\\w+$"
135135
}
136136
}
137137
}

errors.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@
245245
"Processes"
246246
]
247247
},
248-
"ProcessArgumentsMissing": {
248+
"ProcessParameterMissing": {
249249
"description": null,
250-
"message": "Process '{process}' requires at least {min_parameters} parameters.",
250+
"message": "The process parameter '{parameter}' must be specified.",
251251
"http": 400,
252252
"tags": [
253253
"Processes"

0 commit comments

Comments
 (0)