mirror of
https://github.com/bvanroll/stage-frontend.git
synced 2025-08-29 20:12:39 +00:00
gradle time
This commit is contained in:
@@ -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!";
|
||||
}
|
||||
}
|
@@ -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 {
|
@@ -1 +1 @@
|
||||
|
||||
server.port=80
|
||||
|
@@ -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() {
|
||||
}
|
||||
|
||||
}
|
@@ -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() {
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user