Extended native OpenEdx Organization model with SettingsAzureOrganization model;
Configured admin section for SettingsAzureOrganization model fields;
Created client to communicate with Azure Media Service API - MediaServicesManagementClient;
Implemented xBlock studio view to customize editing modal window behavior;
Switched from Mako to Django template engine;
Configured initial CircleCI service automatic checks;
New code base covered with unit tests.
AMS content is shared per OpenEdx organization
Technically AMS API credentials are configured per Organization.
If there is no explicit configuration for the current organization - fallback to global (per OpenEdx installation) configuration is performed.
To configure global AMS API ones should add to lms.env.json into FEATURES section following settings:
I apologize it has taken me so long to review this. The PR was submitted while I was out on vacation so I missed it, but I should have time to review it this afternoon
update:
I will not have time to finish reviewing this today, but I should be able to complete the review tomorrow. I'm impressed with the parts I've seen thus far and look forward to seeing the rest of it. Great work!
I've also added @kabirkhan to the review in case he has the chance to take a look as well.
@kabirkhan @saravpal
SettingsAzureOrganization
model;MediaServicesManagementClient
;AMS content is shared per OpenEdx organization
Technically AMS API credentials are configured per Organization. If there is no explicit configuration for the current organization - fallback to global (per OpenEdx installation) configuration is performed. To configure global AMS API ones should add to
lms.env.json
intoFEATURES
section following settings:CircleCI service automatic checks include:
To be able to run all checks manually ones should:
NOTE: assuming Ubuntu as a testing environment OS
virtualenv
;After that, it is possible to run project checks: