Skip to content

Commit

Permalink
Clarifications in extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Jul 12, 2023
1 parent 2396ac1 commit 814c386
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion extensions/commercial-data/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ Example request payload to `GET /search` for `PLEIADES` products from "Living Li

### Ordering products

Backends should implement the following endpoints:
Backends must implement the following endpoints:

- `GET /orders`: Get a list of all created orders
- `POST /orders`: Create an order
Expand Down
20 changes: 14 additions & 6 deletions extensions/federation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,19 @@ schema:

## Resources supported only by a subset of back-ends

Every discoverable resource that is defined as an object and allows to contain additional properties, can list the backends that support or host the exposed resource/functionality.
This can also be embeded deeply into a hierarchical structure, e.g. for process or file format parameters.
Every discoverable resource that is defined as an object and allows to contain additional properties, can list the backends that support or host the exposed resource/functionality. Examples of where this could apply to (**not** comprehensive):

- `GET /collections/{id}`
- `GET /processes` (per process, per parameter)
- `GET /file_formats` (per file format)
- `GET /udf_runtimes` (per UDF runtime, per version)
- `POST /validation` (the back-ends that can run the process)
- `GET /process_graphs/{id}`
- `GET /jobs/{job_id}` (the back-ends that generated the result)
- `GET /jobs/{job_id}/results` (the back-ends that generated the result)
- `GET /services/{id}`

This can also be embedded deeply into a hierarchical structure, e.g. for process or file format parameters.

```yaml
schema:
Expand Down Expand Up @@ -207,10 +218,7 @@ schema:
"stac_version": "1.0.0",
"id": "example",
"description": "...",
"summaries": {
"federation:backends": ["vito", "eodc"],
...
},
"federation:backends": ["vito", "eodc"],
...
}
```

0 comments on commit 814c386

Please sign in to comment.