oncall-engine/engine/apps/grafana_plugin/tasks/__init__.py
Matias Bordese 35f23cdcc6
Rework organization sync and grafana plugin engine backend (#4756)
Related to
https://github.com/grafana/oncall-private/issues/2806#issuecomment-2246286918.

Prepare engine for the backend plugin enablement/migration:

 - Refactor sync code
- Improve plugin user authentication to set up user on-the-fly (when
missing)
- Implement v2 endpoints for install, sync and status (to be used via
the backend plugin)

(most of the changes come from
https://github.com/grafana/oncall/pull/4657; backport all engine changes
that keep backwards compatibility)
2024-07-31 16:12:56 +00:00

6 lines
198 B
Python

from .sync import ( # noqa: F401
start_sync_organizations,
sync_organization_async,
sync_team_members_for_organization_async,
)
from .sync_v2 import sync_organizations_v2 # noqa: F401