seb-server/src/main/java/ch/ethz/seb/sebserver/SEBServer.java

31 lines
1.1 KiB
Java
Raw Normal View History

2018-11-13 13:18:45 +01:00
/*
* Copyright (c) 2018 ETH Zürich, Educational Development and Technology (LET)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package ch.ethz.seb.sebserver;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
2018-11-13 13:18:45 +01:00
import org.springframework.context.annotation.Configuration;
@Configuration
@SpringBootApplication(exclude = {
// OAuth2ResourceServerAutoConfiguration.class,
UserDetailsServiceAutoConfiguration.class,
DataSourceAutoConfiguration.class
})
2018-11-13 13:18:45 +01:00
public class SEBServer {
public static void main(final String[] args) {
org.apache.ibatis.logging.LogFactory.useSlf4jLogging();
SpringApplication.run(SEBServer.class, args);
}
}