Commit 5f782789 authored by Javi Corvi's avatar Javi Corvi
Browse files

liveness and readeness

parent 4ed5f658
Pipeline #26108 passed with stage
in 4 minutes and 32 seconds
package es.bsc.inb.ades.rest.api.controllers;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@CrossOrigin()
@RestController
public class LivenessController {
@GetMapping(path = "/liveness")
public String liveness() {
return "true";
}
@GetMapping(path = "/readeness")
public String readeness() {
return "true";
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment