github.com/GoogleContainerTools/skaffold@v1.39.18/examples/jib-sync/src/main/java/hello/HelloController.java (about)

     1  package hello;
     2  
     3  import org.springframework.web.bind.annotation.RestController;
     4  import org.springframework.web.bind.annotation.RequestMapping;
     5  
     6  import java.nio.charset.StandardCharsets;
     7  import java.nio.file.Files;
     8  import java.nio.file.Paths;
     9  import java.util.List;
    10  
    11  @RestController
    12  public class HelloController {
    13  
    14      @RequestMapping("/")
    15      public String index() throws Exception {
    16          return "text-to-replace\n";
    17      }
    18  }