-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jakarta REST 5.0 Epic #1158
Comments
Is there an issue filed about removing |
I am not aware that we decided to do so. @spericas Why using a new branch? Why not developing on master branch? |
There's no longer a need for the annotation if
We can switch after the TCK work (challenges) is complete. |
I don't think so. Note that it's easy to create issues by clicking on one of the epic bullets above ... |
Sorry for the delay. I'm not sure I fully grok this part yet so I need to do some reading. Overall though, I think the proposal makes sense. I've got some CDI questions, especially around clients, but that seems more of a fit for CDI specific issue. I need to re-read that issue anyway since it's been a while :) |
Top-level files will be fine when my recently opened PRs are resolved. Checking the issue already, as there are no top-level files to be modified. Update: PR was merged meanwhile. |
Hi all, I'm looking for some more information about the new I can't find any discussion around it other than "Use of new annotation @entity is required" in @spericas presentation PDF. This seems to just make the method signature more verbose without adding any additional functionality. Is this correct? Or does this annotation impact additional behavior that I am unaware of? |
@WhiteCat22 I could be wrong, but my understanding is we need a way to indicate which part of a method signature is the entity because the @POST
@Path("async")
@Consumes(MediaType.TEXT_PLAIN)
public void putMessageAsync(
@QueryParam("override") boolean override,
@Entity String message,
AsyncResponse ar) {
Executors.newSingleThreadExecutor().submit(() -> {
// …
ar.resume("Done");
});
} Since In some ways it could be considered less verbose because |
@WhiteCat22 @jamezp Not just that, with CDI taking control of the method call, developers will be able to inject any CDI bean as a parameter, but only one of those injections will correspond to the request entity. |
Makes sense! Thank you! |
Is removal of the JAXB dependency related to this issue? Should |
Sort of, it is more related to 4.0 in general, not directly related to the CDI work.
Fixed, thanks. |
Hi all, after presenting RESTFulWS-4.0 to the rest of the Open Liberty organization @jim-krueger and I received feedback on the new |
There is action item above for adding TCK for the new Multipart function added in version 3.1. Should we also add an action item to add TCK for the requirement of the default exception mapper in 3.1? Issue 858. I don't believe any new tests were added. |
Sure, I'm not sure either if tested in the TCK. Opening an issue for investigation seems like the right step. |
Agreed. Created Issue 1188 and updated checklist on top. |
With the Milestone 1 deadline approaching December 5th. Are there thoughts on what things above must be in the spec/api's for M1 and what things are optional for that deadline? |
@jim-krueger I'd say optional would be TCKs and integrations with other specs, mostly everything else should be there. I'd say going over the spec and updating it to reflect the changes in 4.0 would be high priority. If someone can volunteer for that, it would be very helpful. |
/The proposal is carry out all this work in the
release-4.0
branch (we can rename this branch later if necessary). After checking out that branch, review presentation inJakartaRest40.pdf
for some background info on the 4.0 release.General
API
@Context
and@Suspended
and related classes@Body
annotationSpecification
@Context
and@AsyncResponse
and related classesExamples
@Context
etc.TCKs
The text was updated successfully, but these errors were encountered: