-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Enhancements for the JPA-related content #31297
Enhancements for the JPA-related content #31297
Conversation
c191da7
to
9267820
Compare
@MichalMaler I think it is an excellent write-up, thanks, nicely refactored. What you have moved to the JPA concept is an extra content in addition to what is covered in https://quarkus.io/guides/security-basic-authentication-tutorial#define-the-user-entity, so copying it will make the JPA concept doc complete |
🙈 The PR is closed and the preview is expired. |
33dc8b5
to
6ddbc78
Compare
@sberyozkin Hello Siarhei! Added all the items from your wish list. |
@jmartisk Thanks Jan for the suggestions and additional SME review during the drafting phase. |
6ddbc78
to
c4d1448
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, lets wait for a bit longer before merging in case more review comments will follow
docs/src/main/asciidoc/security-authentication-mechanisms-concept.adoc
Outdated
Show resolved
Hide resolved
docs/src/main/asciidoc/security-basic-authentication-tutorial.adoc
Outdated
Show resolved
Hide resolved
57f0b96
to
1ae524c
Compare
@michelle-purcell Thank you for the review! Applied lot of great feedback. Please, put your OK tho the last two comments or provide an accurate formulation. Will apply it and do the last squash/rebase combo. Cheers. |
@MichalMaler Hi Michal, the last 2 comments from Michelle look fine to me |
4c4ae9d
to
8597173
Compare
@sberyozkin Cool! Applied. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MichalMaler - Super job. Thank you. Looks great 💯 See my style comments ⬆️ .
[I completed my review. Apologies, my laptop is dead so I had to find another machine to finish the review!]
Signed-off-by: Michal Maléř <[email protected]> Adding additional content Signed-off-by: Michal Maléř <[email protected]> Adding references Signed-off-by: Michal Maléř <[email protected]> Fixes Signed-off-by: Michal Maléř <[email protected]> Apply suggestions from code review Co-authored-by: Michelle Purcell <[email protected]> Fixes Signed-off-by: Michal Maléř <[email protected]> Apply suggestions from code review Co-authored-by: Michelle Purcell <[email protected]> Apply suggestions from code review Co-authored-by: Michelle Purcell <[email protected]>
299f022
to
bc7c502
Compare
Thanks @MichalMaler and @michelle-purcell |
The following JPA entity specification demonstrates how users' information needs to be stored in a JPA entity and properly mapped so that Quarkus can retrieve this information from a database. | ||
|
||
|
||
* The `@UserDefinition` annotation must be present on a JPA entity, regardless of whether link:https://quarkus.io/guides/hibernate-orm-panache[simplified Hibernate ORM with Panache] is used or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MichalMaler - Sorry just noticed this now while verifying single-sourced content on downstream docs. Should this be an xref? Thinking if not an xref, then later it might present a version mismatch as the link always points to the latest.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michelle-purcell - No worries! :) Yeah, I remember this one. I didn't want to cause a broken link when downstream since this file was not diataxed, and was not on the list of the files we were originally downstreaming. If this is no issue at all, I can replace it in no time.
I'm unmarking all the doc PRs for backports. They are all part of massive changes that shouldn't be backported. Please don't mark for backport massive structural changes to the doc. |
@gsmet - OK. Thanks. Sorry for the churn. @inoxx03 / @sberyozkin : We need to find another way to get the recent 2.16 relevant enhancements published to |
Could you explain why you would want to do that? Chances are that if the PR is very large (which is extremely probable given the PRs I have seen), I won't accept it for a micro anyway. |
@gsmet - Because when Quarkus customers click "read the guides" or any doc portal link, they see an older doc state. They don't see content improvements that folks have done since mid-January, which is a pity. Most of those content improvements apply also to 2.16 and are being used to source the downstream version of the equivalent guide, which is currently in the 2.x doc project. |
Enhancements for the JPA-related content:
Main files for downstreaming:
security-jpa-concept.adoc
security-basic-authentication-tutorial.adoc
security-identity-providers-concept.adoc
security-authentication-mechanisms-concept.adoc
Closing: https://issues.redhat.com/browse/QDOCS-99