Skip to content

Commit a388c79

Browse files
Merge branch 'main' into Database_authorization_capability_with_SSL_disabled
2 parents 295694b + 3930769 commit a388c79

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2475
-1681
lines changed

.github/workflows/cicd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ jobs:
9696
run: |
9797
pip install ./stac_fastapi/core
9898
99+
- name: Install helpers library stac-fastapi
100+
run: |
101+
pip install ./stac_fastapi/sfeos_helpers
102+
99103
- name: Install elasticsearch stac-fastapi
100104
run: |
101105
pip install ./stac_fastapi/elasticsearch[dev,server]

.github/workflows/deploy_mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
python -m pip install --upgrade pip
3131
python -m pip install \
3232
stac_fastapi/core \
33+
stac_fastapi/sfeos_helpers \
3334
stac_fastapi/elasticsearch[docs] \
3435
stac_fastapi/opensearch \
3536

.github/workflows/publish.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,18 @@ jobs:
3535
# Publish to PyPI
3636
twine upload dist/*
3737
38+
- name: Build and publish sfeos_helpers
39+
working-directory: stac_fastapi/sfeos_helpers
40+
env:
41+
TWINE_USERNAME: "__token__"
42+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
43+
run: |
44+
# Build package
45+
python setup.py sdist bdist_wheel
46+
47+
# Publish to PyPI
48+
twine upload dist/*
49+
3850
- name: Build and publish stac-fastapi-elasticsearch
3951
working-directory: stac_fastapi/elasticsearch
4052
env:

CHANGELOG.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,37 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
89
## [Unreleased]
910

11+
### Changed
12+
13+
- Updated mkdocs/ sfeos doucmentation page [#386](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/386)
14+
15+
## [v5.0.0a0] - 2025-05-29
16+
1017
### Added
1118

19+
- Created new `sfeos_helpers` package to improve code organization and maintainability [#376](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/376)
20+
- Added introduction section - What is stac-fastapi-elasticsearch-opensearch? - to README [#384](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/384)
21+
1222
### Changed
1323

24+
- Refactored utility functions into dedicated modules within `sfeos_helpers` [#376](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/376):
25+
- Created `database` package with specialized modules for index, document, and utility operations
26+
- Created `aggregation` package for Elasticsearch/OpenSearch-specific aggregation functionality
27+
- Moved shared logic from core module to helper functions for better code reuse
28+
- Separated utility functions from constant mappings for clearer code organization
29+
- Updated documentation to reflect recent code refactoring [#376](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/376)
30+
- Improved README documentation with consistent formatting and enhanced sections [#381](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/381):
31+
- Added sfeos logo and banner
32+
- Added a comprehensive Quick Start guide
33+
- Reorganized sections for better navigation
34+
- Reformatted content with bullet points for improved readability
35+
- Added more detailed examples for API interaction
36+
1437
### Fixed
1538

16-
1739
## [v4.2.0] - 2025-05-15
1840

1941
### Added
@@ -388,7 +410,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
388410
- Use genexp in execute_search and get_all_collections to return results.
389411
- Added db_to_stac serializer to item_collection method in core.py.
390412

391-
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v4.2.0...main
413+
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v5.0.0a0...main
414+
[v5.0.0a0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v4.2.0...v5.0.0a0
392415
[v4.2.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v4.1.0...v4.2.0
393416
[v4.1.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v4.0.0...v4.1.0
394417
[v4.0.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v3.2.5...v4.0.0

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ pybase-install:
9595
pip install -e ./stac_fastapi/api[dev] && \
9696
pip install -e ./stac_fastapi/types[dev] && \
9797
pip install -e ./stac_fastapi/extensions[dev] && \
98-
pip install -e ./stac_fastapi/core
98+
pip install -e ./stac_fastapi/core && \
99+
pip install -e ./stac_fastapi/sfeos_helpers
99100

100101
.PHONY: install-es
101102
install-es: pybase-install

README.md

Lines changed: 427 additions & 251 deletions
Large diffs are not rendered by default.

assets/STAC-01.png

55 KB
Loading

assets/VITO.png

9.26 KB
Loading

assets/elasticsearch.png

81.9 KB
Loading

assets/fastapi.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)