Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1134 from edx/jenkins/upgrade-python-requirements…
Browse files Browse the repository at this point in the history
…-07b15ef

Python Requirements Update
  • Loading branch information
schenedx authored Jul 12, 2021
2 parents 07b15ef + a15ebd8 commit f666942
Show file tree
Hide file tree
Showing 15 changed files with 2,302 additions and 737 deletions.
29 changes: 29 additions & 0 deletions analytics_dashboard/settings/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,32 @@
########## DATA API CONFIGURATION
DATA_API_URL = os.getenv("API_SERVER_URL", DATA_API_URL)
########## END DATA API CONFIGURATION

ENABLE_AUTO_AUTH = True
ENABLE_COURSE_PERMISSIONS = False
SOCIAL_AUTH_EDX_OAUTH2_KEY = "insights-sso-key"
SOCIAL_AUTH_EDX_OAUTH2_SECRET = "insights-sso-secret"
SOCIAL_AUTH_EDX_OAUTH2_ISSUER = "http://localhost:18000"
SOCIAL_AUTH_EDX_OAUTH2_URL_ROOT = "http://localhost:18000"
SOCIAL_AUTH_EDX_OAUTH2_LOGOUT_URL = "http://localhost:18000/logout"

BACKEND_SERVICE_EDX_OAUTH2_KEY = "insights-backend-service-key"
BACKEND_SERVICE_EDX_OAUTH2_SECRET = "insights-backend-service-secret"
BACKEND_SERVICE_EDX_OAUTH2_PROVIDER_URL = "http://localhost:18000/oauth2"


COURSE_API_URL = 'http://localhost:18000/api/courses/v1/'
GRADING_POLICY_API_URL = 'http://localhost:18000/api/grades/v1/'

# If no key is specified, the authenticated user's OAuth2 access token will be used.
COURSE_API_KEY = None
########## END COURSE API

########## MODULE_PREVIEW
MODULE_PREVIEW_URL = 'http://localhost:18000/xblock'
########## END MODULE_PREVIEW

JWT_AUTH = {
'JWT_AUTH_HEADER_PREFIX': 'JWT',
}
DATA_API_AUTH_TOKEN = 'edx'
1 change: 1 addition & 0 deletions analytics_dashboard/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
}

ENABLE_AUTO_AUTH = True
ENABLE_AUTO_AUTH_USERNAME_PREFIX = 'test_'

LMS_COURSE_SHORTCUT_BASE_URL = 'http://lms-host'
CMS_COURSE_SHORTCUT_BASE_URL = 'http://cms-host'
Expand Down
Loading

0 comments on commit f666942

Please sign in to comment.