diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java index 5d0a333f..80bba86c 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/LmsAPIServiceImpl.java @@ -53,7 +53,6 @@ public class LmsAPIServiceImpl implements LmsAPIService { private final ClientCredentialService clientCredentialService; private final QuizLookupService quizLookupService; private final EnumMap templateFactories; - private final FullLmsIntegrationService fullLmsIntegrationService; private final Map 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 lmsAPITemplateFactories) { this.webserviceInfo = webserviceInfo; this.lmsSetupDAO = lmsSetupDAO; this.clientCredentialService = clientCredentialService; this.quizLookupService = quizLookupService; - this.fullLmsIntegrationService = fullLmsIntegrationService; final Map 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 integrationDataResult = fullLmsIntegrationService - .applyFullLmsIntegration(template.lmsSetup().id); - - if (integrationDataResult.hasError()) { - return LmsSetupTestResult.ofFullIntegrationAPIError( - template.lmsSetup().lmsType, - "Failed to apply full LMS integration"); - } +// TODO +// final Result integrationDataResult = fullLmsIntegrationService +// .applyFullLmsIntegration(template.lmsSetup().id); +// +// if (integrationDataResult.hasError()) { +// return LmsSetupTestResult.ofFullIntegrationAPIError( +// template.lmsSetup().lmsType, +// "Failed to apply full LMS integration"); +// } } }