You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This makes it challenging for users to maintain their collections (and any process plugins), with the container broken on restart if an error is made. This is unnecessary and could be avoided by providing a default openapi-config.yml and updating the openapi-config.yml manually. Instructions are provided as part of pygeoapi: https://docs.pygeoapi.io/en/stable/administration.html#creating-the-openapi-document and this could be part of the system configuration instructions / steps.
Proposed solution:
Include default openapi-config.yml document in the repository / container image.
Remove generation of openapi-config.yml from the entrypoint.sh.
Include instructions on updating the openapi-config.yml file in the wis2box documentation (incl. validation).
Update management container to update the openapi-config.yml when a new collection is added via the metadata editor.
The text was updated successfully, but these errors were encountered:
If a collection or process is misconfigured in the
pygeoapi-config.yml
theentrypoint.sh
script fails and thewis2box-api
container fails to start. This is due to https://github.com/wmo-im/wis2box-api/blob/9032a79981098ac368baab3dd9eae1d636677c5c/docker/entrypoint.sh#L61 and the generation of theopenapi-config.yml
file.This makes it challenging for users to maintain their collections (and any process plugins), with the container broken on restart if an error is made. This is unnecessary and could be avoided by providing a default
openapi-config.yml
and updating theopenapi-config.yml
manually. Instructions are provided as part of pygeoapi: https://docs.pygeoapi.io/en/stable/administration.html#creating-the-openapi-document and this could be part of the system configuration instructions / steps.Proposed solution:
openapi-config.yml
document in the repository / container image.openapi-config.yml
from theentrypoint.sh
.openapi-config.yml
file in the wis2box documentation (incl. validation).openapi-config.yml
when a new collection is added via the metadata editor.The text was updated successfully, but these errors were encountered: