@Path(value="/ccompat/compatibility") @Consumes(value={"application/json","application/vnd.schemaregistry.v1+json"}) @Produces(value={"application/json","application/vnd.schemaregistry.v1+json"}) @Counted(name="rest_request_count", description="Total number of REST requests.", tags={"group=REST","metric=rest_request_count"}) @ConcurrentGauge(name="concurrent_request_count", description="Number of concurrent REST requests.", tags={"group=REST","metric=concurrent_request_count"}) @Timed(name="rest_response_time", description="Time of a request-response interval.", tags={"group=REST","metric=rest_response_time"}, unit="milliseconds") public class CompatibilityResource extends AbstractResource
log
Constructor and Description |
---|
CompatibilityResource() |
Modifier and Type | Method and Description |
---|---|
void |
testCompatabilityBySubjectName(javax.ws.rs.container.AsyncResponse response,
String contentType,
String accept,
String subject,
String version,
@NotNull RegisterSchemaRequest request) |
checkSubject
@POST @Path(value="/subjects/{subject}/versions/{version}") public void testCompatabilityBySubjectName(@Suspended javax.ws.rs.container.AsyncResponse response, @HeaderParam(value="Content-Type") String contentType, @HeaderParam(value="Accept") String accept, @PathParam(value="subject") String subject, @PathParam(value="version") String version, @NotNull @NotNull RegisterSchemaRequest request) throws Exception
Exception
Copyright © 2020 Red Hat. All rights reserved.