Added a spring-boot application shell with a dummy message
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
package click.poweronoff.satellite;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication
|
||||
public class MySmallSatelliteApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(MySmallSatelliteApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package click.poweronoff.satellite.api;
|
||||
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.ResponseBody;
|
||||
|
||||
@Controller
|
||||
public class FeaturesController {
|
||||
@RequestMapping("/features")
|
||||
public @ResponseBody
|
||||
String features() {
|
||||
return "a dummy message";
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user