Skip to content

Commit f83d670

Browse files
authored
Merge pull request #202 from stac-utils/v2.1.0
v2.1.0
2 parents 67f6151 + 9e2d4ec commit f83d670

File tree

14 files changed

+27
-85
lines changed

14 files changed

+27
-85
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: stac-fastapi-elasticsearch
2+
23
on:
34
push:
45
branches:

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99

1010
### Added
1111

12+
### Changed
13+
14+
### Fixed
15+
16+
17+
## [v2.1.0]
18+
19+
### Added
20+
1221
- Added explicit mapping for ID in `ES_COLLECTIONS_MAPPINGS` [#198](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/198)
1322

1423
### Changed
@@ -128,7 +137,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
128137
- Added db_to_stac serializer to item_collection method in core.py.
129138

130139

131-
[Unreleased]: <https://github.com/stac-utils/stac-fastapi-elasticsearch/tree/v2.0.0...main>
140+
[Unreleased]: <https://github.com/stac-utils/stac-fastapi-elasticsearch/tree/v2.1.0...main>
141+
[v2.1.0]: <https://github.com/stac-utils/stac-fastapi-elasticsearch/tree/v2.0.0...v2.1.0>
132142
[v2.0.0]: <https://github.com/stac-utils/stac-fastapi-elasticsearch/tree/v1.1.0...v2.0.0>
133143
[v1.1.0]: <https://github.com/stac-utils/stac-fastapi-elasticsearch/tree/v1.0.0...v1.1.0>
134144
[v1.0.0]: <https://github.com/stac-utils/stac-fastapi-elasticsearch/tree/v0.3.0...v1.0.0>

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ run_os = docker-compose \
2828

2929
.PHONY: image-deploy-es
3030
image-deploy-es:
31-
docker build -f Dockerfile.dev.es -t stac-fastapi-elasticsearch:latest .
31+
docker build -f dockerfiles/Dockerfile.dev.es -t stac-fastapi-elasticsearch:latest .
3232

3333
.PHONY: image-deploy-os
3434
image-deploy-os:
35-
docker build -f Dockerfile.dev.os -t stac-fastapi-opensearch:latest .
35+
docker build -f dockerfiles/Dockerfile.dev.os -t stac-fastapi-opensearch:latest .
3636

3737
.PHONY: run-deploy-locally
3838
run-deploy-locally:

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# stac-fastapi-elasticsearch-opensearch (sfeos)
22

3-
## Elasticsearch and Opensearch backends for the stac-fastapi project
4-
5-
[![PyPI version](https://badge.fury.io/py/stac-fastapi.elasticsearch.svg)](https://badge.fury.io/py/stac-fastapi.elasticsearch)
3+
## Elasticsearch and Opensearch backends for the stac-fastapi project
4+
5+
[![PyPI version](https://badge.fury.io/py/stac-fastapi.elasticsearch.svg)](https://badge.fury.io/py/stac-fastapi.elasticsearch)
6+
7+
- Our Api core library can be used to create custom backends. See [stac-fastapi-mongo](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo) for a working example.
8+
- Reach out on our [Gitter](https://app.gitter.im/#/room/#stac-fastapi-elasticsearch_community:gitter.im) channel or feel free to add to our [Discussions](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/discussions) page here on github.
69

7-
To install from PyPI:
10+
### To install from PyPI:
811

912
```shell
1013
pip install stac_fastapi.elasticsearch

data_loader/data_loader.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
DATA_DIR = os.path.join(os.path.dirname(__file__), "setup_data/")
1414

1515
backend = sys.argv[1].lower()
16+
1617
if backend == "opensearch":
1718
STAC_API_BASE_URL = "http://localhost:8082"
1819
elif backend == "elasticsearch":

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ services:
77
restart: always
88
build:
99
context: .
10-
dockerfile: Dockerfile.dev.es
10+
dockerfile: dockerfiles/Dockerfile.dev.es
1111
environment:
1212
- APP_HOST=0.0.0.0
1313
- APP_PORT=8080
@@ -36,7 +36,7 @@ services:
3636
restart: always
3737
build:
3838
context: .
39-
dockerfile: Dockerfile.dev.os
39+
dockerfile: dockerfiles/Dockerfile.dev.os
4040
environment:
4141
- APP_HOST=0.0.0.0
4242
- APP_PORT=8082
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

scripts/publish

Lines changed: 0 additions & 73 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.0.0"
2+
__version__ = "2.1.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.0.0"
2+
__version__ = "2.1.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "2.0.0"
2+
__version__ = "2.1.0"

0 commit comments

Comments
 (0)