-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support creating ItemCollections in Transaction Extension (#35)
* Align dev container app path with image The image copies the root project to /app and matching that through docker-compose allows host file updates to be copied without rebuilding the image. * Implement POST ItemCollection for Transaction Ext Updates to the transaction spec indicate POST against items should allow ItemCollection. * Add consistent validation for item and collection In the transaction extension, Items and Collection can't have mismatched ids from the path, but should have the path collection id applied if it is missing. Ids for both are also not allowed to be a "percent encoded" value per RFC 3986. * Add transaction tests * Changelog * Align respose type for create Item/ItemCollection The spec leaves the return type for Item creation open to the implementation. This change unifies the response of both Item/ItemCollection POST requests to return an empty response with a Location header for the newly created single Item, in that case. * Allow override of valid item/collection ids Use a setting value instead of a constant so that IDs could be set per instance. * Walk back some response unification After realizing the extent of the breaking change resulting from a unified response between Item/ItemCollection Tx endpoint, restoring the original behavior. * Upgdate dev pgstac version * isort lint * deps: soft pin the stac-fastapi versions --------- Co-authored-by: Pete Gadomski <[email protected]>
- Loading branch information
1 parent
2744ba2
commit 862f59e
Showing
7 changed files
with
286 additions
and
36 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
Oops, something went wrong.