stac-api-protocol 0.1.1__tar.gz → 0.3.0__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.
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/.gitignore +1 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/CHANGELOG.md +19 -1
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/PKG-INFO +9 -1
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/README.md +7 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/README.md +19 -11
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/examples.sh +12 -10
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/stac_api_demo/service.py +42 -13
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/start.sh +7 -1
- stac_api_protocol-0.3.0/docs/diagrams/architecture.svg +1 -0
- stac_api_protocol-0.3.0/docs/diagrams/architecture_dark.svg +1 -0
- stac_api_protocol-0.3.0/docs/diagrams/src/architecture.puml +71 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/explanation/architecture.md +6 -5
- stac_api_protocol-0.3.0/docs/how-to/deploy-uvicorn.md +149 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/how-to/index.md +1 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/how-to/install.md +3 -0
- stac_api_protocol-0.3.0/docs/index.md +144 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/reference/api.md +34 -7
- {stac_api_protocol-0.1.1/docs → stac_api_protocol-0.3.0/docs/reference}/index.md +8 -12
- stac_api_protocol-0.3.0/docs/reference/openapi.html +483 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/pyproject.toml +2 -1
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/src/stac_api_protocol/__about__.py +1 -1
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/src/stac_api_protocol/main.py +148 -18
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/src/stac_api_protocol/models.py +46 -2
- stac_api_protocol-0.3.0/src/stac_api_protocol/queryables.json +34 -0
- stac_api_protocol-0.3.0/src/stac_api_protocol/stac_service.py +185 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/tests/conftest.py +16 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/tests/test_bbox_queries.py +4 -2
- stac_api_protocol-0.3.0/tests/test_filter_compliance.py +496 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/tests/test_models.py +10 -1
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/tests/test_routes.py +38 -26
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/tests/test_search_validation.py +39 -18
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/tests/test_stac_service.py +33 -29
- stac_api_protocol-0.1.1/docs/reference/index.md +0 -20
- stac_api_protocol-0.1.1/src/stac_api_protocol/stac_service.py +0 -116
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/LICENSE +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/.gitignore +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/download-data.sh +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/pyproject.toml +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/demo/stac_api_demo/__init__.py +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/explanation/index.md +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/how-to/register-service.md +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/how-to/use-cli.md +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/tutorials/first-steps.md +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/docs/tutorials/index.md +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/src/stac_api_protocol/__init__.py +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/src/stac_api_protocol/plugin_loader.py +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/src/stac_api_protocol/py.typed +0 -0
- {stac_api_protocol-0.1.1 → stac_api_protocol-0.3.0}/tests/test_plugin_loader.py +0 -0
|
@@ -23,6 +23,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
23
23
|
|
|
24
24
|
## [Unreleased]
|
|
25
25
|
|
|
26
|
+
## [0.3.0] - 2026-11-30
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- **Breaking:** `StacApiService.get_landing_page`, `get_collections`, `describe_collection`, `get_features`, `get_feature`, and `get_item_search` now require `base_url: str` as the first argument after `self`. Providers must update their method signatures and forward this argument in internal calls; direct callers must supply it. The HTTP adapter passes the request base URL, including any deployment prefix and with trailing slashes removed. Direct callers must also omit trailing slashes. Landing-page links are absolute again.
|
|
31
|
+
|
|
32
|
+
## [0.2.0] - 2026-11-25
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Landing page links are no longer absolute
|
|
37
|
+
|
|
38
|
+
### Added
|
|
39
|
+
|
|
40
|
+
- **Breaking:** Added protocol-level support for the [STAC API - Filter Extension Specification v1.0.0-rc.4](https://github.com/stac-api-extensions/filter/blob/v1.0.0-rc.4/README.md), including CQL2 Text and CQL2 JSON request handling, queryables endpoints, and conformance declarations. Service providers must accept the new `filter` argument in `get_features` and `get_item_search` and implement filter evaluation.
|
|
41
|
+
|
|
26
42
|
## [0.1.1] - 2026-11-14
|
|
27
43
|
|
|
28
44
|
### Changed
|
|
@@ -43,6 +59,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
43
59
|
|
|
44
60
|
- Initial project release.
|
|
45
61
|
|
|
46
|
-
[Unreleased]: https://github.com/Terradue/stac-api-protocol/compare/0.
|
|
62
|
+
[Unreleased]: https://github.com/Terradue/stac-api-protocol/compare/0.3.0...HEAD
|
|
63
|
+
[0.3.0]: https://github.com/Terradue/stac-api-protocol/compare/0.2.0...0.3.0
|
|
64
|
+
[0.2.0]: https://github.com/Terradue/stac-api-protocol/compare/0.1.1...0.2.0
|
|
47
65
|
[0.1.1]: https://github.com/Terradue/stac-api-protocol/compare/0.1.0...0.1.1
|
|
48
66
|
[0.1.0]: https://github.com/Terradue/stac-api-protocol/releases/tag/0.1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: stac-api-protocol
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: A Python FastAPI HTTP adapter for STAC API Core, Item Search, Features and Collections.
|
|
5
5
|
Project-URL: Documentation, https://terradue.github.io/stac-api-protocol/
|
|
6
6
|
Project-URL: Issues, https://github.com/Terradue/stac-api-protocol/issues
|
|
@@ -20,6 +20,7 @@ Classifier: Programming Language :: Python :: 3.15
|
|
|
20
20
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
21
21
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
22
22
|
Requires-Python: >=3.11
|
|
23
|
+
Requires-Dist: cql2json-pydantic>=0.2.0
|
|
23
24
|
Requires-Dist: fastapi>=0.162.4
|
|
24
25
|
Requires-Dist: geojson==3.3.0
|
|
25
26
|
Requires-Dist: pystac<2,>=1.14
|
|
@@ -53,6 +54,13 @@ limitations under the License.
|
|
|
53
54
|
|
|
54
55
|
A Python FastAPI HTTP adapter for STAC API Core, Item Search, Features and Collections.
|
|
55
56
|
|
|
57
|
+
**Since version 0.2.0, the protocol implementation supports the
|
|
58
|
+
[STAC API - Filter Extension Specification v1.0.0-rc.4](https://github.com/stac-api-extensions/filter/blob/v1.0.0-rc.4/README.md).**
|
|
59
|
+
This includes CQL2 Text and CQL2 JSON request handling, queryables discovery, and
|
|
60
|
+
Filter conformance declarations. Evaluating filters against catalogue data remains
|
|
61
|
+
the service provider's responsibility. See the
|
|
62
|
+
[Filter Extension service contract](docs/reference/api.md#filter-extension-support-since-020).
|
|
63
|
+
|
|
56
64
|
## Project conventions
|
|
57
65
|
|
|
58
66
|
This project is templated a Hatch-based Python package with:
|
|
@@ -23,6 +23,13 @@ limitations under the License.
|
|
|
23
23
|
|
|
24
24
|
A Python FastAPI HTTP adapter for STAC API Core, Item Search, Features and Collections.
|
|
25
25
|
|
|
26
|
+
**Since version 0.2.0, the protocol implementation supports the
|
|
27
|
+
[STAC API - Filter Extension Specification v1.0.0-rc.4](https://github.com/stac-api-extensions/filter/blob/v1.0.0-rc.4/README.md).**
|
|
28
|
+
This includes CQL2 Text and CQL2 JSON request handling, queryables discovery, and
|
|
29
|
+
Filter conformance declarations. Evaluating filters against catalogue data remains
|
|
30
|
+
the service provider's responsibility. See the
|
|
31
|
+
[Filter Extension service contract](docs/reference/api.md#filter-extension-support-since-020).
|
|
32
|
+
|
|
26
33
|
## Project conventions
|
|
27
34
|
|
|
28
35
|
This project is templated a Hatch-based Python package with:
|
|
@@ -8,19 +8,17 @@ Collection metadata comes from `collections.json`; item queries use DuckDB and
|
|
|
8
8
|
From the repository root, with Python 3.11 or newer:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
uv pip install -e .. -e .
|
|
14
|
-
|
|
15
|
-
bash ./download-data.sh
|
|
16
|
-
bash ./start.sh
|
|
11
|
+
bash demo/download-data.sh
|
|
12
|
+
bash demo/start.sh
|
|
17
13
|
```
|
|
18
14
|
|
|
19
15
|
The demo has its own `pyproject.toml`, which registers the service plugin and
|
|
20
|
-
declares Uvicorn and database dependencies. `demo/start.sh`
|
|
21
|
-
and
|
|
16
|
+
declares Uvicorn and database dependencies. `demo/start.sh` creates `demo/.venv`
|
|
17
|
+
if needed, installs both the local adapter and demo packages into it, and runs
|
|
18
|
+
Uvicorn with that environment's Python. It works from any working directory and
|
|
19
|
+
forwards all arguments to Uvicorn, for example `bash demo/start.sh --port 8000`.
|
|
22
20
|
Install it in an environment with no other `stacapi.service:item_service` provider.
|
|
23
|
-
Set `STAC_DEMO_DATA_DIR` to an absolute directory to
|
|
21
|
+
Set `STAC_DEMO_DATA_DIR` to an absolute directory to use a different data location.
|
|
24
22
|
The download script also honors this variable. Downloads are excluded from Git.
|
|
25
23
|
|
|
26
24
|
In another terminal, with `curl` and `jq` installed:
|
|
@@ -34,17 +32,27 @@ The script makes one request per API operation, including both GET and POST
|
|
|
34
32
|
search, using an actual NAIP tile and spatial/temporal bounds from the dataset.
|
|
35
33
|
Swagger documentation is available at `/docs`.
|
|
36
34
|
|
|
35
|
+
Since version 0.2.0, the protocol supports the
|
|
36
|
+
[STAC API - Filter Extension Specification v1.0.0-rc.4](https://github.com/stac-api-extensions/filter/blob/v1.0.0-rc.4/README.md).
|
|
37
|
+
The script's GET and POST `/search` examples send CQL2 JSON filters and require a
|
|
38
|
+
provider that evaluates them. This demo provider rejects CQL2 filters; its supported
|
|
39
|
+
search constraints are listed below. Protocol support does not add filter
|
|
40
|
+
evaluation to the demo backend.
|
|
41
|
+
|
|
37
42
|
All five collection descriptions are exposed. Only NAIP items are loaded;
|
|
38
43
|
other listed collections have empty item results. Unknown collections and missing
|
|
39
44
|
individual items return 404. Searches support IDs, collections, bbox, intersects,
|
|
40
45
|
and inclusive datetime instants/intervals (including open bounds). Results are
|
|
41
46
|
sorted by collection and ID, default to 10 items, and have no pagination.
|
|
42
47
|
Six-coordinate boxes use XY only because NAIP footprints have no elevation.
|
|
48
|
+
The service methods accept the request-derived `base_url`, without a trailing slash, as their first argument
|
|
49
|
+
and forward it when delegating to item search. Collection-list navigation links
|
|
50
|
+
use this URL, including any deployment prefix, as do the inherited landing-page links.
|
|
43
51
|
The original asset and item links are preserved and may point to Planetary Computer.
|
|
44
52
|
|
|
45
53
|
GET `bbox` accepts comma-separated coordinates or repeated query parameters.
|
|
46
54
|
Other GET lists use repeated query parameters, and POST `intersects` is a
|
|
47
|
-
JSON-encoded string.
|
|
48
|
-
|
|
55
|
+
JSON-encoded string. `pygeofilter-duckdb` translates the existing search arguments
|
|
56
|
+
internally.
|
|
49
57
|
Each query uses its own DuckDB connection. Runtime queries use downloaded local
|
|
50
58
|
files and a preinstalled spatial extension, with no external database server.
|
|
@@ -18,20 +18,22 @@ set -euo pipefail
|
|
|
18
18
|
base=${1:-http://127.0.0.1:8090}
|
|
19
19
|
base=${base%/}
|
|
20
20
|
|
|
21
|
-
echo "
|
|
22
|
-
|
|
21
|
+
echo "Demo exposes labs 375 — stac-fastapi-geoparquet from developmentseed as STAC APIs"
|
|
22
|
+
|
|
23
|
+
read -p "Press Enter for Catalogue identity and navigation."
|
|
24
|
+
curl -v --fail --silent --show-error "$base/" | jq .
|
|
23
25
|
|
|
24
26
|
read -p "Press Enter for Advertised conformance classes."
|
|
25
|
-
curl --fail --silent --show-error "$base/conformance" | jq .
|
|
27
|
+
curl -v --fail --silent --show-error "$base/conformance" | jq .
|
|
26
28
|
|
|
27
29
|
read -p "Press Enter for Static collection metadata, including datasets not loaded in this demo."
|
|
28
|
-
curl --fail --silent --show-error "$base/collections" | jq .
|
|
30
|
+
curl -v --fail --silent --show-error "$base/collections" | jq .
|
|
29
31
|
|
|
30
32
|
read -p "Press Enter for NAIP's Colorado/Nebraska coverage and acquisition dates."
|
|
31
|
-
curl --fail --silent --show-error "$base/collections/naip" | jq .
|
|
33
|
+
curl -v --fail --silent --show-error "$base/collections/naip" | jq .
|
|
32
34
|
|
|
33
35
|
read -p "Press Enter for Two imagery tiles acquired in 2022."
|
|
34
|
-
curl --fail --silent --show-error --get "$base/collections/naip/items" \
|
|
36
|
+
curl -v --fail --silent --show-error --get "$base/collections/naip/items" \
|
|
35
37
|
--data-urlencode 'limit=2' \
|
|
36
38
|
--data-urlencode 'bbox=-103,40,102,42' \
|
|
37
39
|
--data-urlencode 'datetime=2022-01-01T00:00:00Z/2022-12-31T23:59:59Z' \
|
|
@@ -39,11 +41,11 @@ curl --fail --silent --show-error --get "$base/collections/naip/items" \
|
|
|
39
41
|
|
|
40
42
|
read -p "Press Enter for A real southwest-quarter NAIP tile near the Nebraska/Colorado border."
|
|
41
43
|
item=ne_m_4110264_sw_13_060_20220827
|
|
42
|
-
curl --fail --silent --show-error "$base/collections/naip/items/$item" \
|
|
44
|
+
curl -v --fail --silent --show-error "$base/collections/naip/items/$item" \
|
|
43
45
|
| jq .
|
|
44
46
|
|
|
45
47
|
read -p "Press Enter to GET search combines collection and item identifiers."
|
|
46
|
-
curl --fail --silent --show-error --get "$base/search" \
|
|
48
|
+
curl -v --fail --silent --show-error --get "$base/search" \
|
|
47
49
|
--data-urlencode 'collections=naip' --data-urlencode "ids=$item" \
|
|
48
50
|
| jq .
|
|
49
51
|
|
|
@@ -51,6 +53,6 @@ read -p "Press Enter to POST search uses the adapter's JSON-encoded string for i
|
|
|
51
53
|
jq -n '{collections: ["naip"], limit: 2,
|
|
52
54
|
datetime: "2022-01-01T00:00:00Z/..",
|
|
53
55
|
intersects: ({type: "Point", coordinates: [-102.09, 41.03]} | tojson)}' \
|
|
54
|
-
| curl --fail --silent --show-error "$base/search" \
|
|
55
|
-
--header 'Content-Type: application/json' --data
|
|
56
|
+
| curl -v --fail --silent --show-error "$base/search" \
|
|
57
|
+
--header 'Content-Type: application/json' --data @- \
|
|
56
58
|
| jq .
|
|
@@ -93,6 +93,21 @@ def _bbox_filter(bbox: list[float]) -> ast.Node:
|
|
|
93
93
|
return ast.BBox(geometry, west, south, east, north)
|
|
94
94
|
|
|
95
95
|
|
|
96
|
+
def _spatial_filters(
|
|
97
|
+
bbox: list[float] | None,
|
|
98
|
+
intersects: GeometryGeoJSON | GeometryCollection | None,
|
|
99
|
+
) -> list[ast.Node]:
|
|
100
|
+
"""Build spatial predicates from the standard Item Search parameters."""
|
|
101
|
+
filters: list[ast.Node] = []
|
|
102
|
+
if bbox is not None:
|
|
103
|
+
filters.append(_bbox_filter(bbox))
|
|
104
|
+
if intersects is not None:
|
|
105
|
+
filters.append(
|
|
106
|
+
ast.GeometryIntersects(ast.Attribute("geometry"), values.Geometry(intersects))
|
|
107
|
+
)
|
|
108
|
+
return filters
|
|
109
|
+
|
|
110
|
+
|
|
96
111
|
def _read_item(payload: str) -> Item:
|
|
97
112
|
"""Restore nested STAC properties from a flattened GeoParquet row."""
|
|
98
113
|
record = json.loads(payload)
|
|
@@ -130,61 +145,75 @@ class GeoParquetService(StacApiService):
|
|
|
130
145
|
)
|
|
131
146
|
}
|
|
132
147
|
|
|
133
|
-
def get_collections(self) -> Collections:
|
|
148
|
+
def get_collections(self, base_url: str) -> Collections:
|
|
134
149
|
"""Return all static collection descriptions, including metadata-only datasets."""
|
|
135
150
|
return Collections(
|
|
136
151
|
collections=[collection.clone() for collection in self._collections.values()],
|
|
137
|
-
links=[
|
|
152
|
+
links=[
|
|
153
|
+
Link("self", f"{base_url}/collections"),
|
|
154
|
+
Link("root", f"{base_url}/"),
|
|
155
|
+
],
|
|
138
156
|
)
|
|
139
157
|
|
|
140
|
-
def describe_collection(self, collection_id: str) -> Collection | None:
|
|
158
|
+
def describe_collection(self, base_url: str, collection_id: str) -> Collection | None:
|
|
141
159
|
"""Return an independent collection description, or None for an unknown ID."""
|
|
142
160
|
collection = self._collections.get(collection_id)
|
|
143
161
|
return collection.clone() if collection is not None else None
|
|
144
162
|
|
|
145
163
|
def get_features(
|
|
146
164
|
self,
|
|
165
|
+
base_url: str,
|
|
147
166
|
collection_id: str,
|
|
148
167
|
limit: int | None,
|
|
149
168
|
bbox: list[float] | None,
|
|
150
169
|
datetime: str | None,
|
|
170
|
+
filter: str | dict[str, object] | bool | None = None,
|
|
151
171
|
) -> ItemCollection | None:
|
|
152
|
-
"""Return a collection's matching items, or None for an unknown collection.
|
|
172
|
+
"""Return a collection's matching items, or None for an unknown collection.
|
|
173
|
+
|
|
174
|
+
Raises:
|
|
175
|
+
NotImplementedError: If a CQL2 filter is supplied for an existing collection.
|
|
176
|
+
"""
|
|
153
177
|
if collection_id not in self._collections:
|
|
154
178
|
return None
|
|
155
|
-
return self.get_item_search(
|
|
179
|
+
return self.get_item_search(
|
|
180
|
+
base_url, bbox, None, datetime, limit, None, [collection_id], filter
|
|
181
|
+
)
|
|
156
182
|
|
|
157
|
-
def get_feature(self, collection_id: str, feature_id: str) -> Item | None:
|
|
183
|
+
def get_feature(self, base_url: str, collection_id: str, feature_id: str) -> Item | None:
|
|
158
184
|
"""Look up an item by both collection and item ID, returning None if absent."""
|
|
159
|
-
result = self.get_item_search(None, None, None, 1, [feature_id], [collection_id])
|
|
185
|
+
result = self.get_item_search(base_url, None, None, None, 1, [feature_id], [collection_id])
|
|
160
186
|
return next(iter(result), None)
|
|
161
187
|
|
|
162
188
|
def get_item_search(
|
|
163
189
|
self,
|
|
190
|
+
base_url: str,
|
|
164
191
|
bbox: list[float] | None,
|
|
165
192
|
intersects: GeometryGeoJSON | GeometryCollection | None,
|
|
166
193
|
datetime: str | None,
|
|
167
194
|
limit: int | None,
|
|
168
195
|
ids: list[str] | None,
|
|
169
196
|
collections: list[str] | None,
|
|
197
|
+
filter: str | dict[str, object] | bool | None = None,
|
|
170
198
|
) -> ItemCollection:
|
|
171
199
|
"""Search NAIP using conjunctive filters and a deterministic, limited result.
|
|
172
200
|
|
|
173
201
|
Unloaded collections and unmatched criteria produce an empty collection.
|
|
174
202
|
The demo returns at most 10 items by default and does not paginate.
|
|
203
|
+
|
|
204
|
+
Raises:
|
|
205
|
+
NotImplementedError: If a CQL2 filter is supplied. This demo only
|
|
206
|
+
implements the standard Item Search parameters.
|
|
175
207
|
"""
|
|
208
|
+
if filter is not None:
|
|
209
|
+
raise NotImplementedError("The demo does not implement CQL2 filtering")
|
|
176
210
|
filters: list[ast.Node] = []
|
|
177
211
|
for field, choices in (("id", ids), ("collection", collections)):
|
|
178
212
|
if choices is not None:
|
|
179
213
|
if not choices:
|
|
180
214
|
return ItemCollection([])
|
|
181
215
|
filters.append(ast.In(ast.Attribute(field), list(choices), False))
|
|
182
|
-
|
|
183
|
-
filters.append(_bbox_filter(bbox))
|
|
184
|
-
if intersects is not None:
|
|
185
|
-
filters.append(
|
|
186
|
-
ast.GeometryIntersects(ast.Attribute("geometry"), values.Geometry(intersects))
|
|
187
|
-
)
|
|
216
|
+
filters.extend(_spatial_filters(bbox, intersects))
|
|
188
217
|
if datetime is not None:
|
|
189
218
|
filters.extend(_temporal_filters(datetime))
|
|
190
219
|
return self._query(filters, limit if limit is not None else 10)
|
|
@@ -16,4 +16,10 @@
|
|
|
16
16
|
|
|
17
17
|
set -euo pipefail
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
cd -- "$(dirname -- "${BASH_SOURCE[0]}")"
|
|
20
|
+
if [[ ! -x .venv/bin/python ]]; then
|
|
21
|
+
uv venv .venv
|
|
22
|
+
fi
|
|
23
|
+
uv pip install --python .venv/bin/python -e .. -e .
|
|
24
|
+
exec .venv/bin/python -m uvicorn stac_api_protocol.main:app \
|
|
25
|
+
--host 0.0.0.0 --port 8090 "$@"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" data-diagram-type="CLASS" style="width:1722px;height:747px;background:#FFFFFF;" width="1722px" height="747px" viewBox="0 0 1722 747" zoomAndPan="magnify" preserveAspectRatio="none" contentStyleType="text/css"><?plantuml 1.2026.9beta4?><defs/><g font-family="sans-serif" lengthAdjust="spacing"><!--cluster stac_api_protocol--><g class="cluster" data-qualified-name="stac_api_protocol" id="ent0002" data-source-line="5"><rect x="176.744" y="114" width="1471" height="280.72" fill="none" style="stroke:#181818;stroke-width:1;" rx="2.5" ry="2.5"/><rect x="1627.744" y="119" width="15" height="10" fill="none" style="stroke:#181818;stroke-width:1;"/><rect x="1625.744" y="121" width="4" height="2" fill="none" style="stroke:#181818;stroke-width:1;"/><rect x="1625.744" y="125" width="4" height="2" fill="none" style="stroke:#181818;stroke-width:1;"/><text x="835.599" y="139.995" fill="#000" font-size="14" textLength="153.289" font-weight="700">STAC API - Protocol</text></g><!--cluster rdb--><g class="cluster" data-qualified-name="rdb" id="ent0019" data-source-line="33"><path d="M238.744,469.57 C238.744,459.57 386.244,459.57 386.244,459.57 C386.244,459.57 533.744,459.57 533.744,469.57 L533.744,567.87 C533.744,577.87 386.244,577.87 386.244,577.87 C386.244,577.87 238.744,577.87 238.744,567.87 L238.744,469.57" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M238.744,469.57 C238.744,479.57 386.244,479.57 386.244,479.57 C386.244,479.57 533.744,479.57 533.744,469.57" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="306.308" y="494.565" fill="#000" font-size="14" textLength="159.872" font-weight="700">Relational DataBase</text></g><!--cluster gdb--><g class="cluster" data-qualified-name="gdb" id="ent0025" data-source-line="41"><path d="M578.744,462.72 C578.744,452.72 695.244,452.72 695.244,452.72 C695.244,452.72 811.744,452.72 811.744,462.72 L811.744,712.72 C811.744,722.72 695.244,722.72 695.244,722.72 C695.244,722.72 578.744,722.72 578.744,712.72 L578.744,462.72" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M578.744,462.72 C578.744,472.72 695.244,472.72 695.244,472.72 C695.244,472.72 811.744,472.72 811.744,462.72" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="671.328" y="487.715" fill="#000" font-size="14" textLength="47.831" font-weight="700">Graph</text></g><!--cluster ddb--><g class="cluster" data-qualified-name="ddb" id="ent0032" data-source-line="51"><path d="M912.744,468.07 C912.744,458.07 1004.244,458.07 1004.244,458.07 C1004.244,458.07 1095.744,458.07 1095.744,468.07 L1095.744,707.37 C1095.744,717.37 1004.244,717.37 1004.244,717.37 C1004.244,717.37 912.744,717.37 912.744,707.37 L912.744,468.07" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M912.744,468.07 C912.744,478.07 1004.244,478.07 1004.244,478.07 C1004.244,478.07 1095.744,478.07 1095.744,468.07" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="924.106" y="493.065" fill="#000" font-size="14" textLength="160.275" font-weight="700">Document DataBase</text></g><!--cluster kvdb--><g class="cluster" data-qualified-name="kvdb" id="ent0036" data-source-line="57"><path d="M1192.744,453.72 C1192.744,443.72 1286.244,443.72 1286.244,443.72 C1286.244,443.72 1379.744,443.72 1379.744,453.72 L1379.744,583.72 C1379.744,593.72 1286.244,593.72 1286.244,593.72 C1286.244,593.72 1192.744,593.72 1192.744,583.72 L1192.744,453.72" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M1192.744,453.72 C1192.744,463.72 1286.244,463.72 1286.244,463.72 C1286.244,463.72 1379.744,463.72 1379.744,453.72" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="1222.847" y="478.715" fill="#000" font-size="14" textLength="126.793" font-weight="700">Key/Value Store</text></g><!--entity fast--><g class="entity" data-qualified-name="stac_api_protocol.fast" id="ent0003" data-source-line="6"><rect x="748.394" y="157" width="110.694" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="839.088" y="162" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.088" y="164" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.088" y="168" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="764.394" y="189.995" fill="#000" font-size="14" textLength="68.694" font-style="italic">«FastAPI»</text><text x="763.399" y="206.292" fill="#000" font-size="14" textLength="70.684">STAC APIs</text></g><!--entity osws_s--><g class="entity" data-qualified-name="stac_api_protocol.osws_s" id="ent0004" data-source-line="8"><rect x="200.844" y="308.13" width="125.798" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="306.642" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="304.642" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="304.642" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="224.307" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="215.844" y="357.422" fill="#000" font-size="14" textLength="85.798">OpenSearch</text></g><!--entity rdb_s--><g class="entity" data-qualified-name="stac_api_protocol.rdb_s" id="ent0005" data-source-line="9"><rect x="429.714" y="308.13" width="182.064" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="591.778" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="589.778" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="589.778" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="481.31" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="444.714" y="357.422" fill="#000" font-size="14" textLength="142.064">Relational DataBase</text></g><!--entity gdb_s--><g class="entity" data-qualified-name="stac_api_protocol.gdb_s" id="ent0006" data-source-line="10"><rect x="748.304" y="308.13" width="110.872" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="839.176" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.176" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.176" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="764.304" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="777.268" y="357.422" fill="#000" font-size="14" textLength="42.943">Graph</text></g><!--entity ddb_s--><g class="entity" data-qualified-name="stac_api_protocol.ddb_s" id="ent0007" data-source-line="11"><rect x="995.494" y="308.13" width="184.498" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="1159.992" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1157.992" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1157.992" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="1048.307" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="1010.494" y="357.422" fill="#000" font-size="14" textLength="144.498">Document DataBase</text></g><!--entity kvdb_s--><g class="entity" data-qualified-name="stac_api_protocol.kvdb_s" id="ent0008" data-source-line="12"><rect x="1295.694" y="308.13" width="152.089" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="1427.783" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1425.783" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1425.783" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="1332.302" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="1310.694" y="357.422" fill="#000" font-size="14" textLength="112.089">Key/Value Store</text></g><g class="entity" data-qualified-name="rdb.table_a" id="ent0020" data-source-line="34"><rect x="262.804" y="517.57" width="65.878" height="36.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><text x="269.804" y="532.565" fill="#000" font-size="14" textLength="51.878">Table 1</text><line x1="263.804" y1="537.867" x2="327.682" y2="537.867" style="stroke:#181818;stroke-width:0.5;"/></g><g class="entity" data-qualified-name="rdb.table_n" id="ent0021" data-source-line="35"><rect x="423.024" y="517.57" width="67.443" height="36.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><text x="430.024" y="532.565" fill="#000" font-size="14" textLength="53.443">Table N</text><line x1="424.024" y1="537.867" x2="489.467" y2="537.867" style="stroke:#181818;stroke-width:0.5;"/></g><g class="entity" data-qualified-name="rdb.dia" id="ent0022"><polygon points="375.744,523.72,387.744,535.72,375.744,547.72,363.744,535.72,375.744,523.72" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><g class="entity" data-qualified-name="gdb.Node1" id="ent0026" data-source-line="42"><rect x="603.024" y="510.72" width="65.445" height="50" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="12.5" ry="12.5"/><line x1="603.024" y1="537.017" x2="668.469" y2="537.017" style="stroke:#181818;stroke-width:0.5;"/><text x="613.024" y="528.715" fill="#000" font-size="14" textLength="45.445">Node1</text></g><g class="entity" data-qualified-name="gdb.Node2" id="ent0027" data-source-line="43"><rect x="703.024" y="510.72" width="65.445" height="50" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="12.5" ry="12.5"/><line x1="703.024" y1="537.017" x2="768.469" y2="537.017" style="stroke:#181818;stroke-width:0.5;"/><text x="713.024" y="528.715" fill="#000" font-size="14" textLength="45.445">Node2</text></g><g class="entity" data-qualified-name="gdb.NodeN" id="ent0028" data-source-line="44"><rect x="652.234" y="648.72" width="67.011" height="50" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="12.5" ry="12.5"/><line x1="652.234" y1="675.017" x2="719.244" y2="675.017" style="stroke:#181818;stroke-width:0.5;"/><text x="662.234" y="666.715" fill="#000" font-size="14" textLength="47.011">NodeN</text></g><!--entity d1--><g class="entity" data-qualified-name="ddb.d1" id="ent0033" data-source-line="52"><rect x="936.804" y="516.07" width="115.887" height="39.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><polygon points="1035.69,521.07,1035.69,535.07,1047.69,535.07,1047.69,527.07,1041.69,521.07,1035.69,521.07" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:10;"/><line x1="1041.69" y1="521.07" x2="1041.69" y2="527.07" style="stroke:#181818;stroke-width:0.5;"/><line x1="1047.69" y1="527.07" x2="1041.69" y2="527.07" style="stroke:#181818;stroke-width:0.5;"/><text x="946.804" y="542.065" fill="#000" font-size="14" textLength="85.887">Document 1</text></g><!--entity dn--><g class="entity" data-qualified-name="ddb.dn" id="ent0034" data-source-line="53"><rect x="937.014" y="654.07" width="117.452" height="39.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><polygon points="1037.466,659.07,1037.466,673.07,1049.466,673.07,1049.466,665.07,1043.466,659.07,1037.466,659.07" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:10;"/><line x1="1043.466" y1="659.07" x2="1043.466" y2="665.07" style="stroke:#181818;stroke-width:0.5;"/><line x1="1049.466" y1="665.07" x2="1043.466" y2="665.07" style="stroke:#181818;stroke-width:0.5;"/><text x="947.014" y="680.065" fill="#000" font-size="14" textLength="87.452">Document N</text></g><g class="entity" data-qualified-name="kvdb.myMap" id="ent0037" data-source-line="58"><rect x="1225.244" y="505.72" width="103.426" height="60.891" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><text x="1260.243" y="520.715" fill="#000" font-size="14" textLength="33.428">Data</text><line x1="1225.244" y1="526.017" x2="1328.67" y2="526.017" style="stroke:#181818;stroke-width:1;"/><text x="1230.244" y="541.012" fill="#000" font-size="14" textLength="34.986">Key1</text><text x="1275.23" y="541.012" fill="#000" font-size="14" textLength="48.439">Value1</text><line x1="1270.23" y1="526.017" x2="1270.23" y2="546.314" style="stroke:#181818;stroke-width:1;"/><line x1="1225.244" y1="546.314" x2="1328.67" y2="546.314" style="stroke:#181818;stroke-width:1;"/><text x="1230.244" y="561.309" fill="#000" font-size="14" textLength="34.986">Key2</text><text x="1275.23" y="561.309" fill="#000" font-size="14" textLength="48.439">Value2</text><line x1="1270.23" y1="546.314" x2="1270.23" y2="566.611" style="stroke:#181818;stroke-width:1;"/></g><!--entity http--><g class="entity" data-qualified-name="http" id="ent0001" data-source-line="3"><ellipse cx="1639.744" cy="14" rx="8" ry="8" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="1621.707" y="43.995" fill="#000" font-size="14" textLength="36.073">HTTP</text></g><g class="entity" data-qualified-name="GMN14" id="ent0015" data-source-line="22"><path d="M6.474,145.46 L6.474,231.124 L153.011,231.124 L153.011,155.46 L143.011,145.46 L6.474,145.46" style="stroke:#181818;stroke-width:0.5;" fill="#FEFFDD"/><path d="M143.011,145.46 L143.011,155.46 L153.011,155.46 L143.011,145.46" style="stroke:#181818;stroke-width:1;" fill="#FEFFDD"/><text x="12.474" y="162.527" fill="#000" font-size="13" textLength="125.538">Supports STAC API:</text><ellipse cx="17.974" cy="173.226" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="177.66" fill="#000" font-size="13" textLength="30.374">Core</text><ellipse cx="17.974" cy="188.358" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="192.793" fill="#000" font-size="13" textLength="71.075">Collections</text><ellipse cx="17.974" cy="203.491" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="207.925" fill="#000" font-size="13" textLength="56.894">Features</text><ellipse cx="17.974" cy="218.624" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="223.058" fill="#000" font-size="13" textLength="78.673">Item Search</text></g><!--entity osws--><g class="entity" data-qualified-name="osws" id="ent0018" data-source-line="31"><path d="M16.84,521.249 C21.168,514.185 25.957,515.258 30.479,521.043 C33.832,514.8 40.645,513.463 44.813,520.139 C49.763,513.103 54.208,514.857 58.319,521 C61.012,514.973 66.648,514.141 71.17,518.802 C76.061,511.183 80.656,511.532 85.53,518.819 C89.623,513.051 94.07,512.91 97.993,518.998 C101.625,511.241 107.329,511.709 111.887,518.088 C115.587,512.266 121.233,511.144 125.131,517.88 C130.054,511.228 135.036,511.554 139.564,518.306 C144.565,511.277 150.029,511.772 153.502,519.727 C157.382,512.76 163.542,514.492 166.634,520.524 C171.397,514.651 175.581,514.601 179.819,521.084 C184.671,514.512 189.395,513.6 194.65,520.646 C199.04,515.791 204.281,515.834 207.649,521.867 C218.207,522.048 219.689,529.12 215.534,536.979 C219.581,544.376 218.422,550.444 208.952,551.864 C205.157,558.363 198.131,557.342 194.657,551.492 C191.538,559.036 184.992,560.503 179.484,554.09 C175.575,560.466 170.684,560.6 167.003,553.873 C163.333,560.49 159.109,560.558 153.888,555.634 C149.659,562.538 144.601,562.65 140.058,555.953 C135.416,561.819 130.181,562.133 126.716,554.767 C123.571,561.425 116.755,563.284 111.756,556.892 C107.415,563.752 101.328,563.441 97.532,556.336 C92.718,562.934 88.743,562.753 84.279,555.989 C79.586,562.935 74.046,561.135 70.458,554.835 C66.5,560.447 62.28,560.85 58.102,555.074 C53.251,561.244 46.771,560.894 43.834,553.117 C39.85,558.868 33.657,558.316 30.66,552.037 C25.552,560.614 20.537,560.624 15.052,552.387 C6.184,548.339 6.747,542.404 12.674,536.185 C6,528.842 8.773,524.481 16.84,521.249" style="stroke:#181818;stroke-width:0.5;" fill="#F1F1F1"/><text x="21.854" y="540.565" fill="#000" font-size="14" textLength="177.782">OpenSearch Web Service</text></g><!--link fast to osws_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0004" id="lnk9" data-source-line="14" data-link-type="dependency"><path d="M747.954,189.42 C628.124,190.87 351.474,200.83 283.744,261.13 C270.694,272.74 266.197,286.68 264.427,302.88" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-osws_s" codeLine="14"/><polygon points="263.884,307.85,268.838,299.338,264.427,302.88,260.885,298.469,263.884,307.85" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="284.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to rdb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0005" id="lnk10" data-source-line="15" data-link-type="dependency"><path d="M748.114,190.49 C690.824,194.67 602.414,209.77 547.744,261.13 C534.794,273.29 529.128,287.127 525.618,303.087" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-rdb_s" codeLine="15"/><polygon points="524.544,307.97,530.384,300.039,525.618,303.087,522.57,298.321,524.544,307.97" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="548.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to gdb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0006" id="lnk11" data-source-line="16" data-link-type="dependency"><path d="M801.834,219.71 C800.974,236.87 800.264,258.69 800.744,278.13 C800.984,287.77 801.176,293.267 801.666,302.767" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-gdb_s" codeLine="16"/><polygon points="801.924,307.76,805.455,298.566,801.666,302.767,797.465,298.978,801.924,307.76" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="801.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to ddb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0007" id="lnk12" data-source-line="17" data-link-type="dependency"><path d="M841.954,220.08 C848.594,224.33 855.654,228.23 862.744,231.13 C940.244,262.83 981.164,211.68 1048.744,261.13 C1064.144,272.4 1072.174,286.804 1078.064,303.204" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-ddb_s" codeLine="17"/><polygon points="1079.754,307.91,1080.476,298.088,1078.064,303.204,1072.947,300.792,1079.754,307.91" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="1064.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to kvdb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0008" id="lnk13" data-source-line="18" data-link-type="dependency"><path d="M840.744,220.05 C847.694,224.48 855.174,228.44 862.744,231.13 C957.804,264.91 1227.444,212.32 1315.744,261.13 C1334.454,271.47 1346.096,286.639 1355.456,303.489" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-kvdb_s" codeLine="18"/><polygon points="1357.884,307.86,1357.01,298.05,1355.456,303.489,1350.017,301.935,1357.884,307.86" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="1336.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link GMN14 to stac_api_protocol--><g class="link" data-entity-1="ent0015" data-entity-2="ent0002" id="lnk16" data-source-line="22" data-link-type="association"><path d="M110.484,145.09 C132.534,118.04 164.884,85.54 202.244,70.5 C275.004,41.19 1545.474,32.75 1614.244,70.5 C1625.431,76.643 1632.735,86.546 1637.371,98.068 C1638.53,100.949 1639.522,103.931 1640.366,106.981 C1640.788,108.506 1641.174,110.047 1641.524,111.602 C1641.7,112.379 1641.866,113.16 1642.025,113.943" style="stroke:#181818;stroke-width:1;stroke-dasharray:7,7;" fill="none" id="GMN14-stac_api_protocol"/></g><!--link http to stac_api_protocol--><g class="link" data-entity-1="ent0001" data-entity-2="ent0002" id="lnk17" data-source-line="29" data-link-type="association"><path d="M1639.744,22.85 C1639.744,31.145 1639.744,45.316 1639.744,61.969 C1639.744,70.296 1639.744,79.243 1639.744,88.386 C1639.744,92.957 1639.744,97.578 1639.744,102.194 C1639.744,104.502 1639.744,106.81 1639.744,109.109 C1639.744,110.259 1639.744,111.407 1639.744,112.552 C1639.744,112.839 1639.744,113.125 1639.744,113.411" style="stroke:#181818;stroke-width:1;" fill="none" id="http-stac_api_protocol" codeLine="29"/><text x="1640.744" y="86.067" fill="#000" font-size="13" textLength="65.635">STAC APIs</text></g><!--link table_a to dia--><g class="link" data-entity-1="ent0020" data-entity-2="ent0022" id="lnk23" data-source-line="37" data-link-type="dependency"><path d="M329.184,535.72 C340.574,535.72 346.974,535.72 358.374,535.72" style="stroke:#181818;stroke-width:1;" fill="none" id="table_a-to-dia" codeLine="37"/><polygon points="363.374,535.72,354.374,531.72,358.374,535.72,354.374,539.72,363.374,535.72" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link dia to table_n--><g class="link" data-entity-1="ent0022" data-entity-2="ent0021" id="lnk24" data-source-line="38" data-link-type="dependency"><path d="M388.404,535.72 C399.794,535.72 406.184,535.72 417.574,535.72" style="stroke:#181818;stroke-width:1;" fill="none" id="dia-to-table_n" codeLine="38"/><polygon points="422.574,535.72,413.574,531.72,417.574,535.72,413.574,539.72,422.574,535.72" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link Node1 to Node2--><g class="link" data-entity-1="ent0026" data-entity-2="ent0027" id="lnk29" data-source-line="46" data-link-type="dependency"><path d="M668.944,535.72 C680.164,535.72 686.384,535.72 697.604,535.72" style="stroke:#181818;stroke-width:1;" fill="none" id="Node1-to-Node2" codeLine="46"/><polygon points="702.604,535.72,693.604,531.72,697.604,535.72,693.604,539.72,702.604,535.72" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link Node1 to NodeN--><g class="link" data-entity-1="ent0026" data-entity-2="ent0028" id="lnk30" data-source-line="47" data-link-type="dependency"><path d="M644.684,561.03 C653.784,585.79 666.077,619.248 675.157,643.928" style="stroke:#181818;stroke-width:1;" fill="none" id="Node1-to-NodeN" codeLine="47"/><polygon points="676.884,648.62,677.53,638.792,675.157,643.928,670.022,641.555,676.884,648.62" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link Node2 to NodeN--><g class="link" data-entity-1="ent0027" data-entity-2="ent0028" id="lnk31" data-source-line="48" data-link-type="dependency"><path d="M726.804,561.03 C717.704,585.79 705.398,619.247 696.328,643.927" style="stroke:#181818;stroke-width:1;" fill="none" id="Node2-to-NodeN" codeLine="48"/><polygon points="694.604,648.62,701.463,641.552,696.328,643.927,693.954,638.793,694.604,648.62" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link d1 to dn--><!--link osws_s to osws--><g class="link" data-entity-1="ent0004" data-entity-2="ent0018" id="lnk38" data-source-line="64" data-link-type="dependency"><path d="M239.504,371.21 C208.574,410.48 158.927,473.532 131.527,508.322" style="stroke:#181818;stroke-width:1;" fill="none" id="osws_s-to-osws" codeLine="64"/><polygon points="128.434,512.25,137.145,507.654,131.527,508.322,130.86,502.705,128.434,512.25" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link rdb_s to rdb--><g class="link" data-entity-1="ent0005" data-entity-2="ent0019" id="lnk39" data-source-line="65" data-link-type="dependency"><path d="M521.534,371.21 C521.881,384.693 522.312,401.442 522.765,419.034 C522.992,427.829 523.224,436.836 523.453,445.75 C523.568,450.207 523.553,449.642 523.666,454.015" style="stroke:#181818;stroke-width:1;" fill="none" id="rdb_s-to-rdb" codeLine="65"/><polygon points="523.794,459.014,527.561,449.914,523.666,454.015,519.564,450.119,523.794,459.014" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link gdb_s to gdb--><g class="link" data-entity-1="ent0006" data-entity-2="ent0025" id="lnk40" data-source-line="66" data-link-type="dependency"><path d="M803.744,371.21 C803.744,384.693 803.744,401.442 803.744,419.034 C803.744,427.829 803.744,436.836 803.744,445.75 C803.744,447.978 803.744,445.201 803.744,447.413" style="stroke:#181818;stroke-width:1;" fill="none" id="gdb_s-to-gdb" codeLine="66"/><polygon points="803.744,452.413,807.744,443.413,803.744,447.413,799.744,443.413,803.744,452.413" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link ddb_s to ddb--><g class="link" data-entity-1="ent0007" data-entity-2="ent0032" id="lnk41" data-source-line="67" data-link-type="dependency"><path d="M1087.744,371.21 C1087.744,384.693 1087.744,401.442 1087.744,419.034 C1087.744,427.829 1087.744,436.836 1087.744,445.75 C1087.744,447.978 1087.744,450.201 1087.744,452.413 C1087.744,453.519 1087.744,454.623 1087.744,455.723 C1087.744,456.273 1087.744,451.823 1087.744,452.371" style="stroke:#181818;stroke-width:1;" fill="none" id="ddb_s-to-ddb" codeLine="67"/><polygon points="1087.744,457.371,1091.744,448.371,1087.744,452.371,1083.744,448.371,1087.744,457.371" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link kvdb_s to kvdb--><g class="link" data-entity-1="ent0008" data-entity-2="ent0036" id="lnk42" data-source-line="68" data-link-type="dependency"><path d="M1371.744,371.21 C1371.744,384.693 1371.744,401.442 1371.744,419.034 C1371.744,423.432 1371.744,427.882 1371.744,432.347 C1371.744,434.58 1371.744,436.816 1371.744,439.052 C1371.744,440.169 1371.744,441.287 1371.744,442.403 C1371.744,442.683 1371.744,437.962 1371.744,438.241" style="stroke:#181818;stroke-width:1;" fill="none" id="kvdb_s-to-kvdb" codeLine="68"/><polygon points="1371.744,443.241,1375.744,434.241,1371.744,438.241,1367.744,434.241,1371.744,443.241" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><?plantuml-src fLDDRnCn4BtFhnZv14WRj3b69L9fLQWG8M8ZE20KUTTEik1TMxRJ4bNzxuoz7-pI91BqO7cUPzwCFNx3bTBtLVchhBS0BruYUxzQBHboXpll3K2XAwDhMNjasUho2Y-NjvZWqcgl2wrYeFEyM7DJharxYW_7Q2u6RxZpU75nGnkTpUUZ2f-Ch3F9RR6BiThTkxMZw4pQkxAG53q8_YmLzwMkkS9hxlbRxcHaMP6V9hspt3J9j-V2hdMnhu8roYpEKJx8m-ilNEqbPbxRXl3pxWa3OWEIPDwzReQCKUD-oC9FA94z94QNjNSJ5lfARPsuXimO-qDk7lb_tEqpkE8PtBOR_qH-1AYrbwZangFUFDKQP7jZjFKEEvtDu1LUqG_4JIagGo9nX6uaztihWtdhPOMDqa3M0aCDWA1ukkaHGS_wx8u4g_HU3CMANsMExHVtmWKGf9sSj7DMgZGhEW-zGBRYkPAOHeyFzfh_vLiCV3M8abUQBayxjF4OleWWhM1saO_3oun6WChJQwd12oraEh2d0ti14DqXPUDhOOiN4Ky7U5Jmv31HSMvzkU75SEIQ1eZqcAzfWA2tK_Llkr88MNzFmi6eugbPf88LDvIF8kDXTVX8-068aEAREKPI6k2qXrFAJTdRSUqc5ve9R6SHjZqY2qIFo89Mzzq8_0O0?></g></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" data-diagram-type="CLASS" style="width:1722px;height:747px;background:#FFFFFF;" width="1722px" height="747px" viewBox="0 0 1722 747" zoomAndPan="magnify" preserveAspectRatio="none" contentStyleType="text/css"><?plantuml 1.2026.9beta4?><defs/><g font-family="sans-serif" lengthAdjust="spacing"><!--cluster stac_api_protocol--><g class="cluster" data-qualified-name="stac_api_protocol" id="ent0002" data-source-line="5"><rect x="176.744" y="114" width="1471" height="280.72" fill="none" style="stroke:#181818;stroke-width:1;" rx="2.5" ry="2.5"/><rect x="1627.744" y="119" width="15" height="10" fill="none" style="stroke:#181818;stroke-width:1;"/><rect x="1625.744" y="121" width="4" height="2" fill="none" style="stroke:#181818;stroke-width:1;"/><rect x="1625.744" y="125" width="4" height="2" fill="none" style="stroke:#181818;stroke-width:1;"/><text x="835.599" y="139.995" fill="#000" font-size="14" textLength="153.289" font-weight="700">STAC API - Protocol</text></g><!--cluster rdb--><g class="cluster" data-qualified-name="rdb" id="ent0019" data-source-line="33"><path d="M238.744,469.57 C238.744,459.57 386.244,459.57 386.244,459.57 C386.244,459.57 533.744,459.57 533.744,469.57 L533.744,567.87 C533.744,577.87 386.244,577.87 386.244,577.87 C386.244,577.87 238.744,577.87 238.744,567.87 L238.744,469.57" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M238.744,469.57 C238.744,479.57 386.244,479.57 386.244,479.57 C386.244,479.57 533.744,479.57 533.744,469.57" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="306.308" y="494.565" fill="#000" font-size="14" textLength="159.872" font-weight="700">Relational DataBase</text></g><!--cluster gdb--><g class="cluster" data-qualified-name="gdb" id="ent0025" data-source-line="41"><path d="M578.744,462.72 C578.744,452.72 695.244,452.72 695.244,452.72 C695.244,452.72 811.744,452.72 811.744,462.72 L811.744,712.72 C811.744,722.72 695.244,722.72 695.244,722.72 C695.244,722.72 578.744,722.72 578.744,712.72 L578.744,462.72" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M578.744,462.72 C578.744,472.72 695.244,472.72 695.244,472.72 C695.244,472.72 811.744,472.72 811.744,462.72" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="671.328" y="487.715" fill="#000" font-size="14" textLength="47.831" font-weight="700">Graph</text></g><!--cluster ddb--><g class="cluster" data-qualified-name="ddb" id="ent0032" data-source-line="51"><path d="M912.744,468.07 C912.744,458.07 1004.244,458.07 1004.244,458.07 C1004.244,458.07 1095.744,458.07 1095.744,468.07 L1095.744,707.37 C1095.744,717.37 1004.244,717.37 1004.244,717.37 C1004.244,717.37 912.744,717.37 912.744,707.37 L912.744,468.07" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M912.744,468.07 C912.744,478.07 1004.244,478.07 1004.244,478.07 C1004.244,478.07 1095.744,478.07 1095.744,468.07" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="924.106" y="493.065" fill="#000" font-size="14" textLength="160.275" font-weight="700">Document DataBase</text></g><!--cluster kvdb--><g class="cluster" data-qualified-name="kvdb" id="ent0036" data-source-line="57"><path d="M1192.744,453.72 C1192.744,443.72 1286.244,443.72 1286.244,443.72 C1286.244,443.72 1379.744,443.72 1379.744,453.72 L1379.744,583.72 C1379.744,593.72 1286.244,593.72 1286.244,593.72 C1286.244,593.72 1192.744,593.72 1192.744,583.72 L1192.744,453.72" style="stroke:#181818;stroke-width:1;" fill="none"/><path d="M1192.744,453.72 C1192.744,463.72 1286.244,463.72 1286.244,463.72 C1286.244,463.72 1379.744,463.72 1379.744,453.72" style="stroke:#181818;stroke-width:1;" fill="none"/><text x="1222.847" y="478.715" fill="#000" font-size="14" textLength="126.793" font-weight="700">Key/Value Store</text></g><!--entity fast--><g class="entity" data-qualified-name="stac_api_protocol.fast" id="ent0003" data-source-line="6"><rect x="748.394" y="157" width="110.694" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="839.088" y="162" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.088" y="164" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.088" y="168" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="764.394" y="189.995" fill="#000" font-size="14" textLength="68.694" font-style="italic">«FastAPI»</text><text x="763.399" y="206.292" fill="#000" font-size="14" textLength="70.684">STAC APIs</text></g><!--entity osws_s--><g class="entity" data-qualified-name="stac_api_protocol.osws_s" id="ent0004" data-source-line="8"><rect x="200.844" y="308.13" width="125.798" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="306.642" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="304.642" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="304.642" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="224.307" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="215.844" y="357.422" fill="#000" font-size="14" textLength="85.798">OpenSearch</text></g><!--entity rdb_s--><g class="entity" data-qualified-name="stac_api_protocol.rdb_s" id="ent0005" data-source-line="9"><rect x="429.714" y="308.13" width="182.064" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="591.778" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="589.778" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="589.778" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="481.31" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="444.714" y="357.422" fill="#000" font-size="14" textLength="142.064">Relational DataBase</text></g><!--entity gdb_s--><g class="entity" data-qualified-name="stac_api_protocol.gdb_s" id="ent0006" data-source-line="10"><rect x="748.304" y="308.13" width="110.872" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="839.176" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.176" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="837.176" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="764.304" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="777.268" y="357.422" fill="#000" font-size="14" textLength="42.943">Graph</text></g><!--entity ddb_s--><g class="entity" data-qualified-name="stac_api_protocol.ddb_s" id="ent0007" data-source-line="11"><rect x="995.494" y="308.13" width="184.498" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="1159.992" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1157.992" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1157.992" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="1048.307" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="1010.494" y="357.422" fill="#000" font-size="14" textLength="144.498">Document DataBase</text></g><!--entity kvdb_s--><g class="entity" data-qualified-name="stac_api_protocol.kvdb_s" id="ent0008" data-source-line="12"><rect x="1295.694" y="308.13" width="152.089" height="62.594" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><rect x="1427.783" y="313.13" width="15" height="10" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1425.783" y="315.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><rect x="1425.783" y="319.13" width="4" height="2" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="1332.302" y="341.125" fill="#000" font-size="14" textLength="68.872" font-style="italic">«Service»</text><text x="1310.694" y="357.422" fill="#000" font-size="14" textLength="112.089">Key/Value Store</text></g><g class="entity" data-qualified-name="rdb.table_a" id="ent0020" data-source-line="34"><rect x="262.804" y="517.57" width="65.878" height="36.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><text x="269.804" y="532.565" fill="#000" font-size="14" textLength="51.878">Table 1</text><line x1="263.804" y1="537.867" x2="327.682" y2="537.867" style="stroke:#181818;stroke-width:0.5;"/></g><g class="entity" data-qualified-name="rdb.table_n" id="ent0021" data-source-line="35"><rect x="423.024" y="517.57" width="67.443" height="36.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><text x="430.024" y="532.565" fill="#000" font-size="14" textLength="53.443">Table N</text><line x1="424.024" y1="537.867" x2="489.467" y2="537.867" style="stroke:#181818;stroke-width:0.5;"/></g><g class="entity" data-qualified-name="rdb.dia" id="ent0022"><polygon points="375.744,523.72,387.744,535.72,375.744,547.72,363.744,535.72,375.744,523.72" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><g class="entity" data-qualified-name="gdb.Node1" id="ent0026" data-source-line="42"><rect x="603.024" y="510.72" width="65.445" height="50" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="12.5" ry="12.5"/><line x1="603.024" y1="537.017" x2="668.469" y2="537.017" style="stroke:#181818;stroke-width:0.5;"/><text x="613.024" y="528.715" fill="#000" font-size="14" textLength="45.445">Node1</text></g><g class="entity" data-qualified-name="gdb.Node2" id="ent0027" data-source-line="43"><rect x="703.024" y="510.72" width="65.445" height="50" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="12.5" ry="12.5"/><line x1="703.024" y1="537.017" x2="768.469" y2="537.017" style="stroke:#181818;stroke-width:0.5;"/><text x="713.024" y="528.715" fill="#000" font-size="14" textLength="45.445">Node2</text></g><g class="entity" data-qualified-name="gdb.NodeN" id="ent0028" data-source-line="44"><rect x="652.234" y="648.72" width="67.011" height="50" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="12.5" ry="12.5"/><line x1="652.234" y1="675.017" x2="719.244" y2="675.017" style="stroke:#181818;stroke-width:0.5;"/><text x="662.234" y="666.715" fill="#000" font-size="14" textLength="47.011">NodeN</text></g><!--entity d1--><g class="entity" data-qualified-name="ddb.d1" id="ent0033" data-source-line="52"><rect x="936.804" y="516.07" width="115.887" height="39.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><polygon points="1035.69,521.07,1035.69,535.07,1047.69,535.07,1047.69,527.07,1041.69,521.07,1035.69,521.07" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:10;"/><line x1="1041.69" y1="521.07" x2="1041.69" y2="527.07" style="stroke:#181818;stroke-width:0.5;"/><line x1="1047.69" y1="527.07" x2="1041.69" y2="527.07" style="stroke:#181818;stroke-width:0.5;"/><text x="946.804" y="542.065" fill="#000" font-size="14" textLength="85.887">Document 1</text></g><!--entity dn--><g class="entity" data-qualified-name="ddb.dn" id="ent0034" data-source-line="53"><rect x="937.014" y="654.07" width="117.452" height="39.297" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><polygon points="1037.466,659.07,1037.466,673.07,1049.466,673.07,1049.466,665.07,1043.466,659.07,1037.466,659.07" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;stroke-linejoin:miter;stroke-miterlimit:10;"/><line x1="1043.466" y1="659.07" x2="1043.466" y2="665.07" style="stroke:#181818;stroke-width:0.5;"/><line x1="1049.466" y1="665.07" x2="1043.466" y2="665.07" style="stroke:#181818;stroke-width:0.5;"/><text x="947.014" y="680.065" fill="#000" font-size="14" textLength="87.452">Document N</text></g><g class="entity" data-qualified-name="kvdb.myMap" id="ent0037" data-source-line="58"><rect x="1225.244" y="505.72" width="103.426" height="60.891" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;" rx="2.5" ry="2.5"/><text x="1260.243" y="520.715" fill="#000" font-size="14" textLength="33.428">Data</text><line x1="1225.244" y1="526.017" x2="1328.67" y2="526.017" style="stroke:#181818;stroke-width:1;"/><text x="1230.244" y="541.012" fill="#000" font-size="14" textLength="34.986">Key1</text><text x="1275.23" y="541.012" fill="#000" font-size="14" textLength="48.439">Value1</text><line x1="1270.23" y1="526.017" x2="1270.23" y2="546.314" style="stroke:#181818;stroke-width:1;"/><line x1="1225.244" y1="546.314" x2="1328.67" y2="546.314" style="stroke:#181818;stroke-width:1;"/><text x="1230.244" y="561.309" fill="#000" font-size="14" textLength="34.986">Key2</text><text x="1275.23" y="561.309" fill="#000" font-size="14" textLength="48.439">Value2</text><line x1="1270.23" y1="546.314" x2="1270.23" y2="566.611" style="stroke:#181818;stroke-width:1;"/></g><!--entity http--><g class="entity" data-qualified-name="http" id="ent0001" data-source-line="3"><ellipse cx="1639.744" cy="14" rx="8" ry="8" fill="#F1F1F1" style="stroke:#181818;stroke-width:0.5;"/><text x="1621.707" y="43.995" fill="#000" font-size="14" textLength="36.073">HTTP</text></g><g class="entity" data-qualified-name="GMN14" id="ent0015" data-source-line="22"><path d="M6.474,145.46 L6.474,231.124 L153.011,231.124 L153.011,155.46 L143.011,145.46 L6.474,145.46" style="stroke:#181818;stroke-width:0.5;" fill="#FEFFDD"/><path d="M143.011,145.46 L143.011,155.46 L153.011,155.46 L143.011,145.46" style="stroke:#181818;stroke-width:1;" fill="#FEFFDD"/><text x="12.474" y="162.527" fill="#000" font-size="13" textLength="125.538">Supports STAC API:</text><ellipse cx="17.974" cy="173.226" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="177.66" fill="#000" font-size="13" textLength="30.374">Core</text><ellipse cx="17.974" cy="188.358" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="192.793" fill="#000" font-size="13" textLength="71.075">Collections</text><ellipse cx="17.974" cy="203.491" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="207.925" fill="#000" font-size="13" textLength="56.894">Features</text><ellipse cx="17.974" cy="218.624" rx="2.5" ry="2.5" fill="#000"/><text x="24.474" y="223.058" fill="#000" font-size="13" textLength="78.673">Item Search</text></g><!--entity osws--><g class="entity" data-qualified-name="osws" id="ent0018" data-source-line="31"><path d="M16.84,521.249 C21.168,514.185 25.957,515.258 30.479,521.043 C33.832,514.8 40.645,513.463 44.813,520.139 C49.763,513.103 54.208,514.857 58.319,521 C61.012,514.973 66.648,514.141 71.17,518.802 C76.061,511.183 80.656,511.532 85.53,518.819 C89.623,513.051 94.07,512.91 97.993,518.998 C101.625,511.241 107.329,511.709 111.887,518.088 C115.587,512.266 121.233,511.144 125.131,517.88 C130.054,511.228 135.036,511.554 139.564,518.306 C144.565,511.277 150.029,511.772 153.502,519.727 C157.382,512.76 163.542,514.492 166.634,520.524 C171.397,514.651 175.581,514.601 179.819,521.084 C184.671,514.512 189.395,513.6 194.65,520.646 C199.04,515.791 204.281,515.834 207.649,521.867 C218.207,522.048 219.689,529.12 215.534,536.979 C219.581,544.376 218.422,550.444 208.952,551.864 C205.157,558.363 198.131,557.342 194.657,551.492 C191.538,559.036 184.992,560.503 179.484,554.09 C175.575,560.466 170.684,560.6 167.003,553.873 C163.333,560.49 159.109,560.558 153.888,555.634 C149.659,562.538 144.601,562.65 140.058,555.953 C135.416,561.819 130.181,562.133 126.716,554.767 C123.571,561.425 116.755,563.284 111.756,556.892 C107.415,563.752 101.328,563.441 97.532,556.336 C92.718,562.934 88.743,562.753 84.279,555.989 C79.586,562.935 74.046,561.135 70.458,554.835 C66.5,560.447 62.28,560.85 58.102,555.074 C53.251,561.244 46.771,560.894 43.834,553.117 C39.85,558.868 33.657,558.316 30.66,552.037 C25.552,560.614 20.537,560.624 15.052,552.387 C6.184,548.339 6.747,542.404 12.674,536.185 C6,528.842 8.773,524.481 16.84,521.249" style="stroke:#181818;stroke-width:0.5;" fill="#F1F1F1"/><text x="21.854" y="540.565" fill="#000" font-size="14" textLength="177.782">OpenSearch Web Service</text></g><!--link fast to osws_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0004" id="lnk9" data-source-line="14" data-link-type="dependency"><path d="M747.954,189.42 C628.124,190.87 351.474,200.83 283.744,261.13 C270.694,272.74 266.197,286.68 264.427,302.88" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-osws_s" codeLine="14"/><polygon points="263.884,307.85,268.838,299.338,264.427,302.88,260.885,298.469,263.884,307.85" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="284.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to rdb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0005" id="lnk10" data-source-line="15" data-link-type="dependency"><path d="M748.114,190.49 C690.824,194.67 602.414,209.77 547.744,261.13 C534.794,273.29 529.128,287.127 525.618,303.087" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-rdb_s" codeLine="15"/><polygon points="524.544,307.97,530.384,300.039,525.618,303.087,522.57,298.321,524.544,307.97" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="548.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to gdb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0006" id="lnk11" data-source-line="16" data-link-type="dependency"><path d="M801.834,219.71 C800.974,236.87 800.264,258.69 800.744,278.13 C800.984,287.77 801.176,293.267 801.666,302.767" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-gdb_s" codeLine="16"/><polygon points="801.924,307.76,805.455,298.566,801.666,302.767,797.465,298.978,801.924,307.76" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="801.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to ddb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0007" id="lnk12" data-source-line="17" data-link-type="dependency"><path d="M841.954,220.08 C848.594,224.33 855.654,228.23 862.744,231.13 C940.244,262.83 981.164,211.68 1048.744,261.13 C1064.144,272.4 1072.174,286.804 1078.064,303.204" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-ddb_s" codeLine="17"/><polygon points="1079.754,307.91,1080.476,298.088,1078.064,303.204,1072.947,300.792,1079.754,307.91" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="1064.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link fast to kvdb_s--><g class="link" data-entity-1="ent0003" data-entity-2="ent0008" id="lnk13" data-source-line="18" data-link-type="dependency"><path d="M840.744,220.05 C847.694,224.48 855.174,228.44 862.744,231.13 C957.804,264.91 1227.444,212.32 1315.744,261.13 C1334.454,271.47 1346.096,286.639 1355.456,303.489" style="stroke:#181818;stroke-width:1;" fill="none" id="fast-to-kvdb_s" codeLine="18"/><polygon points="1357.884,307.86,1357.01,298.05,1355.456,303.489,1350.017,301.935,1357.884,307.86" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/><text x="1336.744" y="274.197" fill="#000" font-size="13" textLength="242.131">project.entry-points."stacapi.service"</text></g><!--link GMN14 to stac_api_protocol--><g class="link" data-entity-1="ent0015" data-entity-2="ent0002" id="lnk16" data-source-line="22" data-link-type="association"><path d="M110.484,145.09 C132.534,118.04 164.884,85.54 202.244,70.5 C275.004,41.19 1545.474,32.75 1614.244,70.5 C1625.431,76.643 1632.735,86.546 1637.371,98.068 C1638.53,100.949 1639.522,103.931 1640.366,106.981 C1640.788,108.506 1641.174,110.047 1641.524,111.602 C1641.7,112.379 1641.866,113.16 1642.025,113.943" style="stroke:#181818;stroke-width:1;stroke-dasharray:7,7;" fill="none" id="GMN14-stac_api_protocol"/></g><!--link http to stac_api_protocol--><g class="link" data-entity-1="ent0001" data-entity-2="ent0002" id="lnk17" data-source-line="29" data-link-type="association"><path d="M1639.744,22.85 C1639.744,31.145 1639.744,45.316 1639.744,61.969 C1639.744,70.296 1639.744,79.243 1639.744,88.386 C1639.744,92.957 1639.744,97.578 1639.744,102.194 C1639.744,104.502 1639.744,106.81 1639.744,109.109 C1639.744,110.259 1639.744,111.407 1639.744,112.552 C1639.744,112.839 1639.744,113.125 1639.744,113.411" style="stroke:#181818;stroke-width:1;" fill="none" id="http-stac_api_protocol" codeLine="29"/><text x="1640.744" y="86.067" fill="#000" font-size="13" textLength="65.635">STAC APIs</text></g><!--link table_a to dia--><g class="link" data-entity-1="ent0020" data-entity-2="ent0022" id="lnk23" data-source-line="37" data-link-type="dependency"><path d="M329.184,535.72 C340.574,535.72 346.974,535.72 358.374,535.72" style="stroke:#181818;stroke-width:1;" fill="none" id="table_a-to-dia" codeLine="37"/><polygon points="363.374,535.72,354.374,531.72,358.374,535.72,354.374,539.72,363.374,535.72" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link dia to table_n--><g class="link" data-entity-1="ent0022" data-entity-2="ent0021" id="lnk24" data-source-line="38" data-link-type="dependency"><path d="M388.404,535.72 C399.794,535.72 406.184,535.72 417.574,535.72" style="stroke:#181818;stroke-width:1;" fill="none" id="dia-to-table_n" codeLine="38"/><polygon points="422.574,535.72,413.574,531.72,417.574,535.72,413.574,539.72,422.574,535.72" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link Node1 to Node2--><g class="link" data-entity-1="ent0026" data-entity-2="ent0027" id="lnk29" data-source-line="46" data-link-type="dependency"><path d="M668.944,535.72 C680.164,535.72 686.384,535.72 697.604,535.72" style="stroke:#181818;stroke-width:1;" fill="none" id="Node1-to-Node2" codeLine="46"/><polygon points="702.604,535.72,693.604,531.72,697.604,535.72,693.604,539.72,702.604,535.72" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link Node1 to NodeN--><g class="link" data-entity-1="ent0026" data-entity-2="ent0028" id="lnk30" data-source-line="47" data-link-type="dependency"><path d="M644.684,561.03 C653.784,585.79 666.077,619.248 675.157,643.928" style="stroke:#181818;stroke-width:1;" fill="none" id="Node1-to-NodeN" codeLine="47"/><polygon points="676.884,648.62,677.53,638.792,675.157,643.928,670.022,641.555,676.884,648.62" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link Node2 to NodeN--><g class="link" data-entity-1="ent0027" data-entity-2="ent0028" id="lnk31" data-source-line="48" data-link-type="dependency"><path d="M726.804,561.03 C717.704,585.79 705.398,619.247 696.328,643.927" style="stroke:#181818;stroke-width:1;" fill="none" id="Node2-to-NodeN" codeLine="48"/><polygon points="694.604,648.62,701.463,641.552,696.328,643.927,693.954,638.793,694.604,648.62" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link d1 to dn--><!--link osws_s to osws--><g class="link" data-entity-1="ent0004" data-entity-2="ent0018" id="lnk38" data-source-line="64" data-link-type="dependency"><path d="M239.504,371.21 C208.574,410.48 158.927,473.532 131.527,508.322" style="stroke:#181818;stroke-width:1;" fill="none" id="osws_s-to-osws" codeLine="64"/><polygon points="128.434,512.25,137.145,507.654,131.527,508.322,130.86,502.705,128.434,512.25" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link rdb_s to rdb--><g class="link" data-entity-1="ent0005" data-entity-2="ent0019" id="lnk39" data-source-line="65" data-link-type="dependency"><path d="M521.534,371.21 C521.881,384.693 522.312,401.442 522.765,419.034 C522.992,427.829 523.224,436.836 523.453,445.75 C523.568,450.207 523.553,449.642 523.666,454.015" style="stroke:#181818;stroke-width:1;" fill="none" id="rdb_s-to-rdb" codeLine="65"/><polygon points="523.794,459.014,527.561,449.914,523.666,454.015,519.564,450.119,523.794,459.014" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link gdb_s to gdb--><g class="link" data-entity-1="ent0006" data-entity-2="ent0025" id="lnk40" data-source-line="66" data-link-type="dependency"><path d="M803.744,371.21 C803.744,384.693 803.744,401.442 803.744,419.034 C803.744,427.829 803.744,436.836 803.744,445.75 C803.744,447.978 803.744,445.201 803.744,447.413" style="stroke:#181818;stroke-width:1;" fill="none" id="gdb_s-to-gdb" codeLine="66"/><polygon points="803.744,452.413,807.744,443.413,803.744,447.413,799.744,443.413,803.744,452.413" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link ddb_s to ddb--><g class="link" data-entity-1="ent0007" data-entity-2="ent0032" id="lnk41" data-source-line="67" data-link-type="dependency"><path d="M1087.744,371.21 C1087.744,384.693 1087.744,401.442 1087.744,419.034 C1087.744,427.829 1087.744,436.836 1087.744,445.75 C1087.744,447.978 1087.744,450.201 1087.744,452.413 C1087.744,453.519 1087.744,454.623 1087.744,455.723 C1087.744,456.273 1087.744,451.823 1087.744,452.371" style="stroke:#181818;stroke-width:1;" fill="none" id="ddb_s-to-ddb" codeLine="67"/><polygon points="1087.744,457.371,1091.744,448.371,1087.744,452.371,1083.744,448.371,1087.744,457.371" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><!--link kvdb_s to kvdb--><g class="link" data-entity-1="ent0008" data-entity-2="ent0036" id="lnk42" data-source-line="68" data-link-type="dependency"><path d="M1371.744,371.21 C1371.744,384.693 1371.744,401.442 1371.744,419.034 C1371.744,423.432 1371.744,427.882 1371.744,432.347 C1371.744,434.58 1371.744,436.816 1371.744,439.052 C1371.744,440.169 1371.744,441.287 1371.744,442.403 C1371.744,442.683 1371.744,437.962 1371.744,438.241" style="stroke:#181818;stroke-width:1;" fill="none" id="kvdb_s-to-kvdb" codeLine="68"/><polygon points="1371.744,443.241,1375.744,434.241,1371.744,438.241,1367.744,434.241,1371.744,443.241" fill="#181818" style="stroke:#181818;stroke-width:1;stroke-linejoin:miter;stroke-miterlimit:10;"/></g><?plantuml-src fLDDRnCn4BtFhnZv14WRj3b69L9fLQWG8M8ZE20KUTTEik1TMxRJ4bNzxuoz7-pI91BqO7cUPzwCFNx3bTBtLVchhBS0BruYUxzQBHboXpll3K2XAwDhMNjasUho2Y-NjvZWqcgl2wrYeFEyM7DJharxYW_7Q2u6RxZpU75nGnkTpUUZ2f-Ch3F9RR6BiThTkxMZw4pQkxAG53q8_YmLzwMkkS9hxlbRxcHaMP6V9hspt3J9j-V2hdMnhu8roYpEKJx8m-ilNEqbPbxRXl3pxWa3OWEIPDwzReQCKUD-oC9FA94z94QNjNSJ5lfARPsuXimO-qDk7lb_tEqpkE8PtBOR_qH-1AYrbwZangFUFDKQP7jZjFKEEvtDu1LUqG_4JIagGo9nX6uaztihWtdhPOMDqa3M0aCDWA1ukkaHGS_wx8u4g_HU3CMANsMExHVtmWKGf9sSj7DMgZGhEW-zGBRYkPAOHeyFzfh_vLiCV3M8abUQBayxjF4OleWWhM1saO_3oun6WChJQwd12oraEh2d0ti14DqXPUDhOOiN4Ky7U5Jmv31HSMvzkU75SEIQ1eZqcAzfWA2tK_Llkr88MNzFmi6eugbPf88LDvIF8kDXTVX8-068aEAREKPI6k2qXrFAJTdRSUqc5ve9R6SHjZqY2qIFo89Mzzq8_0O0?></g></svg>
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
@startuml
|
|
2
|
+
allowmixing
|
|
3
|
+
|
|
4
|
+
() "HTTP" as http
|
|
5
|
+
|
|
6
|
+
component "STAC API - Protocol" as stac_api_protocol {
|
|
7
|
+
component "STAC APIs" as fast <<FastAPI>>
|
|
8
|
+
|
|
9
|
+
component "OpenSearch" as osws_s <<Service>>
|
|
10
|
+
component "Relational DataBase" as rdb_s <<Service>>
|
|
11
|
+
component "Graph" as gdb_s <<Service>>
|
|
12
|
+
component "Document DataBase" as ddb_s <<Service>>
|
|
13
|
+
component "Key/Value Store" as kvdb_s <<Service>>
|
|
14
|
+
|
|
15
|
+
fast --> osws_s : ""project.entry-points."stacapi.service"""
|
|
16
|
+
fast --> rdb_s : ""project.entry-points."stacapi.service"""
|
|
17
|
+
fast --> gdb_s : ""project.entry-points."stacapi.service"""
|
|
18
|
+
fast --> ddb_s : ""project.entry-points."stacapi.service"""
|
|
19
|
+
fast --> kvdb_s : ""project.entry-points."stacapi.service"""
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
note left of stac_api_protocol
|
|
23
|
+
Supports STAC API:
|
|
24
|
+
* Core
|
|
25
|
+
* Collections
|
|
26
|
+
* Features
|
|
27
|
+
* Item Search
|
|
28
|
+
end note
|
|
29
|
+
|
|
30
|
+
http -- stac_api_protocol : STAC APIs
|
|
31
|
+
|
|
32
|
+
cloud "OpenSearch Web Service" as osws
|
|
33
|
+
|
|
34
|
+
database "Relational DataBase" as rdb {
|
|
35
|
+
object "Table 1" as table_a
|
|
36
|
+
object "Table N" as table_n
|
|
37
|
+
diamond dia
|
|
38
|
+
table_a -> dia
|
|
39
|
+
dia -> table_n
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
database "Graph" as gdb {
|
|
43
|
+
state Node1
|
|
44
|
+
state Node2
|
|
45
|
+
state NodeN
|
|
46
|
+
|
|
47
|
+
Node1 -> Node2
|
|
48
|
+
Node1 --> NodeN
|
|
49
|
+
Node2 --> NodeN
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
database "Document DataBase" as ddb {
|
|
53
|
+
artifact "Document 1" as d1
|
|
54
|
+
artifact "Document N" as dn
|
|
55
|
+
d1 -[hidden]- dn
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
database "Key/Value Store" as kvdb {
|
|
59
|
+
map "Data" as myMap {
|
|
60
|
+
Key1 => Value1
|
|
61
|
+
Key2 => Value2
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
osws_s --> osws
|
|
66
|
+
rdb_s --> rdb
|
|
67
|
+
gdb_s --> gdb
|
|
68
|
+
ddb_s --> ddb
|
|
69
|
+
kvdb_s --> kvdb
|
|
70
|
+
|
|
71
|
+
@enduml
|
|
@@ -29,11 +29,12 @@ between the HTTP adapter and an adopter's catalogue application. It is an abstra
|
|
|
29
29
|
two final metadata methods. Adopters subclass it and supply a catalogue identifier,
|
|
30
30
|
title, and description. Incomplete subclasses cannot be instantiated.
|
|
31
31
|
|
|
32
|
-
The shared landing-page method
|
|
33
|
-
links. This is an HTTP coupling in the current service contract; catalogue search
|
|
32
|
+
The shared landing-page method builds root-relative links. Catalogue search
|
|
34
33
|
and retrieval operations remain independent of FastAPI request objects. The
|
|
35
|
-
conformance method returns a fixed declaration of the
|
|
36
|
-
classes,
|
|
34
|
+
conformance method returns a fixed declaration of the bundled STAC and OGC
|
|
35
|
+
classes, including Filter Extension capabilities since version 0.2.0. The adapter
|
|
36
|
+
handles the Filter protocol; each adopter must implement the advertised filtering
|
|
37
|
+
semantics. See the [service contract](../reference/api.md#filter-extension-support-since-020).
|
|
37
38
|
|
|
38
39
|
```text
|
|
39
40
|
HTTP client
|
|
@@ -67,7 +68,7 @@ implementation at runtime through an installed Python entry point.
|
|
|
67
68
|
| Provider factory | Construct or obtain a configured service and supply it to the HTTP adapter. |
|
|
68
69
|
|
|
69
70
|
Keep FastAPI responses and dependency injection out of your catalogue business
|
|
70
|
-
logic.
|
|
71
|
+
logic. Service methods receive ordinary
|
|
71
72
|
filter values and return the
|
|
72
73
|
STAC objects specified by the port. If your domain uses different objects, map
|
|
73
74
|
them to these types at the service boundary. The port intentionally uses PySTAC,
|