SEBSERV-417 fixed broken build
This commit is contained in:
parent
fc7ac4c4e0
commit
7ec942e264
1 changed files with 9 additions and 12 deletions
|
@ -53,7 +53,6 @@ public class LmsAPIServiceImpl implements LmsAPIService {
|
|||
private final ClientCredentialService clientCredentialService;
|
||||
private final QuizLookupService quizLookupService;
|
||||
private final EnumMap<LmsType, LmsAPITemplateFactory> templateFactories;
|
||||
private final FullLmsIntegrationService fullLmsIntegrationService;
|
||||
|
||||
private final Map<CacheKey, LmsAPITemplate> cache = new ConcurrentHashMap<>();
|
||||
|
||||
|
@ -62,14 +61,12 @@ public class LmsAPIServiceImpl implements LmsAPIService {
|
|||
final LmsSetupDAO lmsSetupDAO,
|
||||
final ClientCredentialService clientCredentialService,
|
||||
final QuizLookupService quizLookupService,
|
||||
final FullLmsIntegrationService fullLmsIntegrationService,
|
||||
final Collection<LmsAPITemplateFactory> lmsAPITemplateFactories) {
|
||||
|
||||
this.webserviceInfo = webserviceInfo;
|
||||
this.lmsSetupDAO = lmsSetupDAO;
|
||||
this.clientCredentialService = clientCredentialService;
|
||||
this.quizLookupService = quizLookupService;
|
||||
this.fullLmsIntegrationService = fullLmsIntegrationService;
|
||||
|
||||
final Map<LmsType, LmsAPITemplateFactory> factories = lmsAPITemplateFactories
|
||||
.stream()
|
||||
|
@ -170,15 +167,15 @@ public class LmsAPIServiceImpl implements LmsAPIService {
|
|||
.onError(er -> log.error("Failed to mark LMS integration inactive", er));
|
||||
return lmsSetupTestResult;
|
||||
} else {
|
||||
|
||||
final Result<FullLmsIntegrationService.IntegrationData> integrationDataResult = fullLmsIntegrationService
|
||||
.applyFullLmsIntegration(template.lmsSetup().id);
|
||||
|
||||
if (integrationDataResult.hasError()) {
|
||||
return LmsSetupTestResult.ofFullIntegrationAPIError(
|
||||
template.lmsSetup().lmsType,
|
||||
"Failed to apply full LMS integration");
|
||||
}
|
||||
// TODO
|
||||
// final Result<FullLmsIntegrationService.IntegrationData> integrationDataResult = fullLmsIntegrationService
|
||||
// .applyFullLmsIntegration(template.lmsSetup().id);
|
||||
//
|
||||
// if (integrationDataResult.hasError()) {
|
||||
// return LmsSetupTestResult.ofFullIntegrationAPIError(
|
||||
// template.lmsSetup().lmsType,
|
||||
// "Failed to apply full LMS integration");
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue