fix for external address alias
This commit is contained in:
parent
83b552a36c
commit
e64d2a63e8
2 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,7 @@ final class MockupLmsAPITemplate implements LmsAPITemplate {
|
||||||
}
|
}
|
||||||
|
|
||||||
private QuizData getExternalAddressAlias(final QuizData quizData) {
|
private QuizData getExternalAddressAlias(final QuizData quizData) {
|
||||||
final String externalAddressAlias = this.webserviceInfo.getExternalAddressAlias(this.lmsSetup.lmsApiUrl);
|
final String externalAddressAlias = this.webserviceInfo.getExternalAddressAlias("lms.mockup.com");
|
||||||
if (StringUtils.isNoneBlank(externalAddressAlias)) {
|
if (StringUtils.isNoneBlank(externalAddressAlias)) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ sebserver.webservice.api.exam.enable-indicator-cache=true
|
||||||
sebserver.webservice.api.pagination.maxPageSize=500
|
sebserver.webservice.api.pagination.maxPageSize=500
|
||||||
# comma separated list of known possible OpenEdX API access token request endpoints
|
# comma separated list of known possible OpenEdX API access token request endpoints
|
||||||
sebserver.webservice.lms.openedx.api.token.request.paths=/oauth2/access_token
|
sebserver.webservice.lms.openedx.api.token.request.paths=/oauth2/access_token
|
||||||
|
sebserver.webservice.lms.address.alias=lms.mockup.com=lms.address.alias
|
||||||
|
|
||||||
# actuator configuration
|
# actuator configuration
|
||||||
management.endpoints.web.base-path=/actuator
|
management.endpoints.web.base-path=/actuator
|
||||||
|
|
Loading…
Reference in a new issue