Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3232

Conflicting JAX-RS paths in io.narayana.lra.coordinator.api.Coordinator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.10.3.Final
    • 5.10.1.Final
    • LRA
    • None

      In the JAX-RS resource io.narayana.lra.coordinator.api.Coordinator there are two conflicting JAX-RS paths:

      @GET
      @Path("{LraId}/status")
      public Response getLRAStatus 
      

      and

      @GET
      @Path("{NestedLraId}/status")
      public Response getNestedLRAStatus
      

      which impose erroneous states for the nested LRAs. I would propose to prefix all endpoints for nested LRAs at the Coordinator class to be prefixed with `/nested`.

              mstefank Martin Stefanko
              mstefank Martin Stefanko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: