Tags: EUMETNET/e-soh
Tags
Add option for custom openapi metadata and dataset template file (#277) * Update readme with new env variables * Add configurable openapi metadata and j2 dataset metadata template * Explain how and where to mount new files * Move default openapi_metadata to a file, and just load the file as default * Explain how and where to mount new files * Add absolute path as default * Update API README * Fix formatting * Update default j2 dataset template * Fix line length * Update api/templates/dataset_metadata_template.j2 Co-authored-by: Lukas Phaf <[email protected]> * Update api/templates/dataset_metadata_template.j2 Co-authored-by: Lukas Phaf <[email protected]> * Remove print * Clearify that the openapi metadata is also used for the landing page * Use fastAPI openapi wrapper to mitigate passing arbitrary arguemnts to fastAPI constructor * Update readme about custom openapi contents * Revert "Use fastAPI openapi wrapper to mitigate passing arbitrary arguemnts to fastAPI constructor" This reverts commit dba41cb. * Make list of acceptable parameters to take from openapi_metadata.json --------- Co-authored-by: Lukas Phaf <[email protected]>
Fix settings of MQTT topic prepend (#274) * Fix settings of MQTT topic prepend * Update ingest/api/send_mqtt.py Co-authored-by: Jukka Pelli <[email protected]> * Update ingest/api/send_mqtt.py Co-authored-by: Jukka Pelli <[email protected]> * FIx missing bracket --------- Co-authored-by: Jukka Pelli <[email protected]>
Add the option to the API to configure CORS. (#267) * Add the option to the API to configure CORS. * Update api/README.md Co-authored-by: Lukas Phaf <[email protected]> * Change middleware order and remove arguments with defaults. * Update readme with headers environment variable. * Ensure empty list. * Reorder according to https://fastapi.tiangolo.com/tutorial/middleware/#multiple-middleware-execution-order. --------- Co-authored-by: Lukas Phaf <[email protected]>
Add wis2 compliant mqtt publishing (#223) * Add wis2 pydantic model * Add wis2 pydantic model * Add option for WIS2 complient mqtt message * Add more ENV variables * Add content to wis2 mqtt message * Fix error when WIS2 mqtt was not configured * Add mosquitto mqtt to compose * Add new unit mapping * Add new unit mapping
PreviousNext