You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/federation/README.md
+47-47Lines changed: 47 additions & 47 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,53 +106,6 @@ schema:
106
106
}
107
107
```
108
108
109
-
## Temporarily unavailable resources
110
-
111
-
Resources and back-ends can be temporarily unavailable.
112
-
It is especially important to communicate to users missing resources when compiling lists of resources across multiple back-ends.
113
-
Clients will assume that all lists of resources are the a combination of all back-ends listed in `GET /`.
114
-
Federated APIs can expose if any of the back-ends is temporarily not available and thus is not part of the response.
115
-
116
-
Examples of where this could apply to (**not** comprehensive):
117
-
118
-
-`GET /collections`
119
-
-`GET /processes`
120
-
-`GET /file_formats`
121
-
-`GET /process_graphs`
122
-
-`GET /files`
123
-
-`GET /jobs`
124
-
-`GET /jobs/{job_id}`
125
-
-`GET /jobs/{job_id}/results`
126
-
-`GET /jobs/{job_id}/logs`
127
-
-`GET /services`
128
-
129
-
### OpenAPI fragment
130
-
131
-
```yaml
132
-
schema:
133
-
type: object
134
-
properties:
135
-
'federation:missing':
136
-
description: >-
137
-
Lists all back-ends that were temporarily not considered in the response (e.g. because they were not accessible).
138
-
If not given or empty, all back-ends supporting this endpoint were considered for creating the response.
139
-
Back-ends that were listed as offline in the capabilities still need to be listed here.
140
-
type: array
141
-
items:
142
-
type: string
143
-
description: The ID of a back-end.
144
-
```
145
-
146
-
### Example
147
-
148
-
```json
149
-
{
150
-
"federation:missing": ["wwu"],
151
-
"collections": [...],
152
-
"links": [...]
153
-
}
154
-
```
155
-
156
109
## Resources supported only by a subset of back-ends
157
110
158
111
Every discoverable resource that is defined as an object and allows to contain additional properties, can list the subset of back-ends that permanently support or host the exposed resource/functionality.
@@ -242,6 +195,53 @@ This also covers the case where the federation supports splitting a process into
242
195
}
243
196
```
244
197
198
+
## Temporarily or unintentionally unavailable resources
199
+
200
+
Resources and back-ends can be temporarily or unintentionally unavailable.
201
+
It is especially important to communicate to users missing resources when compiling lists of resources across multiple back-ends.
202
+
Clients will assume that all lists of resources are the a combination of all back-ends listed in `GET /`.
203
+
Federated APIs can expose if any of the back-ends is temporarily not available and thus is not part of the response.
204
+
205
+
Examples of where this could apply to (**not** comprehensive):
206
+
207
+
- `GET /collections`
208
+
- `GET /processes`
209
+
- `GET /file_formats`
210
+
- `GET /process_graphs`
211
+
- `GET /files`
212
+
- `GET /jobs`
213
+
- `GET /jobs/{job_id}`
214
+
- `GET /jobs/{job_id}/results`
215
+
- `GET /jobs/{job_id}/logs`
216
+
- `GET /services`
217
+
218
+
### OpenAPI fragment
219
+
220
+
```yaml
221
+
schema:
222
+
type: object
223
+
properties:
224
+
'federation:missing':
225
+
description: >-
226
+
Lists all back-ends that were temporarily not considered in the response (e.g. because they were not accessible).
227
+
If not given or empty, all back-ends supporting this endpoint were considered for creating the response.
228
+
Back-ends that were listed as offline in the capabilities still need to be listed here.
229
+
type: array
230
+
items:
231
+
type: string
232
+
description: The ID of a back-end.
233
+
```
234
+
235
+
### Example
236
+
237
+
```json
238
+
{
239
+
"federation:missing": ["wwu"],
240
+
"collections": [...],
241
+
"links": [...]
242
+
}
243
+
```
244
+
245
245
## Endpoints that can't list federation details
246
246
247
247
The following endpoints define the resources (UDF runtimes / service types) at the top level of their response as key-value pairs.
0 commit comments