Skip to content

Latest commit

 

History

History
145 lines (91 loc) · 3.69 KB

CHANGELOG.md

File metadata and controls

145 lines (91 loc) · 3.69 KB

2.1.0 (2022-10-26)

Refactor

  • update to latest django LOGGING var, dict format
  • remove legacy gcnet code
  • add more verbose debug logging to gcnet main import
  • add refs to flag -r to more verbose --refreshInterval, blacken all
  • update 404 to include API docs page, format

Fix

  • logging throughout app, single init in settings.py or main.py importer
  • update gcnet config paths to linux '/' (from windows '')
  • update csv_writer to handle file not exist, logging, error handling
  • revert --repeatInterval to -r, as flag not supported
  • defer js/css loading in html templates until render done

Feat

  • add correct logging to Django throughout app, LOG_LEVEL setting

2.0.1 (2022-10-26)

Refactor

  • improve logging for ALLOWED_HOSTS variable
  • fix gcnet documentation js script location
  • add default for PROXY_PREFIX var

Fix

  • update gcnet config to generate and read local csvs, 30 day backlog

2.0.0 (2022-10-18)

Feat

  • env vars ALLOWED_HOSTS (allow multiple), PROXY_PREFIX for reverse proxy

Refactor

  • update settings with FORCE_SCRIPT_NAME, make static url relative
  • add SCHEMA_PATH_PREFIX_INSERT for drf-spectacular endpoints

1.1.1 (2022-10-17)

Refactor

  • static, use generic css for gcnet
  • only use whitenoise if DEBUG, i.e. development
  • update STATIC_URL to include data-api prefix for reverse proxy

Fix

  • revert 404 page to original style, update redirect to docs
  • add SCHEMA_PATH_PREFIX data-api for drf-spectacular
  • open quotes in documentation html templates
  • static references in all templates, add dirs to settings

1.1.0 (2022-10-13)

Refactor

  • black and isort entire codebase

Feat

  • remove /api prefix from all urls (handled by proxy)

Fix

  • enable gcnet/main.py to process URL input data

1.0.6 (2022-10-13)

Fix

  • error handling for writer creating file if not exist, lint/format
  • change nginx root up one level for /static in url
  • revert nginx config without upstream, set error logging

Refactor

  • remove redundant envidatrepo alias from helm chart
  • update gcnet data url from envidatrepo to envicloud s3 bucket
  • remove refs to dbpg01.wsl.ch (old), add alias for envidatrepo.wsl.ch
  • add additional debug log to gcnet importer urllib
  • update chart notation for importers to multiline arg
  • remove redundant location block in nginx config
  • set default chart liveness probes to off/false
  • update nginx proxy probe timeouts from 1 to 5
  • update importer deployment commands to main.main, timeouts on probes

1.0.5 (2022-10-11)

Fix

  • remove drf-spectacular sidecar

Refactor

  • update swagger and redoc endpoint urls
  • added swagger schema endpoints to project/urls.py
  • update helm chart, remove importers from api deployment
  • fix name issue in helm deployment gcnet --> lwf

1.0.4 (2022-10-07)

Fix

  • STATIC_ROOT setting in project settings

Refactor

  • fix helm chart syntax, add probes to importers

1.0.3 (2022-10-07)

Fix

  • add postgres-client to docker image for db init checks

1.0.2 (2022-10-06)

Refactor

  • remove missed spectacular version in pyproject from drf-spectacular
  • remove unused DRF dependency, plus all references in code
  • revert re_paths, drf-spectacular save state before removal

Fix

  • log format for importers, remove file handler lwf, blacken, isort
  • use re_path for urls to allow slash, add spectacular openapi endpoints (+swagger)

1.0.1 (2022-09-29)

Refactor

  • refactor: fix refs to envidat, docs with correct port, doc format
  • update ALLOWED_HOSTS if DEBUG=True, then from env in production
  • move django files to monitoring-api subdir
  • prep move django files to subdir, get DEBUG setting from env
  • remove nginx waitress confix and separate run_server file