SEBSERV-2 #Spring Boot setup
This commit is contained in:
parent
0527d7cb85
commit
d4f0a528fa
3 changed files with 25 additions and 1 deletions
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<groupId>ch.ethz.seb</groupId>
|
<groupId>ch.ethz.seb</groupId>
|
||||||
<artifactId>seb-server</artifactId>
|
<artifactId>seb-server</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.1.0-SNAPSHOT</version>
|
||||||
<name>seb-server</name>
|
<name>seb-server</name>
|
||||||
<description>web-service for SEB maintenance and monitoring active SEB sessions</description>
|
<description>web-service for SEB maintenance and monitoring active SEB sessions</description>
|
||||||
|
|
||||||
|
|
24
src/main/java/ch/ethz/seb/sebserver/SEBServer.java
Normal file
24
src/main/java/ch/ethz/seb/sebserver/SEBServer.java
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
/*
|
||||||
|
* 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.context.annotation.Configuration;
|
||||||
|
|
||||||
|
@Configuration
|
||||||
|
@SpringBootApplication
|
||||||
|
public class SEBServer {
|
||||||
|
|
||||||
|
public static void main(final String[] args) {
|
||||||
|
org.apache.ibatis.logging.LogFactory.useSlf4jLogging();
|
||||||
|
SpringApplication.run(SEBServer.class, args);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in a new issue