package dev.lions.user.manager.client.api;

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.core.MediaType;
import org.eclipse.microprofile.rest.client.inject.RegisterRestClient;

import java.util.Map;

@RegisterRestClient(configKey = "user-api")
@Path("/api/health")
@Produces(MediaType.APPLICATION_JSON)
public interface HealthRestClient {

    @GET
    @Path("/keycloak")
    Map<String, Object> getKeycloakHealth();

    @GET
    @Path("/status")
    Map<String, Object> getServiceStatus();
}
