Move event-listener to sub package (#29)

This commit is contained in:
Stephan Schnabel 2023-04-24 14:58:23 +02:00 committed by GitHub
parent a392076722
commit 32fc7a1d5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 10 additions and 13 deletions

View file

@ -0,0 +1,19 @@
package io.kokuwa.keycloak.metrics.junit;
import javax.ws.rs.Consumes;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.core.MediaType;
/**
* JAX-RS client for prometheus endpoint.
*
* @author Stephan Schnabel
*/
public interface PrometheusClient {
@GET
@Path("/metrics")
@Consumes(MediaType.TEXT_PLAIN)
String scrap();
}