Sets EDXAPP_ENTERPRISE_*_ENROLLMENT_API_URL to ansible vars
Adds EDXAPP_ENTERPRISE_ENROLLMENT_API_URL
and EDXAPP_ENTERPRISE_PUBLIC_ENROLLMENT_API_URL
to the ansible template, with defaults that will work for appservers like ours that sit behind an ssl-terminating load balancer.
Dependencies:
This PR can merge without these others, but requires them to function effectively:
- https://github.com/edx/edx-platform/pull/14671
- https://github.com/edx/edx-enterprise/pull/67
- https://github.com/edx/configuration/pull/3748
Sandbox URL: sandbox is being provisioned.
- LMS: https://pr14671.sandbox.opencraft.hosting/
- Studio: https://studio-pr14671.sandbox.opencraft.hosting/
Testing instructions:
- Create an new OCIM instance using this branch, and these settings:
- edx-platform:
open-craft:jill/ent-test-public-enrollment-api-url
: https://github.com/edx/edx-platform/pull/14671 + installs https://github.com/edx/edx-enterprise/pull/67 (compare) - configuration:
open-craft/jill/enterprise-enrollment-api-url
- Launch an appserver, and wait for it to provision.
- Navigate to the LMS Admin, and add an EnterpriseCustomer.
- Edit the EnterpriseCustomer, and click on Manage Learners
- Enrol a user into
course-v1:edX+DemoX+Demo_Course
- Note that the Course enrolment mode drop-down gets populated with
Audit
. - Submit the enrolment, and note that it's accepted by the server.
Reviewers
-
@haikuginger