[JBoss JIRA] (JBTM-3232) Conflicting JAX-RS paths in io.narayana.lra.coordinator.api.Coordinator
by Michael Musgrove (Jira)
[ https://issues.redhat.com/browse/JBTM-3232?page=com.atlassian.jira.plugin... ]
Michael Musgrove updated JBTM-3232:
-----------------------------------
Fix Version/s: 5.next
> 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
> Fix For: 5.next
>
>
> 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)
4 years, 11 months
[JBoss JIRA] (JBTM-3234) Coordinator#getNestedLRAStatus should return ParticipantStatus
by Michael Musgrove (Jira)
[ https://issues.redhat.com/browse/JBTM-3234?page=com.atlassian.jira.plugin... ]
Michael Musgrove updated JBTM-3234:
-----------------------------------
Fix Version/s: 5.next
> Coordinator#getNestedLRAStatus should return ParticipantStatus
> --------------------------------------------------------------
>
> Key: JBTM-3234
> URL: https://issues.redhat.com/browse/JBTM-3234
> Project: JBoss Transaction Manager
> Issue Type: Bug
> Components: LRA
> Affects Versions: 5.10.1.Final
> Reporter: Martin Stefanko
> Assignee: Martin Stefanko
> Priority: Major
> Fix For: 5.next
>
>
> the method Coordinator#getNestedLRAStatus is used in LRA processing as normal `@Status` callback however currently it returns the status of the nested LRA which is of type LRAStatus and not ParticipantStatus which is the correct return type of `@Status` methods according to the specification.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 11 months