-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Pin pygeoapi to 0.16.1. - Update debian/control - Update flake8.yml for Python 3.8, updated actions/checkout and actions/setup-python version. Run flake8 on current diurectory and all subdirectories - Update README and deploy-nightly.sh - Use custom ES provider instead of pygeoapi ES provider, subclassed from pygeoapi ElasticsearchProvider - Update config.yml to use WOUDC_API_ES_INDEX_PREFIX env - Improved deploy-nightly.sh script - Permission changes to deploy
- Loading branch information
Kevin Ngai
committed
Jul 25, 2024
1 parent
4b0f2f7
commit e54fdca
Showing
19 changed files
with
744 additions
and
137 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,12 @@ Priority: optional | |
Maintainer: Tom Kralidis <[email protected]> | ||
Build-Depends: debhelper (>= 9), python3, python3-setuptools, curl, unzip | ||
Standards-Version: 3.9.5 | ||
X-Python-Version: >= 3.6 | ||
X-Python-Version: >= 3.8 | ||
Vcs-Git: https://github.com/woudc/woudc-api.git | ||
|
||
Package: woudc-api | ||
Architecture: all | ||
Depends: elasticsearch (>=7), elasticsearch (<8), libapache2-mod-wsgi-py3, python3, python3-flask, python3-pygeoapi, woudc-extcsv | ||
Suggests: python3-elasticsearch (>=7), python3-elasticsearch (<8) | ||
Depends: elasticsearch (>=8), elasticsearch (<9), libapache2-mod-wsgi-py3, python3, python3-flask, python3-pygeoapi, woudc-extcsv | ||
Suggests: python3-elasticsearch (>=8), python3-elasticsearch (<9) | ||
Homepage: https://woudc.org | ||
Description: WMO WOUDC REST API |
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,6 +1,6 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
set -e | ||
|
||
USERNAME="woudcuser" | ||
GROUP="www-data" | ||
|
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,7 +1,10 @@ | ||
export WOUDC_API_BIND_HOST=0.0.0.0 | ||
export WOUDC_API_BIND_PORT=5000 | ||
export WOUDC_API_URL=http://localhost:5000/oapi | ||
export WOUDC_API_ES_URL=http://localhost:9200 | ||
export WOUDC_API_ES_USERNAME=elasticsearch | ||
export WOUDC_API_ES_PASSWORD=<secret> | ||
export WOUDC_API_ES_URL=http://${WOUDC_API_ES_USERNAME}:${WOUDC_API_ES_PASSWORD}@localhost:9200 | ||
export WOUDC_API_ES_INDEX_PREFIX=woudc_data_registry | ||
export WOUDC_API_OGC_SCHEMAS_LOCATION=/opt/woudc-api/schemas.opengis.net | ||
export PYGEOAPI_CONFIG=/path/to/woudc-api-config.yml | ||
export PYGEOAPI_OPENAPI=/path/to/woudc-api-openapi.yml |
Oops, something went wrong.