[jbossts-issues] [JBoss JIRA] (JBTM-2957) LRA spec start and finish descriptions do not specify HTTP status codes

Michael Musgrove (JIRA) issues at jboss.org
Mon Nov 13 06:41:00 EST 2017


Michael Musgrove created JBTM-2957:
--------------------------------------

             Summary: LRA spec start and finish descriptions do not specify HTTP status codes
                 Key: JBTM-2957
                 URL: https://issues.jboss.org/browse/JBTM-2957
             Project: JBoss Transaction Manager
          Issue Type: Enhancement
          Components: LRA
    Affects Versions: 5.7.1.Final
            Reporter: Michael Musgrove
            Assignee: Michael Musgrove
             Fix For: 5.later


The specification does not specify the HTTP response codes for starting and ending LRAs. The [relevant sections of the specification|https://github.com/eclipse/microprofile-sandbox/blob/master/proposals/0009-LRA/README.md#protocol-urls] are:

> Performing a `POST` on ... creates an LRA.
> Performing a `PUT` on .../close will trigger the successful completion of the LRA ...

This means that it is vague as to whether asynchronous operations are supported, which they should be (since the target use case for LRAs is a microservice based environment).

The proposal should be updated to include the response codes and it SHOULD include the ability to return "202 Accepted"



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbossts-issues mailing list