Files
edx-platform/lms/djangoapps/ora_staff_grader/constants.py
Nathan Sprenkle 1212e3550c 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>
2022-01-31 11:09:41 -05:00

14 lines
373 B
Python

""" Constants used throughout ESG """
# Query params
PARAM_ORA_LOCATION = "oraLocation"
PARAM_SUBMISSION_ID = "submissionUUID"
# Error codes
ERR_UNKNOWN = "ERR_UNKNOWN"
ERR_INTERNAL = "ERR_INTERNAL"
ERR_MISSING_PARAM = "ERR_MISSING_PARAM"
ERR_BAD_ORA_LOCATION = "ERR_BAD_ORA_LOCATION"
ERR_LOCK_CONTESTED = "ERR_LOCK_CONTESTED"
ERR_GRADE_CONTESTED = "ERR_GRADE_CONTESTED"