- Adds Enhanced Staff Grader (ESG) backend-for-frontend (BFF) in `lms/djangoapps/ora_staff_grader`
- Adds routing to ESG BFF at `{lms_url}/api/ora_staff_grader/*`
- Adds mock implementation routing at `{lms_url}/api/ora_staff_grader/mock/*`
- Adds `ORA_GRADING_MICROFRONTEND_URL` setting for routing to ESG microfrontend (MFE)
- Updates to the teams app:
- Add`get_teams_in_teamset` to the teams API.
- Add `get_team_names` to teams service.
- Adds `openassessment.staffgrader` app for appropriate ORA migrations.
- Modifies management commands for creation of users.
- Updates test factory to return display org with course overview.
Co-authored-by: jansenk <jkantor@edx.org>
Co-authored-by: Leangseu Kim <lkim@edx.org>
Co-authored-by: Ben Warzeski <bwarzeski@edx.org>
32 lines
887 B
Python
32 lines
887 B
Python
"""
|
|
URLs for Enhanced Staff Grader (ESG) backend-for-frontend (BFF)
|
|
"""
|
|
from django.conf.urls import include
|
|
from django.urls import path
|
|
|
|
|
|
from lms.djangoapps.ora_staff_grader.views import (
|
|
InitializeView,
|
|
SubmissionFetchView,
|
|
SubmissionLockView,
|
|
SubmissionStatusFetchView,
|
|
UpdateGradeView,
|
|
)
|
|
|
|
|
|
urlpatterns = []
|
|
app_name = "ora-staff-grader"
|
|
|
|
urlpatterns += [
|
|
path("mock/", include("lms.djangoapps.ora_staff_grader.mock.urls")),
|
|
path("initialize", InitializeView.as_view(), name="initialize"),
|
|
path(
|
|
"submission/status",
|
|
SubmissionStatusFetchView.as_view(),
|
|
name="fetch-submission-status",
|
|
),
|
|
path("submission/lock", SubmissionLockView.as_view(), name="lock"),
|
|
path("submission/grade", UpdateGradeView.as_view(), name="update-grade"),
|
|
path("submission", SubmissionFetchView.as_view(), name="fetch-submission"),
|
|
]
|