-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Phil Varner
committed
Feb 22, 2022
1 parent
6bc2d7a
commit b0252d5
Showing
47 changed files
with
14 additions
and
3,582 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
--sdist | ||
--wheel | ||
--outdir dist/ | ||
stac_fastapi/mongo | ||
stac_fastapi/elasticsearch | ||
- name: Publish distribution to PyPI | ||
# if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ jobs: | |
--sdist | ||
--wheel | ||
--outdir dist/ | ||
stac_fastapi/mongo | ||
stac_fastapi/elasticsearch | ||
- name: Publish distribution to Test PyPI | ||
# if: startsWith(github.ref, 'refs/tags') | ||
uses: pypa/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -128,9 +128,6 @@ dmypy.json | |
# Pyre type checker | ||
.pyre/ | ||
|
||
# mongo db data | ||
/mongo_data | ||
|
||
/esdata | ||
|
||
# Virtualenv | ||
|
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,15 @@ | ||
# stac-fastapi-nosql | ||
# stac-fastapi-elasticsearch | ||
|
||
Elasticsearch and mongodb backends for stac-fastapi. | ||
Elasticsearch backend for stac-fastapi. | ||
|
||
**WIP** This backend is not yet stable (notice no releases yet), so use the pgstac backend instead. | ||
|
||
------ | ||
#### Running API on localhost:8083 | ||
|
||
```docker-compose -f docker-compose.mongo.yml up``` **or** | ||
|
||
```docker-compose -f docker-compose.elasticsearch.yml up``` | ||
|
||
------ | ||
#### Testing | ||
|
||
|
||
```make test-mongo``` **or** | ||
|
||
```make test-es``` |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Requirements | ||
|
||
The Mongo backend requires **mongodb**. | ||
The Elasticsearch backend requires **elasticsearch**. |
2 changes: 1 addition & 1 deletion
2
stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/extensions/__init__.py
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
2 changes: 1 addition & 1 deletion
2
stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/models/__init__.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"""stac_fastapi.mongo.models module.""" | ||
"""stac_fastapi.elasticsearch.models module.""" |
2 changes: 2 additions & 0 deletions
2
stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/types/error_checks.py
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.