* mesos marathon demo * Updated DockerFile to point to maven target * Pointed to baeldung docker repository * Added file permissions for Dockerise script
18 lines
426 B
Java
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";
|
|
}
|
|
|
|
}
|