Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wis2box-api for wis2box-api-1.0b7 #45

Merged
merged 67 commits into from
Feb 27, 2024
Merged

wis2box-api for wis2box-api-1.0b7 #45

merged 67 commits into from
Feb 27, 2024

Conversation

maaikelimper
Copy link
Collaborator

No description provided.

maaikelimper and others added 30 commits September 13, 2023 15:50
* Change to docker base image to use wmo-im eccodes image

* new processes: synop2bufr, csv2bufr, bufr2bufr, oscar2feature

* update station-info to match on topics

* add docker-compose-stack for integrated testing of new publishing-processes
* Change to docker base image to use wmo-im eccodes image

* new processes: synop2bufr, csv2bufr, bufr2bufr, oscar2feature

* update station-info to match on topics

* add docker-compose-stack for integrated testing of new publishing-processes
* csv2bufr v0.7.4
* fixes based on latest WTH updates

* load openapi and use at init

---------

Co-authored-by: Maaike <[email protected]>
* use internal url bufr2geojson

* bufr2geojson to use internal minio-url

* fixes
* detect updates and duplicates

* flake8

---------

Co-authored-by: Tom Kralidis <[email protected]>
Copy link
Collaborator

@tomkralidis tomkralidis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor changes requests. Overall comment to order imports as follows;

  • standard library
  • 3rd party packages
  • local modules
import os
import sys

import paho.mqtt
import requests

import local.foo_module
import local.z_module

@@ -14,6 +14,10 @@ server:
attribution: ${WIS2BOX_BASEMAP_ATTRIBUTION}
templates:
path: /pygeoapi/pygeoapi/templates
manager:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a cron that runs that runs a script (to be developed) to flush passing jobs older than n days (with a sensible default of days) and keep failing jobs for a given amount of days.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a cronjob removing successful jobs after one hour

docker_compose_test/docker-compose.yml Outdated Show resolved Hide resolved
@@ -0,0 +1,3 @@
requests
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alphabetize

# integration tests assume that the workflow in
# .github/workflows/wis2box_test.yml has been executed

import json
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alphabetize imports

docker_compose_test/tests/integration/test_wis2box.py Outdated Show resolved Hide resolved
docker_compose_test/tests/integration/test_wis2box.py Outdated Show resolved Hide resolved
@maaikelimper maaikelimper merged commit 149c737 into main Feb 27, 2024
6 checks passed
@maaikelimper maaikelimper deleted the wis2box-1.0b7 branch February 27, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants