@@ -0,0 +1,487 @@
+package example.endpoints;%0A%0Aimport org.springframework.beans.factory.annotation.Value;%0Aimport org.springframework.http.MediaType;%0Aimport org.springframework.web.bind.annotation.GetMapping;%0Aimport org.springframework.web.bind.annotation.RestController;%0A%0A@RestController%0Apublic class AppController %7B%0A%0A    @Value(%22$%7BHOSTNAME%7D%22)%0A    private String hostname;%0A%0A    @GetMapping(produces = MediaType.TEXT_PLAIN_VALUE)%0A    public String index() %7B%0A        return %22Hello from %22 + hostname;%0A    %7D%0A%7D%0A

add app controller