java.lang.Object
io.helidon.microprofile.testing.lra.TestLraCoordinator

@ApplicationScoped public class TestLraCoordinator extends Object
Enables LRA coordinator on another socket of this server with random port.
  • Method Details

    • coordinatorUri

      public URI coordinatorUri()
      Return test LRA coordinator URL.
      Returns:
      coordinator url
    • lra

      public Lra lra(String lraId)
      Get LRA by LraId.
      Parameters:
      lraId - with or without coordinator url prefix.
      Returns:
      lra when registered by text coordinator