Skip to content

Commit 31cdaca

Browse files
authored
Merge pull request #353 from xstefank/issue-352
Fix a few mistakes in the specification
2 parents 4a40e6f + 8722076 commit 31cdaca

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Diff for: spec/src/main/asciidoc/microprofile-lra-spec.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ the `cancelOn` and `cancelOnFamily` elements:
565565
...
566566
}
567567
568-
@LRA(LRA.Type.MANDATORY, // requires an active context before method can be executed
568+
@LRA(value = LRA.Type.MANDATORY, // requires an active context before method can be executed
569569
end = true) // end the received LRA when the method finishes
570570
@Path("/confirm")
571571
@PUT
@@ -1202,7 +1202,7 @@ the bookFlight method returns.
12021202
@Inject
12031203
private FlightService service;
12041204
1205-
@LRA(LRA.Type.NESTED, end = true)
1205+
@LRA(value = LRA.Type.NESTED, end = true)
12061206
@POST
12071207
@Produces(MediaType.APPLICATION_JSON)
12081208
public Booking bookFlight(@HeaderParam(LRA_HTTP_CONTEXT_HEADER) URI lraId,

Diff for: spec/src/main/asciidoc/release_notes.asciidoc

-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ To get started, add this dependency to your project:
9292
<dependency>
9393
<groupId>org.eclipse.microprofile.lra</groupId>
9494
<artifactId>microprofile-lra-api</artifactId>
95-
<version>${version.microprofile.lra}</version>
9695
<version>1.0</version>
9796
<scope>provided</scope>
9897
</dependency>

0 commit comments

Comments
 (0)