gradle time

This commit is contained in:
2020-03-19 17:08:03 +01:00
parent db7eda0743
commit 295e8c479a
17 changed files with 222 additions and 622 deletions

View File

@@ -1,14 +1,14 @@
package com.stage.frontend.frontend;
package com.frontend.stage.frontend;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class SimpleRestController {
public class BasicRestController {
@RequestMapping("/")
public String index() {
return "it works";
return "it works!";
}
}

View File

@@ -1,8 +1,7 @@
package com.stage.frontend.frontend;
import org.springframework.boot.autoconfigure.*;
import org.springframework.boot.*;
package com.frontend.stage.frontend;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class FrontendApplication {

View File

@@ -1 +1 @@
server.port=80

View File

@@ -0,0 +1,16 @@
package com.frontend.stage.frontend;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class FrontendApplicationTests {
@Test
public void contextLoads() {
}
}

View File

@@ -1,13 +0,0 @@
package com.stage.frontend.frontend;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class FrontendApplicationTests {
@Test
void contextLoads() {
}
}