Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
ac2b7efa
Commit
ac2b7efa
authored
Oct 03, 2017
by
George Song
Committed by
GitHub
Oct 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4112 from open-craft/haikuginger/additional-middleware-configuration
Add configuration for extra middleware classes
parents
4a436a3f
f2d8c885
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
CHANGELOG.md
+3
-0
playbooks/roles/edxapp/defaults/main.yml
+6
-0
No files found.
CHANGELOG.md
View file @
ac2b7efa
-
Role: edxapp
-
Added
`EDXAPP_EXTRA_MIDDLEWARE_CLASSES`
for configuring additional middleware logic.
-
Role: discovery
-
Added
`OPENEXCHANGERATES_API_KEY`
for retrieving currency exchange rates.
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
ac2b7efa
...
...
@@ -434,6 +434,11 @@ EDXAPP_INSTALL_PRIVATE_REQUIREMENTS: false
# - name: git+https://git.myproject.org/MyProject#egg=MyProject
EDXAPP_EXTRA_REQUIREMENTS
:
[]
# List of custom middlewares that should be used in edxapp to process
# incoming HTTP resquests. Should be a list of plain strings that fully
# qualify Python classes or functions that can be used as Django middleware.
EDXAPP_EXTRA_MIDDLEWARE_CLASSES
:
[]
EDXAPP_GOOGLE_ANALYTICS_ACCOUNT
:
"
None"
EDXAPP_OPTIMIZELY_PROJECT_ID
:
"
None"
...
...
@@ -1135,6 +1140,7 @@ generic_env_config: &edxapp_generic_env
POLICY_CHANGE_GRADES_ROUTING_KEY
:
"
{{
EDXAPP_POLICY_CHANGE_GRADES_ROUTING_KEY
}}"
PROCTORING_SETTINGS
:
"
{{
EDXAPP_PROCTORING_SETTINGS
}}"
EXTRA_MIDDLEWARE_CLASSES
:
"
{{
EDXAPP_EXTRA_MIDDLEWARE_CLASSES
}}"
lms_auth_config
:
<<
:
*edxapp_generic_auth
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment