Files
spring-boot-rest/mesos-marathon/src/main/java/com/mogronalol/HelloController.java
Andrew Morgan f3f021f036 Mesos marathon module (#1107)
* mesos marathon demo

* Updated DockerFile to point to maven target

* Pointed to baeldung docker repository

* Added file permissions for Dockerise script
2017-02-15 02:20:28 +01:00

18 lines
426 B
Java

package com.mogronalol;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
@RestController(value = "/")
public class HelloController {
@GetMapping
@ResponseBody
public String getMapping() {
return "Hello world";
}
}