From a09e875d473f88c3f50faf6326f15cb31c4deec1 Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Thu, 25 Apr 2024 10:48:51 -0500 Subject: [PATCH] fix: use event_transformer as backend name (#416) * fix: use event_transformer as backend name * chore: bump version to v9.0.1 * build: update codecov action to use repo-specific tokens (#417) --- .github/workflows/ci.yml | 3 ++- CHANGELOG.rst | 4 ++++ event_routing_backends/__init__.py | 2 +- event_routing_backends/settings/common.py | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ceb20ed..2b46deef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,8 @@ jobs: - name: Run Coverage if: matrix.python-version == '3.8' && matrix.toxenv=='django42' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: unittests fail_ci_if_error: true + token: ${{ secrets.CODECOV_TOKEN }} diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 567cb993..c20e4a13 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -14,6 +14,10 @@ Change Log Unreleased ~~~~~~~~~~ +[9.0.1] + +* Fix an issue with the event routing backend async task to not find the event-tracking backend. + [9.0.0] ~~~~~~~ diff --git a/event_routing_backends/__init__.py b/event_routing_backends/__init__.py index fc2bbed8..f30251ac 100644 --- a/event_routing_backends/__init__.py +++ b/event_routing_backends/__init__.py @@ -2,4 +2,4 @@ Various backends for receiving edX LMS events.. """ -__version__ = '9.0.0' +__version__ = '9.0.1' diff --git a/event_routing_backends/settings/common.py b/event_routing_backends/settings/common.py index 1fda58cf..0bf98370 100644 --- a/event_routing_backends/settings/common.py +++ b/event_routing_backends/settings/common.py @@ -184,7 +184,7 @@ def plugin_settings(settings): 'event_transformer': { 'ENGINE': 'eventtracking.backends.async_routing.AsyncRoutingBackend', 'OPTIONS': { - 'backend_name': 'events', + 'backend_name': 'event_transformer', 'processors': [ { 'ENGINE': 'eventtracking.processors.whitelist.NameWhitelistProcessor',