-
Notifications
You must be signed in to change notification settings - Fork 50
Add the Multi-Tenant Catalogs Endpoint Extension, for nested catalog support #366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jonhealy1
wants to merge
51
commits into
stac-utils:main
Choose a base branch
from
jonhealy1:stac-fastapi-catalogs-extension
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
6570957
route extension, create, get catalogs
jonhealy1 e05c740
>= python 3.12
jonhealy1 ad1ccb6
Merge branch 'main' into stac-fastapi-catalogs-extension
jonhealy1 0964ec0
Merge branch 'main' into stac-fastapi-catalogs-extension
jonhealy1 ee18b97
update to catalogs extension v0.1.3
jonhealy1 f127857
Merge branch 'stac-fastapi-catalogs-extension' of https://github.com/…
jonhealy1 19a166a
lint
jonhealy1 366cf7d
add to dev deps
jonhealy1 7e43b20
change class name
jonhealy1 1e3409b
sub-catalog scratch
jonhealy1 6487974
advertise ports
jonhealy1 8fc5d83
sub-catalog links, tests
jonhealy1 7237f29
lint
jonhealy1 e8b4503
ensure parent_ids list not returned
jonhealy1 080e3fe
switch to collection_search pgstac
jonhealy1 59b10e1
transaction routes scratch
jonhealy1 2cc1488
fix poly-hierarchy
jonhealy1 a3ac186
clean up tests
jonhealy1 2a5fed6
more test clean up
jonhealy1 a17e996
update docstrings
jonhealy1 d055d82
check, test links
jonhealy1 050fab2
lint
jonhealy1 c7fe5af
Merge branch 'main' into stac-fastapi-catalogs-extension
jonhealy1 4a9e45d
revert changes to compose, makefile
jonhealy1 7fec995
fix get all catalogs pagination
jonhealy1 df73ea7
qa fixes, pagination, items
jonhealy1 f95b8e5
qa, sub-catalogs
jonhealy1 19b0935
qa /children
jonhealy1 bfefc02
update tests
jonhealy1 9f5d2fa
qa catalog collections
jonhealy1 107a283
unlink sub-catalogs, collections
jonhealy1 ebc3411
lint, re factor links
jonhealy1 3e5c72a
lint
jonhealy1 d564167
lint
jonhealy1 c4defa8
ai review
jonhealy1 424014e
update changelog
jonhealy1 5af37fc
add to mkdocs
jonhealy1 f3d3e2d
return 409 conflict
jonhealy1 938e2f3
fix conformance classes
jonhealy1 4c5aec1
Merge branch 'main' into stac-fastapi-catalogs-extension
jonhealy1 8418971
fix parent_ids in collection
jonhealy1 07c7122
pop parent_ids from core collections routes
jonhealy1 623d068
fix self link logic
jonhealy1 5041db2
add items and queryables links
jonhealy1 b8479c9
lint
jonhealy1 f933623
use settings in app.py
jonhealy1 1372576
raise error
jonhealy1 71b4d03
ensure extension available in tests
jonhealy1 4f4dfef
update to catalogs extension v0.2.0
jonhealy1 0727347
add documentation
jonhealy1 5bd245a
change to ENABLE_CATALOGS_EXTENSION
jonhealy1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ::: stac_fastapi.pgstac.extensions.catalogs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,15 @@ | ||
| """pgstac extension customisations.""" | ||
|
|
||
| from .catalogs.catalogs_client import CatalogsClient | ||
| from .catalogs.catalogs_database_logic import CatalogsDatabaseLogic | ||
| from .filter import FiltersClient | ||
| from .free_text import FreeTextExtension | ||
| from .query import QueryExtension | ||
|
|
||
| __all__ = ["QueryExtension", "FiltersClient", "FreeTextExtension"] | ||
| __all__ = [ | ||
| "QueryExtension", | ||
| "FiltersClient", | ||
| "FreeTextExtension", | ||
| "CatalogsClient", | ||
| "CatalogsDatabaseLogic", | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| """Catalogs extension for pgstac.""" | ||
|
|
||
| from .catalogs_client import CatalogsClient | ||
| from .catalogs_database_logic import CatalogsDatabaseLogic | ||
| from .catalogs_links import CatalogLinks, ChildLinks, SubCatalogLinks | ||
|
|
||
| __all__ = [ | ||
| "CatalogsClient", | ||
| "CatalogsDatabaseLogic", | ||
| "CatalogLinks", | ||
| "ChildLinks", | ||
| "SubCatalogLinks", | ||
| ] |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.