Class LRAMetricRest
java.lang.Object
org.eclipse.microprofile.lra.tck.service.LRAMetricRest
JAX-RS endpoints for the
LRAMetricService.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetMetric(LRAMetricType metricType, URI lra, String participantName)
-
Field Details
-
LRA_TCK_METRIC_RESOURCE_PATH
- See Also:
-
METRIC_PATH
- See Also:
-
METRIC_TYPE_PARAM
- See Also:
-
LRA_ID_PARAM
- See Also:
-
PARTICIPANT_NAME_PARAM
- See Also:
-
-
Constructor Details
-
LRAMetricRest
public LRAMetricRest()
-
-
Method Details
-
getMetric
@Path("metric") @GET @Produces("text/plain") public int getMetric(@QueryParam("metricType") LRAMetricType metricType, @QueryParam("lraId") URI lra, @QueryParam("participantName") String participantName)
-