[jbossts-issues] [JBoss JIRA] (JBTM-3232) Conflicting JAX-RS paths in io.narayana.lra.coordinator.api.Coordinator

Michael Musgrove (Jira) issues at jboss.org
Fri Dec 13 05:42:00 EST 2019


     [ https://issues.redhat.com/browse/JBTM-3232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Musgrove updated JBTM-3232:
-----------------------------------
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done


> Conflicting JAX-RS paths in io.narayana.lra.coordinator.api.Coordinator
> -----------------------------------------------------------------------
>
>                 Key: JBTM-3232
>                 URL: https://issues.redhat.com/browse/JBTM-3232
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: LRA
>    Affects Versions: 5.10.1.Final
>            Reporter: Martin Stefanko
>            Assignee: Martin Stefanko
>            Priority: Major
>
> In the JAX-RS resource io.narayana.lra.coordinator.api.Coordinator there are two conflicting JAX-RS paths:
> {code:java}
> @GET
> @Path("{LraId}/status")
> public Response getLRAStatus 
> {code}
> and 
> {code:java}
> @GET
> @Path("{NestedLraId}/status")
> public Response getNestedLRAStatus
> {code}
> 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`.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jbossts-issues mailing list