init
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package ch.unisg.executorpool;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class ExecutorPoolApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ExecutorPoolApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
package ch.unisg.executorpool;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class TestController {
|
||||
@RequestMapping("/")
|
||||
public String index() {
|
||||
return "Hello World! Executor Pool";
|
||||
}
|
||||
}
|
1
executor-pool/src/main/resources/application.properties
Normal file
1
executor-pool/src/main/resources/application.properties
Normal file
@@ -0,0 +1 @@
|
||||
server.port=8081
|
@@ -0,0 +1,13 @@
|
||||
package ch.unisg.executorpool;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class ExecutorPoolApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user