1
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package com.bamanker.myk3stest;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class Myk3sTestApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(Myk3sTestApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
12
src/main/java/com/bamanker/myk3stest/TestController.java
Normal file
12
src/main/java/com/bamanker/myk3stest/TestController.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package com.bamanker.myk3stest;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class TestController {
|
||||
@RequestMapping("/test")
|
||||
public String test() {
|
||||
return "Hello K3S APP!";
|
||||
}
|
||||
}
|
||||
2
src/main/resources/application.yml
Normal file
2
src/main/resources/application.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
server:
|
||||
port: 9090
|
||||
@@ -0,0 +1,13 @@
|
||||
package com.bamanker.myk3stest;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class Myk3sTestApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user