Class TestServerWebServicesWithOperationName

java.lang.Object
org.eclipse.microprofile.opentracing.tck.application.TestServerWebServicesWithOperationName

@Traced(operationName="wsOperations") @Path("testServicesWithOpName") public class TestServerWebServicesWithOperationName extends Object
Test JAXRS web services.
  • Field Details

    • REST_TEST_SERVICE_PATH_WITH_OP_NAME

      public static final String REST_TEST_SERVICE_PATH_WITH_OP_NAME
      The path to this set of web services.
      See Also:
    • CLASS_OPERATION_NAME

      public static final String CLASS_OPERATION_NAME
      Traced operationName prefix.
      See Also:
    • REST_OPERATION_CLASS_OP_NAME

      public static final String REST_OPERATION_CLASS_OP_NAME
      Web service endpoint with an explicit operation name on the class.
      See Also:
    • REST_OPERATION_CLASS_AND_METHOD_OP_NAME

      public static final String REST_OPERATION_CLASS_AND_METHOD_OP_NAME
      Web service endpoint with an explicit operation name on the class and endpoint.
      See Also:
    • ENDPOINT_OPERATION_NAME

      public static final String ENDPOINT_OPERATION_NAME
      Explicit endpoint operation name.
      See Also:
  • Constructor Details

    • TestServerWebServicesWithOperationName

      public TestServerWebServicesWithOperationName()
  • Method Details

    • classOperationName

      @GET @Path("classOperationName") @Produces("text/plain") public jakarta.ws.rs.core.Response classOperationName()
      Test class with Traced annotation and operation name.
      Returns:
      OK response
    • classAndMethodOperationName

      @Traced(operationName="endpointName") @GET @Path("classAndMethodOperationName") @Produces("text/plain") public jakarta.ws.rs.core.Response classAndMethodOperationName()
      Test class and endpoint with Traced annotation and operation name.
      Returns:
      OK response