Skip to content
Snippets Groups Projects
Commit 120b82a8 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Add missing annotations to reenable scheduling

Scheduling was disabled unintentionally with the config migration in
commit 2ecbfec8.

Annotations are added as a replacement for <task:annotation-driven />.
parent 86ddb14a
1 merge request!65Add missing annotations to reenable scheduling
Pipeline #9174 passed with stages
in 2 minutes and 43 seconds
......@@ -49,6 +49,8 @@ import org.springframework.http.converter.StringHttpMessageConverter;
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
import org.springframework.mail.javamail.JavaMailSenderImpl;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
......@@ -80,7 +82,9 @@ import java.util.List;
"de.thm.arsnova.web"})
@Configuration
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableAsync
@EnableCaching
@EnableScheduling
@EnableWebMvc
@PropertySource(
value = {"classpath:arsnova.properties.example", "file:/etc/arsnova/arsnova.properties"},
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment