openeo-aggregator 0.47.0a1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. openeo_aggregator-0.47.0a1/CHANGELOG.md +424 -0
  2. openeo_aggregator-0.47.0a1/LICENSE.txt +201 -0
  3. openeo_aggregator-0.47.0a1/PKG-INFO +34 -0
  4. openeo_aggregator-0.47.0a1/README.md +5 -0
  5. openeo_aggregator-0.47.0a1/pyproject.toml +10 -0
  6. openeo_aggregator-0.47.0a1/setup.cfg +4 -0
  7. openeo_aggregator-0.47.0a1/setup.py +57 -0
  8. openeo_aggregator-0.47.0a1/src/openeo_aggregator/__init__.py +1 -0
  9. openeo_aggregator-0.47.0a1/src/openeo_aggregator/about.py +10 -0
  10. openeo_aggregator-0.47.0a1/src/openeo_aggregator/app.py +99 -0
  11. openeo_aggregator-0.47.0a1/src/openeo_aggregator/backend.py +1860 -0
  12. openeo_aggregator-0.47.0a1/src/openeo_aggregator/background/__init__.py +3 -0
  13. openeo_aggregator-0.47.0a1/src/openeo_aggregator/background/prime_caches.py +134 -0
  14. openeo_aggregator-0.47.0a1/src/openeo_aggregator/caching.py +532 -0
  15. openeo_aggregator-0.47.0a1/src/openeo_aggregator/config/__init__.py +12 -0
  16. openeo_aggregator-0.47.0a1/src/openeo_aggregator/config/config.py +114 -0
  17. openeo_aggregator-0.47.0a1/src/openeo_aggregator/config/examples/aggregator.dummy.py +23 -0
  18. openeo_aggregator-0.47.0a1/src/openeo_aggregator/config/examples/gunicorn-config.py +9 -0
  19. openeo_aggregator-0.47.0a1/src/openeo_aggregator/connection.py +500 -0
  20. openeo_aggregator-0.47.0a1/src/openeo_aggregator/constants.py +14 -0
  21. openeo_aggregator-0.47.0a1/src/openeo_aggregator/egi.py +103 -0
  22. openeo_aggregator-0.47.0a1/src/openeo_aggregator/errors.py +8 -0
  23. openeo_aggregator-0.47.0a1/src/openeo_aggregator/federation_extension.py +24 -0
  24. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/__init__.py +3 -0
  25. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/merging.py +562 -0
  26. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/__init__.py +0 -0
  27. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/cube_dimension.py +286 -0
  28. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/cube_dimensions.py +72 -0
  29. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/extent.py +92 -0
  30. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/spatial_extent.py +98 -0
  31. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/stac_eo.py +120 -0
  32. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/stac_summaries.py +172 -0
  33. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/statistics.py +100 -0
  34. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/models/temporal_extent.py +117 -0
  35. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/reporter.py +79 -0
  36. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/utils.py +25 -0
  37. openeo_aggregator-0.47.0a1/src/openeo_aggregator/metadata/validator.py +140 -0
  38. openeo_aggregator-0.47.0a1/src/openeo_aggregator/partitionedjobs/__init__.py +50 -0
  39. openeo_aggregator-0.47.0a1/src/openeo_aggregator/partitionedjobs/crossbackend.py +912 -0
  40. openeo_aggregator-0.47.0a1/src/openeo_aggregator/partitionedjobs/splitting.py +285 -0
  41. openeo_aggregator-0.47.0a1/src/openeo_aggregator/partitionedjobs/tracking.py +598 -0
  42. openeo_aggregator-0.47.0a1/src/openeo_aggregator/partitionedjobs/zookeeper.py +294 -0
  43. openeo_aggregator-0.47.0a1/src/openeo_aggregator/testing.py +341 -0
  44. openeo_aggregator-0.47.0a1/src/openeo_aggregator/utils.py +330 -0
  45. openeo_aggregator-0.47.0a1/src/openeo_aggregator.egg-info/PKG-INFO +34 -0
  46. openeo_aggregator-0.47.0a1/src/openeo_aggregator.egg-info/SOURCES.txt +57 -0
  47. openeo_aggregator-0.47.0a1/src/openeo_aggregator.egg-info/dependency_links.txt +1 -0
  48. openeo_aggregator-0.47.0a1/src/openeo_aggregator.egg-info/entry_points.txt +2 -0
  49. openeo_aggregator-0.47.0a1/src/openeo_aggregator.egg-info/requires.txt +13 -0
  50. openeo_aggregator-0.47.0a1/src/openeo_aggregator.egg-info/top_level.txt +1 -0
  51. openeo_aggregator-0.47.0a1/tests/test_app.py +26 -0
  52. openeo_aggregator-0.47.0a1/tests/test_backend.py +2371 -0
  53. openeo_aggregator-0.47.0a1/tests/test_caching.py +753 -0
  54. openeo_aggregator-0.47.0a1/tests/test_config.py +23 -0
  55. openeo_aggregator-0.47.0a1/tests/test_connection.py +685 -0
  56. openeo_aggregator-0.47.0a1/tests/test_egi.py +111 -0
  57. openeo_aggregator-0.47.0a1/tests/test_testing.py +94 -0
  58. openeo_aggregator-0.47.0a1/tests/test_utils.py +365 -0
  59. openeo_aggregator-0.47.0a1/tests/test_views.py +3518 -0
