Skip to content

feat: custom STAC API runtime with collection transactions enabled#97

Merged
hrodmn merged 13 commits into
mainfrom
feat/stac-api-collection-transactions
May 29, 2026
Merged

feat: custom STAC API runtime with collection transactions enabled#97
hrodmn merged 13 commits into
mainfrom
feat/stac-api-collection-transactions

Conversation

@hrodmn
Copy link
Copy Markdown
Collaborator

@hrodmn hrodmn commented May 15, 2026

This PR adds a custom STAC API runtime for MAAP that we need in order to enable the transactions extension (for /collections routes only). The plan is to enable collection transactions for the DPS (User) STAC first so users on the MAAP Console can "reserve" collections in the DPS STAC by posting them to the DPS STAC API (via MAAP API). The assumption is that collection-wise authentication will be managed on the JPL side.

I set it up to store a basic auth username/password (stored in secrets manager) for now but eventually we will move to a more advanced authentication scheme that will work with the MAAP Keycloak.

Here is a view of the protected endpoints in the swagger ui!
image

While I was in here I updated some of our unit testing CI and added a local docker network that we can use to test locally.

resolves #98

@hrodmn hrodmn self-assigned this May 15, 2026
@hrodmn hrodmn requested a review from jjfrench May 15, 2026 20:43
@hrodmn hrodmn marked this pull request as ready for review May 15, 2026 20:43
Comment thread .github/workflows/tests.yml Outdated
Comment thread cdk/runtimes/eoapi/stac/eoapi/stac/auth.py
Comment thread cdk/runtimes/eoapi/stac/eoapi/stac/auth.py
Comment thread cdk/runtimes/eoapi/stac/eoapi/stac/handler.py Outdated
@hrodmn hrodmn deployed to synthtest May 27, 2026 20:12 — with GitHub Actions Active
@jjfrench jjfrench self-requested a review May 29, 2026 18:55
@hrodmn hrodmn merged commit ec55da9 into main May 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enable transactions extension (with auth) for /collections routes

2 participants