Refactor provisioning

Code is mostly working

TODO:

  • Fix tests. Remove obsolete unit tests, add relevant unit tests
  • Remove run_sync code. Update grafana docker compose to include a real database.
  • Ensure we collect all exceptions
  • Add integration test against snapshot of current data in prod
  • Use Organization class for more structured exclusion checking and thread safety of TokenRequest
  • Some cleanup and polish
Edited by Pelle Koster

Merge request reports

Loading