fix for external address alias

This commit is contained in:
anhefti 2019-09-09 10:05:34 +02:00
parent 83b552a36c
commit e64d2a63e8
2 changed files with 2 additions and 1 deletions

View file

@ -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 {

View file

@ -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