Commit Graph

675 Commits

Author SHA1 Message Date
Tom Kralidis 2cb68277f9 fix flake8 and add MIME types to lambda setup (#781)
* fix flake8 and add MIME types to lambda setup

* add fixes per #660)
2021-09-19 19:22:02 -04:00
Chris Barrett db3d4f9502 Support for building pygeoapi as a lambda container and deploying to AWS Lambda (#2) (#709) 2021-09-19 19:10:17 -04:00
Tom Kralidis 9b8d86e914 Merge pull request #780 from tomkralidis/html-safe-attribution
mark HTML as safe in templates
2021-09-19 07:24:14 -04:00
Tom Kralidis ad6e3935f7 mark HTML as safe in templates 2021-09-19 07:18:57 -04:00
Tom Kralidis 9b49ddb144 Merge pull request #779 from GeoSander/fix-769
Language structs (dicts) must consist of valid locale keys only (#769)
2021-09-19 07:13:20 -04:00
Sander Schaminee d2d5ce794a Language structs (dicts) must consist of valid locale keys only (#769) 2021-09-19 00:30:20 +02:00
Tom Kralidis a67d0d4c2d Merge pull request #773 from eurodatacube/fix-jobs-link
Fixed an issue with navigation in job templates
2021-09-13 18:25:06 -04:00
Tom Kralidis 13926977a2 Merge pull request #774 from webb-ben/sta-patch
small SensorThings provider patches
2021-09-13 18:24:45 -04:00
Tom Kralidis 3a1a28d260 Merge pull request #777 from tomkralidis/issue-775
fix OpenAPI JSON file rendering (#775)
2021-09-13 14:31:12 -04:00
Tom Kralidis 652ecfedf7 fix OpenAPI JSON file rendering (#775) 2021-09-13 14:26:05 -04:00
Tom Kralidis 0d3c0b5ee9 Merge pull request #776 from tomkralidis/tinydb-oarec-updates
OARec and TinyDB updates
2021-09-13 13:43:43 -04:00
Tom Kralidis 56411f7327 update to latest OARec metadata model updates 2021-09-13 13:36:53 -04:00
Tom Kralidis dcc8c64639 bind TinyDB item query to record GeoJSON id required property 2021-09-13 13:36:40 -04:00
Tom Kralidis cfb41b2e07 map geometry queryables to GeoJSON schema 2021-09-13 13:34:20 -04:00
Benjamin Webb 07a23928ff Update test_sensorthings_provider.py 2021-09-09 13:52:21 -04:00
Benjamin Webb 701c34a64f Patch sta provider
Fixes the STA provider when there is a stac-collection or process in the resources block. Also iterates through to return as many hits as specified by pygeoapi. This happened when the sta provider had an internal limit lower than the requested number of items.
2021-09-09 13:45:54 -04:00
Bernhard Mallinger 9662702ae3 Fixed an issue with navigation in job templates
On the job detail page (`/processes/PROCESS/jobs/JOB`), the link to "Jobs" used to be `./`. This
creates the url `/processes/PROCESS/jobs/`.

On that page, the link to "Jobs" is `./jobs`, which then leads you to
`/processes/PROCESS/jobs/jobs`. This however is the URL for the job with
the id `jobs`.

This patch fixes this by changing the link to jobs on the job detail page to `../jobs`.

I'm not sure if this is the best fix. Just using `.` as link doesn't seem to lead to the
desired outcome, it also generates the link `/processes/PROCESS/jobs/`.
2021-09-09 16:21:19 +02:00
Tom Kralidis 774ff49f00 update translations (#760) (#762)
* update translations (#760)

* fix syntax

* update translations

* update docs

* fix typos
2021-09-01 09:02:28 -04:00
Tom Kralidis cf9bd223eb Update plugins.rst (#770) 2021-08-31 10:11:31 -04:00
Tom Kralidis 70edc3c0f2 update TinyDB q= support for multiple terms (#765) 2021-08-26 16:30:46 -04:00
Tom Kralidis 1ff9dfa3bb update id field passing to HTML template (#764) 2021-08-25 08:24:28 -04:00
Tom Kralidis 6fb64e6a46 fix JSON filter in HTML items/item templates (#761) (#763) 2021-08-25 07:22:53 -04:00
Tom Kralidis 6dcd10b10a test for item prev and next links on item queries (#752) (#757) 2021-08-25 06:34:39 -04:00
Alexandre Leroux 719201241a updates to French translation (#759) 2021-08-24 06:37:03 -04:00
paul van genuchten 995ab2f04d add translation system to pygeoapi (#725)
* adds translation keys to templates

* adds translation keys to templates

* suggestions from github pr 2
2021-08-22 20:42:10 -04:00
Tom Kralidis bc97ed480a add geometry to queryables (#755) 2021-08-22 08:28:56 -04:00
Tom Kralidis 9d920901b5 update OAProc execute handling (#754)
* fix OAProc default output to raw

* control outputs list from api machinery

* fix tests
2021-08-18 15:28:55 -04:00
Tom Kralidis 6ee727bf1d Create SECURITY.md (#749)
* Create SECURITY.md

* Update SECURITY.md

* Update SECURITY.md
2021-08-13 15:48:35 -04:00
Fabio Zeiser 0ac6962eab Fixes #750, rerieval of path attribute in starlette (#751) 2021-08-10 06:48:46 -04:00
Francesco Bartoli c5942f7a13 Fix time format in cite configuration (#748) 2021-08-02 07:27:48 -04:00
Tom Kralidis 6b0f137690 simplify OAProc parameter handling (#746) 2021-07-23 21:03:51 -04:00
Tom Kralidis 5359789f13 fix OARec test data (#745)
* fix OARec test data

* fix TinyDB bbox handling

* add missing OACov conformance test
2021-07-23 14:50:34 -04:00
Tom Kralidis 914756666c OARec bbox should be two arrays, not three (#744) 2021-07-23 13:39:39 -04:00
Benjamin Webb 3efa041c54 Patch SensorThings API Tests (#737) 2021-07-22 19:11:25 -04:00
Francesco Bartoli 0cf564080a Fix typo (#743) 2021-07-22 19:11:05 -04:00
Jo cf4517c1c2 - update the script that loads data to ES, to support data encoded with utf8 (#742) 2021-07-22 19:10:38 -04:00
Jo 3625c855ae - Switched to python3, when loading records to the ES docker (#741) 2021-07-22 19:10:06 -04:00
Jo f9c10a0808 Updating ES Dockerfile (#739)
* - updating ES dockerfile, by adding missing packages and switching to python3

* - joined commands to reduce layers on the docker image
- fixed formatting
- added elasticsearch-dsl

Co-authored-by: doublebyte1 <info@doublebyte.net>
2021-07-22 13:30:03 -04:00
Francesco Bartoli d75aa0ddbd Update Dockerfile (#738) 2021-07-22 11:14:52 -04:00
Tom Kralidis 00a08e05ba update OAProc content models (#735) 2021-07-22 15:13:09 +02:00
Francesco Bartoli cdc4f98090 Fix OAProc conformance classes (#736)
* Fix OAProc conformance classes

* Fix conformance test
2021-07-22 09:06:47 -04:00
Francesco Bartoli bb4cd0bf69 Add cql-json support for ES (#723)
Fix starlette event loop


Fix starlette event loop


Fix starlette event loop


Fix starlette event loop


Fix provider regression


Make method public


Make method public


Move function to the helpers utility


Add the CQL lifecycle for development


Add CQL docs


Fix flake8


Isolate import for starlette codepath
2021-07-21 21:00:14 -04:00
Tom Kralidis 0f38c764d6 update OAProc to latest specification (#732)
* update OAProc to latest specification

* fix flake8

* test
2021-07-21 12:18:08 -04:00
Tom Kralidis f01dfd38a7 fix response for non-existent collections (#722) (#730) 2021-07-20 09:41:59 +02:00
Tom Kralidis 65de735ef3 fix CI by pinning to pandas 1.2.5 (#729)
* pin pandas

* fix

* fix

* fix
2021-07-19 23:32:34 -04:00
Ari Pollak d4f2b74505 Make FileSystem tests a bit more detailed (#727) 2021-07-19 22:08:44 -04:00
Ari Pollak 598630bce1 Add missing ports to first docker-compose example (#726)
This was present in the second example but should also be needed for the first one.
2021-07-19 21:34:00 -04:00
Tom Kralidis 83ea3d3959 fix docs 2021-07-06 17:20:23 -04:00
Benjamin Webb 8f8d19c5f8 Sensorthings API Provider (#721)
* Create sensorthings.py

* Update plugin.py

* Add files via upload

* Update sensorthings.py

* Add files via upload

* Update sensorthings.py

* Update sensorthings.py

* Update sensorthings.py

* Update sensorthings.py

* Update sensorthings BRGM Endpoint

* Clean Examples

* Cleaned sensorthings config

* add bbox and datetime query params

Added optional intralinking between STA entities

* add pytest for sta provider

* add sta pytest to workflow

* improve versatility of intralink and uri

* Update Datastreams geometry provider

* Update iow.sta.pygeoapi.config.yml

* faster hits using sta $count

* fix flake8

* added sta provider for github actions

* type in main.yml

* Update main.yml

* Update main.yml

* rename tests/data/datastreams.json

* Update main.yml

* Update load_sta_data.py

* Update load_sta_data.py

* Update load_sta_data.py

* Update load_sta_data.py

* Update load_sta_data.py

* Fix sta pytest

* fix flake8

* Update docs

* Update test_sensorthings__provider.py

* Merge various fixes from sta-patch-1

* force sorting

* Move STA data to remote host

* Clarify use of the intralink field

* rename test_sensorthings_provider.py

* Add Readme.md and switch to docker-compose

* Sensorthings -> SensorThings
2021-07-06 17:04:45 -04:00
Tom Kralidis 89eff49ce0 add support for configuration schema and validation (#553) (#719)
* add support for configuration schema and validation (#553)

* rename types

* minor doc fix

* update i18n regexes

* make openapi click options required arguments
2021-07-06 17:01:05 -04:00