@@ -0,0 +1,424 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is roughly based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
+
7
+ <!-- start-of-changelog -->
8
+
9
+ ## Work in progress: 0.47.0
10
+
11
+ - Fixup "federation:missing" (Federation Extension) on UDP listing `GET /process_graphs` ([#185](https://github.com/Open-EO/openeo-aggregator/issues/185))
12
+ - Add "federation:backends" (Federation Extension) on UDP listing `GET /process_graphs` ([#186](https://github.com/Open-EO/openeo-aggregator/issues/186))
13
+ - Add "federation:backends" (Federation Extension) on file format listing `GET /file_formats` ([#186](https://github.com/Open-EO/openeo-aggregator/issues/186))
14
+ - Fix broken user job listing when using an OIDC provider that is not supported by each backend ([#188](https://github.com/Open-EO/openeo-aggregator/issues/188))
15
+ - Check back-end capabilities for batch job support before trying to list user jobs ([#189](https://github.com/Open-EO/openeo-aggregator/issues/189))
16
+ - Rename experimental job option "_agg_force_backend" to bit more official "federation:force-backend" ([#190](https://github.com/Open-EO/openeo-aggregator/issues/190))
17
+ - Add "federation:backends" (Federation Extension) on secondary service type listing `GET /service_types` ([#186](https://github.com/Open-EO/openeo-aggregator/issues/186))
18
+ - Add "federation:backends" (Federation Extension) on `GET /udf_runtimes` ([#186](https://github.com/Open-EO/openeo-aggregator/issues/186))
19
+
20
+
21
+ ## 0.46.0
22
+
23
+ - Add `AggregatorBackendConfig.processes_target_version` to define processes target version ([#149](https://github.com/Open-EO/openeo-aggregator/issues/149))
24
+ - Fixup compatibility with `openeo_driver` 0.132.0 ([Open-EO/openeo-python-driver#382](https://github.com/Open-EO/openeo-python-driver/issues/382))
25
+ - Fixup compatibility with `BatchJobs.get_user_jobs()` API ([#182](https://github.com/Open-EO/openeo-aggregator/issues/182), [Open-EO/openeo-python-driver#332](https://github.com/Open-EO/openeo-python-driver/issues/332))
26
+ - Fixup compatibility with new "bands" metadata in batch job results assets ([#183](https://github.com/Open-EO/openeo-aggregator/issues/183), [Open-EO/openeo-python-driver#298](https://github.com/Open-EO/openeo-python-driver/issues/298))
27
+
28
+
29
+ ## 0.45.0
30
+
31
+ - Provide "federation:missing" (Federation Extension) on `GET /collections` ([#122](https://github.com/Open-EO/openeo-aggregator/issues/122))
32
+ - Provide "federation:missing" (Federation Extension) on `GET /processes` ([#123](https://github.com/Open-EO/openeo-aggregator/issues/123))
33
+
34
+
35
+ ## 0.44.0
36
+
37
+ - Bump minimum required Python version to 3.11 ([#127](https://github.com/Open-EO/openeo-aggregator/issues/127), [#174](https://github.com/Open-EO/openeo-aggregator/issues/174))
38
+ - Add title, description, online/offline status and last_status_check to federation listing in capabilities document ([#22](https://github.com/Open-EO/openeo-aggregator/issues/22))
39
+ - Provide "federation:missing" (Federation Extension) on `GET /file_formats` ([#124](https://github.com/Open-EO/openeo-aggregator/issues/124))
40
+ - Provide "federation:missing" (Federation Extension) on `GET /process_graphs` ([#125](https://github.com/Open-EO/openeo-aggregator/issues/125))
41
+
42
+
43
+ ## 0.43.0
44
+
45
+ - Jenkins test pipeline: bump to Python 3.11 to align with version used in Docker image ([#174](https://github.com/Open-EO/openeo-aggregator/issues/174))
46
+
47
+ ## 0.42.0
48
+
49
+ - Add "openEO Federation Extension" to conformance classes ([#169](https://github.com/Open-EO/openeo-aggregator/issues/169))
50
+ - Update to openeo python client version 0.38.0 ([#170](https://github.com/Open-EO/openeo-aggregator/issues/170))
51
+ - Fix compatibility with openeo-driver 0.126 ([#173](https://github.com/Open-EO/openeo-aggregator/issues/173))
52
+
53
+
54
+ ## 0.41.0
55
+
56
+ - Remove concrete openEO Platform configs from generic repo ([#117](https://github.com/Open-EO/openeo-aggregator/issues/117))
57
+
58
+ ## 0.40.0
59
+
60
+ - Update to harmonized `job_option`/`additional` handling in `Connection.create_job` ([#165](https://github.com/Open-EO/openeo-aggregator/issues/165), [Open-EO/openeo-python-client#683](https://github.com/Open-EO/openeo-python-client/issues/683))
61
+ - Update to new "version" property on `GET /processes` ([#165](https://github.com/Open-EO/openeo-aggregator/issues/165), [Open-EO/openeo-python-driver#352](https://github.com/Open-EO/openeo-python-driver/issues/352))
62
+
63
+
64
+ ## 0.39.0
65
+
66
+ - More advanced process-graph splitting for cross-backend execution: not limited to splitting off `load_collection` nodes, but cut deeper into the graph. ([#150](https://github.com/Open-EO/openeo-aggregator/issues/150))
67
+
68
+ ## 0.38.0
69
+
70
+ - Add request timeout configs for listing user jobs (eu-cdse/openeo-cdse-infra#188)
71
+
72
+ ## 0.37.1
73
+
74
+ - Better error message when requested collections are spread across separate backends ([#153](https://github.com/Open-EO/openeo-aggregator/issues/153))
75
+
76
+ ## 0.37.0
77
+
78
+ - move example configs inside package source tree ([#117](https://github.com/Open-EO/openeo-aggregator/issues/117))
79
+
80
+ ## 0.36.0
81
+
82
+ - openeo.cloud configs: only consider "vito" for SENTINEL2_L2A collection ([#139](https://github.com/Open-EO/openeo-aggregator/issues/139))
83
+
84
+ ## 0.35.1
85
+
86
+ - Add `aggregator.dummy.py` to wheel ([#117](https://github.com/Open-EO/openeo-aggregator/issues/117))
87
+
88
+ ## 0.35.0
89
+
90
+ - Start with `openeo-aggregator` docs, hosted with GitHub Pages at https://open-eo.github.io/openeo-aggregator/ ([#142](https://github.com/Open-EO/openeo-aggregator/issues/142))
91
+
92
+ ## 0.34.0
93
+
94
+ - Also support `job_options_update` to inject job options in synchronous processing requests ([#135](https://github.com/Open-EO/openeo-aggregator/issues/135), eu-cdse/openeo-cdse-infra#114)
95
+
96
+ ## 0.33.0
97
+
98
+ - Pass through original API errors on synchronous or batch processing ([#121](https://github.com/Open-EO/openeo-aggregator/issues/121))
99
+
100
+ ## 0.32.0
101
+
102
+ - Add config option `process_allowed` to include/exclude processes ([#137](https://github.com/Open-EO/openeo-aggregator/issues/137))
103
+
104
+ ## [0.31.0]
105
+
106
+ - Remove deprecated `collection_whitelist` config ([#139](https://github.com/Open-EO/openeo-aggregator/issues/139))
107
+
108
+ ## [0.30.0]
109
+
110
+ - Add backend-aware collection allow-list option ([#139](https://github.com/Open-EO/openeo-aggregator/issues/139))
111
+
112
+ ## [0.29.0]
113
+
114
+ - Add config option `job_options_update` to inject job options before sending a job to upstream back-end ([#135](https://github.com/Open-EO/openeo-aggregator/issues/135))
115
+
116
+ ## [0.28.0]
117
+
118
+ - Remove (now unused) `AggregatorConfig` class definition ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
119
+
120
+ ## [0.27.0]
121
+
122
+ - Remove deprecated `AggregatorConfig` fields: `aggregator_backends`, `partitioned_job_tracking`,
123
+ `zookeeper_prefix`, `memoizer` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
124
+ - Remove `AggregatorConfig` usage (both in `src` and `tests`). Remove support for `OPENEO_AGGREGATOR_CONFIG` based configuration ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
125
+
126
+ ## [0.26.0]
127
+
128
+ - Remove now unused `conf/backend_config.py` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112), [#117](https://github.com/Open-EO/openeo-aggregator/issues/117))
129
+
130
+ ## [0.25.0]
131
+
132
+ - Add `AggregatorBackendConfig.memoizer` and deprecate `AggregatorConfig.memoizer` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
133
+
134
+ ## [0.24.0]
135
+
136
+ - Add `AggregatorBackendConfig.partitioned_job_tracking` and deprecate `AggregatorConfig.partitioned_job_tracking` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
137
+
138
+ ## [0.23.0]
139
+
140
+ - Add `AggregatorBackendConfig.aggregator_backends` and deprecate `AggregatorConfig.aggregator_backends` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
141
+
142
+ ## [0.22.0]
143
+
144
+ - Eliminate unused `AggregatorConfig.configured_oidc_providers` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
145
+
146
+ ## [0.21.0]
147
+
148
+ - Add `AggregatorBackendConfig` to `conf/aggregator.*.py` files ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
149
+
150
+ ## [0.20.0]
151
+
152
+ - move `connections_cache_ttl` config to AggregatorBackendConfig ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
153
+ - replace `kazoo_client_factory` config with `zk_memoizer_tracking` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
154
+ - Add `AggregatorBackendConfig.zookeeper_prefix` and deprecate `AggregatorConfig.zookeeper_prefix` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
155
+
156
+ ## [0.19.0]
157
+
158
+ - Support regexes in `collection_whitelist` config (eu-cdse/openeo-cdse-infra#54)
159
+
160
+ ## [0.18.4]
161
+
162
+ - Move `collection_whitelist` config to `AggregatorBackendConfig` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
163
+
164
+ ## [0.18.3]
165
+
166
+ - Move `auth_entitlement_check` config to `AggregatorBackendConfig` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
167
+
168
+ ## [0.18.2]
169
+
170
+ - Add support for standard `OpenEoBackendConfig.oidc_providers` and deprecate `AggregatorConfig.configured_oidc_providers` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
171
+
172
+ ## [0.18.1]
173
+
174
+ - Include gunicorn configs in wheel (related to [#117](https://github.com/Open-EO/openeo-aggregator/issues/117))
175
+
176
+ ## [0.18.0]
177
+
178
+ - Start porting `AggregatorConfig` fields to `AggregatorBackendConfig` ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
179
+
180
+
181
+ ## [0.17.0]
182
+
183
+ - Support `aggregator_config` as `AggregatorConfig` variable name to simplify config system migration
184
+ (define `AggregatorConfig` and `AggregatorBackendConfig` in same config file)
185
+ ([#112](https://github.com/Open-EO/openeo-aggregator/issues/112))
186
+
187
+
188
+ ## [0.16.x]
189
+
190
+ - Disable `auth_entitlement_check` (check on EGI VO entitlements) in all configs ([#133](https://github.com/Open-EO/openeo-aggregator/issues/133))
191
+
192
+ ## [0.15.x]
193
+
194
+ - Basic support for `POST /validation`: pass through validation of best upstream backend for given process graph ([#42](https://github.com/Open-EO/openeo-aggregator/issues/42))
195
+
196
+
197
+ ## [0.14.x]
198
+
199
+ - Disassociate billing plans from user roles and don't list any for now ([openEOPlatform/architecture-docs#381](https://github.com/openEOPlatform/architecture-docs/issues/381))
200
+
201
+
202
+ ## [0.13.x]
203
+
204
+ - Fix compatibility with `openeo_driver>=0.75.0` (new `enable_basic_auth` config, which is going to be disabled by default)
205
+
206
+
207
+ ## [0.12.x]
208
+
209
+ - Add (optional) config for collection id whitelisting.
210
+ Keep union of all "upstream" collections as default.
211
+ ([#129](https://github.com/Open-EO/openeo-aggregator/issues/129))
212
+ - Disable `auto_validation` feature of latest `openeo` python client library release ([#130](https://github.com/Open-EO/openeo-aggregator/issues/130))
213
+ - Fix compatibility with `openeo>=0.25.0` (introduction of `OpenEoApiPlainError`)
214
+
215
+
216
+ ## [0.11.x]
217
+
218
+ - Dockerfile: switch to `python:3.9-slim-bullseye` base image
219
+ - Parallelize `/jobs` requests to upstream back-ends ([#28](https://github.com/Open-EO/openeo-aggregator/issues/28))
220
+ - Increase timeout on getting batch job logs to 120s ([#128](https://github.com/Open-EO/openeo-aggregator/issues/128))
221
+
222
+
223
+ ## [0.10.x]
224
+
225
+ ### Added
226
+
227
+ - Added simple UDP support by directly proxying to "first" upstream backend (e.g. VITO)
228
+ ([#90](https://github.com/Open-EO/openeo-aggregator/issues/90))
229
+ - Background task to prime caches ([#74](https://github.com/Open-EO/openeo-aggregator/issues/74))
230
+
231
+ ### Removed
232
+
233
+ - Removed `ENV` based config loading for clarity, `OPENEO_AGGREGATOR_CONFIG` must be full explicit path to config ([#117](https://github.com/Open-EO/openeo-aggregator/issues/117))
234
+
235
+
236
+ ## [0.9.x]
237
+
238
+ ### Added
239
+
240
+ - Initial aggregator-level implementation of cross-backend processing
241
+ ([#115](https://github.com/Open-EO/openeo-aggregator/issues/115))
242
+
243
+
244
+ ## [0.8.x]
245
+
246
+ ### Added
247
+
248
+ - Initial, experimental (client-side) proof of concept for cross-backend processing
249
+ ([#95](https://github.com/Open-EO/openeo-aggregator/issues/95))
250
+ - Consider process availability in backend selection
251
+ ([#100](https://github.com/Open-EO/openeo-aggregator/issues/100))
252
+ - Relax openEO API version constraints for upstream back-ends
253
+ ([#103](https://github.com/Open-EO/openeo-aggregator/issues/103))
254
+
255
+
256
+ ### Changed
257
+ - Support log level for retrieving BatchJob logs
258
+ ([#106](https://github.com/Open-EO/openeo-aggregator/issues/106))
259
+
260
+ ### Fixed
261
+
262
+ - User job listing: skip upstream jobs that trigger parse issues instead of failing the whole listing
263
+ ([#109](https://github.com/Open-EO/openeo-aggregator/issues/109))
264
+ - User job listing: support dates with fractional dates
265
+ ([#109](https://github.com/Open-EO/openeo-aggregator/issues/109))
266
+
267
+
268
+ ## [0.7.x]
269
+
270
+ ### Added
271
+
272
+ - Add support for more user roles ([#64](https://github.com/Open-EO/openeo-aggregator/issues/64))
273
+ - Experimental: allow back-end selection through job option
274
+ - Add support for `load_result` with a URL (instead of job_id).
275
+ ([#95](https://github.com/Open-EO/openeo-aggregator/issues/95))
276
+ - Batch job result metadata: preserve upstream's canonical link
277
+ ([#98](https://github.com/Open-EO/openeo-aggregator/issues/98))
278
+
279
+ ### Changed
280
+
281
+ - Change billing currency from EUR to credits ([#96](https://github.com/Open-EO/openeo-aggregator/issues/96))
282
+
283
+ ### Fixed
284
+
285
+ - Merging of collection metadata produced duplicate entries in `links`: [openEOPlatform/architecture-docs#266](https://github.com/openEOPlatform/architecture-docs/issues/266)
286
+
287
+ ## [0.6.x]
288
+
289
+ ### Added
290
+
291
+ - Add SentinelHub openEO backend to production config
292
+ - Implement support for federation of secondary services
293
+ ([#78](https://github.com/Open-EO/openeo-aggregator/issues/78)).
294
+ Including:
295
+ caching
296
+ ([#84](https://github.com/Open-EO/openeo-aggregator/issues/84))
297
+ and skipping of that do not support secondary services
298
+ ([#85](https://github.com/Open-EO/openeo-aggregator/issues/85))
299
+ - Start using pre-commit and black/darker for code style consistency
300
+
301
+ ### Changed
302
+
303
+ - Refactored/improved metadata merging/validation of collections and processes
304
+ ([#76](https://github.com/Open-EO/openeo-aggregator/issues/76),
305
+ [#77](https://github.com/Open-EO/openeo-aggregator/issues/77))
306
+
307
+
308
+ ## [0.5.x]
309
+
310
+ ### Changed
311
+
312
+ - Change to openEO API 1.1.0 version of terrascope/vito backend
313
+ - Make sure user id (prefix) is logged in JSON logs
314
+ - Updated (generous fallback) "FreeTier" user role to 30DayTrial (more strict)
315
+ - Use EODC dev instance in aggregator dev config
316
+ - Update EGI issuer URL to new Keycloak one (keep old provider under "egi-legacy")
317
+ - Improve collection metadata merging ([#5](https://github.com/Open-EO/openeo-aggregator/issues/5))
318
+ - Replace local memory cache with centralized ZooKeeper based cache for metadata documents ([#2](https://github.com/Open-EO/openeo-aggregator/issues/2))
319
+ - Fix issue https://discuss.eodc.eu/t/invalid-band-name-index-vv/472
320
+
321
+ ### Fixed
322
+
323
+ - Properly rewrite model id in `load_ml_model` ([#70](https://github.com/Open-EO/openeo-aggregator/issues/70))
324
+
325
+ ## [0.4.x]
326
+
327
+ ### Added
328
+
329
+ - Initial implementation of "partitioned" job management, e.g. for large area processing (EP-3475, [openEOPlatform/architecture-docs#12](https://github.com/openEOPlatform/architecture-docs/issues/12))
330
+
331
+ ### Changed
332
+
333
+ - Update to the latest version of openeo-driver API
334
+
335
+ ### Fixed
336
+
337
+ - Fixed stripping back-end id prefix in `load_result` calls in batch jobs ([#19](https://github.com/Open-EO/openeo-aggregator/issues/19))
338
+ - Fixed missing "cube:dimension" property on merged collections ([openEOPlatform/SRR1_notebooks#9](https://github.com/openEOPlatform/SRR1_notebooks/issues/9))
339
+ - Use default connection timeout on openEO version discovery request too
340
+
341
+
342
+ ## [0.3.x]
343
+
344
+ ### Added
345
+
346
+ - Expose openEO Platform billing plans ([#6](https://github.com/Open-EO/openeo-aggregator/issues/6))
347
+ - Set `default_plan` on `/me` for early adopters ([#6](https://github.com/Open-EO/openeo-aggregator/issues/6))
348
+ - Allow access to "free tier" users (users enrolled in openEO Platform virtual org, but without the "early adopter" role) ([openEOPlatform/architecture-docs#169](https://github.com/openEOPlatform/architecture-docs/issues/169) / EP-4092)
349
+ - Add (experimental) "federation:missing" on partial user job listings ([#27](https://github.com/Open-EO/openeo-aggregator/issues/27))
350
+ - Add CREODIAS back-end on dev instance
351
+ - Automatically do warning logs on "slow" backend responses
352
+ - Add request correlation id to (JSON) logging
353
+
354
+ ### Changed
355
+
356
+ - Refresh back-end connection objects regularly instead of holding on the same ones.
357
+ Improves resilience of aggregator when a back-end is down. ([#18](https://github.com/Open-EO/openeo-aggregator/issues/18) / EP-4049)
358
+ - Fine-tune EGI Early Adopter related "entitlement" error messages ([openEOPlatform/architecture-docs#105](https://github.com/openEOPlatform/architecture-docs/issues/105))
359
+ - Do logging in JSON format, targeting ElasticSearch based monitoring (EP-4057)
360
+ - More aggressive and harmonized exception handling/logging ([#18](https://github.com/Open-EO/openeo-aggregator/issues/18) / EP-4049)
361
+ - Enable `DEBUG` logging for `openeo_aggregator` logs (EP-4057)
362
+
363
+ ### Fixed
364
+
365
+ - Preserve "job_options" field in batch job submit
366
+ - Preserve "usage" batch job metadata ([#31](https://github.com/Open-EO/openeo-aggregator/issues/31))
367
+
368
+
369
+
370
+ ## [0.2.x]
371
+
372
+ ### Added
373
+
374
+ - Added support for `/collections/{cid}/items` (EP-4022, [openEOPlatform/architecture-docs#104](https://github.com/openEOPlatform/architecture-docs/issues/104))
375
+ - Implement `/health` endpoint for monitoring (EP-3906)
376
+ - Initial implementation to list federation backends in capabilities doc ([#22](https://github.com/Open-EO/openeo-aggregator/issues/22))
377
+
378
+ ### Changed
379
+
380
+ - Access to authenticated endpoints requires the "early adopter" role now (through EGI Check-in `eduPersonEntitlement`) (EP-3969)
381
+ - Work with aggregator-specific OIDC provider settings (e.g. dedicated default clients) (EP-4046, [#7](https://github.com/Open-EO/openeo-aggregator/issues/7))
382
+ - Disable `egi-dev` OIDC provider (EP-4046, [#7](https://github.com/Open-EO/openeo-aggregator/issues/7))
383
+ - Improve "early adopter check" error messages ([openEOPlatform/architecture-docs#105](https://github.com/openEOPlatform/architecture-docs/issues/105))
384
+ - Only allow OIDC authentication in production (no basic auth)
385
+ - User email address as user name in `/me`
386
+ - Config loading: replace JSON based configs with Python based config files
387
+ - Move aggregator configs to dedicated dev/prod config files
388
+
389
+ ### Fixed
390
+
391
+ - Use only one thread per gunicorn worker to avoid race conditions and thread safety issues ([#13](https://github.com/Open-EO/openeo-aggregator/issues/13))
392
+ - Increase gunicorn worker timeout to handle long (sync) requests better ([#15](https://github.com/Open-EO/openeo-aggregator/issues/15))
393
+ - support aggregator job id mapping in `load_result` ([#19](https://github.com/Open-EO/openeo-aggregator/issues/19))
394
+
395
+
396
+
397
+ ## [0.1.x]
398
+
399
+ ### Added
400
+ - Initial support for user selected backend through `load_collection` properties filtering (EP-4011, [openEOPlatform/architecture-docs#85](https://github.com/openEOPlatform/architecture-docs/issues/85))
401
+
402
+
403
+ ## [0.0.3]
404
+
405
+ ### Added
406
+
407
+ - Add `/file_formats` support ([#1](https://github.com/Open-EO/openeo-aggregator/issues/1))
408
+ - Add initial support for multi-backend collection metadata merging (EP-4011, [openEOPlatform/architecture-docs#85](https://github.com/openEOPlatform/architecture-docs/issues/85))
409
+
410
+ ### Changed
411
+
412
+ - Increase default cache TTL to 6 hours ([#2](https://github.com/Open-EO/openeo-aggregator/issues/2))
413
+ - Disable CREODIAS based backend (too unstable at the moment)
414
+ - Take union of processes instead of intersection ([#4](https://github.com/Open-EO/openeo-aggregator/issues/4))
415
+ - Increase timeout for job create/start to 5 minutes (EP-4021)
416
+ - Switch to production EODC instance
417
+ - Increase default connection timeout from 20s to 30s
418
+
419
+ ### Fixed
420
+
421
+ - Skip failing back-ends when merging `/jobs` listings (EP-4014)
422
+
423
+
424
+ <!-- end-of-changelog -->
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: openeo-aggregator
3
+ Version: 0.47.0a1
4
+ Summary: openEO Aggregator Backend Implementation.
5
+ Home-page: https://github.com/Open-EO/openeo-aggregator
6
+ Author: Stefaan Lippens
7
+ Author-email: stefaan.lippens@vito.be
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: License :: OSI Approved :: Apache Software License
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.11
13
+ License-File: LICENSE.txt
14
+ Requires-Dist: requests
15
+ Requires-Dist: attrs
16
+ Requires-Dist: openeo>=0.42.0
17
+ Requires-Dist: openeo_driver>=0.136.0.a2.dev
18
+ Requires-Dist: flask~=2.0
19
+ Requires-Dist: gunicorn~=20.0
20
+ Requires-Dist: python-json-logger>=2.0.0
21
+ Requires-Dist: kazoo~=2.8.0
22
+ Provides-Extra: dev
23
+ Requires-Dist: pytest>=6.2.0; extra == "dev"
24
+ Requires-Dist: requests-mock>=1.9.0; extra == "dev"
25
+ Requires-Dist: dirty-equals>=0.7.0; extra == "dev"
26
+ Dynamic: author
27
+ Dynamic: author-email
28
+ Dynamic: classifier
29
+ Dynamic: home-page
30
+ Dynamic: license-file
31
+ Dynamic: provides-extra
32
+ Dynamic: requires-dist
33
+ Dynamic: requires-python
34
+ Dynamic: summary
@@ -0,0 +1,5 @@
1
+ # openEO Aggregator Driver
2
+
3
+ Driver to run an openEO back-end that combines the collections and compute power of a set of openEO back-ends.
4
+
5
+ See docs at [open-eo.github.io/openeo-aggregator](https://open-eo.github.io/openeo-aggregator/)