public interface Participant
Mock LRA coordinator with Narayana like rest api for testing.
LRA participant managed by the coordinator.
-
Method Summary
Modifier and TypeMethodDescriptionafterURI()Invoked when finalized 200.Invoked when cancelled 200, 202, 409, 410.Invoked when closed 200, 202, 409, 410.Invoked when cleaning up 200, 410.Directly updates status of participant 200, 202, 410.
-
Method Details
-
completeURI
Invoked when closed 200, 202, 409, 410.- Returns:
- optional uri
-
compensateURI
Invoked when cancelled 200, 202, 409, 410.- Returns:
- optional uri
-
afterURI
Invoked when finalized 200.- Returns:
- optional uri
-
forgetURI
Invoked when cleaning up 200, 410.- Returns:
- optional uri
-
statusURI
Directly updates status of participant 200, 202, 410.- Returns:
- optional uri
-