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;
|
2018-11-14 13:58:27 +01:00
|
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
2018-11-15 11:24:18 +01:00
|
|
|
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
|
2018-11-13 13:18:45 +01:00
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
|
@Configuration
|
2018-11-15 11:24:18 +01:00
|
|
|
@SpringBootApplication(exclude = {
|
2018-11-22 10:39:18 +01:00
|
|
|
// OAuth2ResourceServerAutoConfiguration.class,
|
2018-11-15 11:24:18 +01:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|