feat: ora staff grader backend (#29828)

- 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>
This commit is contained in:
Nathan Sprenkle
2022-01-31 11:09:41 -05:00
committed by GitHub
parent 65f0a2fd3a
commit 1212e3550c
41 changed files with 6885 additions and 15 deletions

View File

@@ -20,6 +20,7 @@ class CourseOverviewFactory(DjangoModelFactory): # lint-amnesty, pylint: disabl
version = CourseOverview.VERSION
pre_requisite_courses = []
org = 'edX'
display_number_with_default = 'toy'
run = factory.Sequence('2012_Fall_{}'.format)
@factory.lazy_attribute
@@ -32,7 +33,11 @@ class CourseOverviewFactory(DjangoModelFactory): # lint-amnesty, pylint: disabl
@factory.lazy_attribute
def id(self):
return CourseLocator(self.org, 'toy', self.run)
return CourseLocator(self.org, self.display_number_with_default, self.run)
@factory.lazy_attribute
def display_org_with_default(self):
return self.org
@factory.lazy_attribute
def display_name(self):