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

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • 5.10.1.Final
    • 5.10.3.Final
    • LRA
    • None

    Description

      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`.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: