-
Notifications
You must be signed in to change notification settings - Fork 109
Migrate the SRA demo package (io.narayana.sra.demo) over to the [quic… #434
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
Conversation
Where are the quickstart instructions? |
Hi @mmusgrov, This is Draft PR, it is not ready for review. |
What is the purpose of this PR if it's not a request to merge a fix into the codebase? |
What is the purpose of this PR if it's not a request to merge a fix into the codebase? |
7541237
to
f3d9d71
Compare
PR is ready for review. |
e944565
to
4475c6d
Compare
rts/at/sra/src/main/java/io/narayana/sra/demo/api/HotelController.java
Outdated
Show resolved
Hide resolved
rts/at/sra/src/main/java/io/narayana/sra/demo/api/FlightController.java
Outdated
Show resolved
Hide resolved
rts/at/sra/src/main/java/io/narayana/sra/demo/api/TripController.java
Outdated
Show resolved
Hide resolved
SRA is synonymous with REST-AT - it's just a different name for it. The SRA demo is to showcase how to use the REST-AT annotations so it belongs with the |
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.
We have lost a record of the work that other contributors (such as Sweta and Ondra) made to the module (git log --follow
should be able to track the moved files).
rts/at/sra/src/main/java/io/narayana/sra/demo/api/FlightController.java
Outdated
Show resolved
Hide resolved
@moulalis I don't think we should merge this until we have fixed the demo ie issue https://issues.redhat.com/browse/JBTM-3489 should be resolved first. If we were to merge this first then JBTM-3489 would need to be marked as a blocker. I've linked the two issues. |
Resolving JBTM-3463 would also significantly improve this quickstart |
Yes, I agree with Mike. It would be great to resolve all the issues related to the SRA quickstart (same PR but different commits). I understand it might be quite demanding, so if you need help we will be happy to help. |
Actually, working on this issue could be a follow up quickstart showing how to decompose the example into separate microservices and also showing how the context still gets propagated. |
FYI, I have already started working on this. @mmusgrov @marcosgopen |
d51728d
to
c31d277
Compare
Hi @mmusgrov, @marcosgopen |
@moulalis I'd have expected you to be able to add the label since I gave you the "Write" Role in github - did you try it first. |
I apparently added the comment. I realized that I have permission until then @jmfinelli added it. The HOLD label is needed until https://issues.redhat.com/browse/JBTM-3489 is fixed. |
@moulalis thanks. Also, did you notice my comment about the commit history (#434 (review)) |
[JBTM-3588] migrate arquillian-protocol-servlet dependency to jakarta [JBTM-3588] jakarta migration, bean auto-discovery set to all see https://jakarta.ee/specifications/cdi/4.0/jakarta-cdi-spec-4.0.html#_jakarta_contexts_and_dependency_injection_4_0
[JBTM-3695] Removed unused/javax dependencies from txbridge [JBTM-3695] Removed unused/javax dependencies from narayana-full [JBTM-3695] Removed unused/javax dependencies from the root pom
…ry mode in lra-client)
No changes updated, only rebase is done. |
rts/at/pom.xml
Outdated
<groupId>org.jboss.narayana.quickstart.rts</groupId> | ||
<artifactId>rts-quickstarts</artifactId> | ||
<version>7.0.1.Final-SNAPSHOT</version> | ||
<version>6.0.2.Final-SNAPSHOT</version> |
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.
Here you need version 7.0.1.Final-SNAPSHOT
…ey each run in their own JVMs,
@mmusgrov @marcosgopen I've updated the PR along with CI tests, could you please review and run the job? |
Does it work now? |
Started testing this pull request: https://ci-jenkins-csb-narayana.apps.ocp-c1.prod.psi.redhat.com/job/btny-pulls-narayana-quickstart/16/ |
Yes |
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.
The contribution looks good, thanks @moulalis for your continued perseverance to see this one through to the end. @marcosgopen do you think that we can merge this one now?
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.
Thanks @moulalis for your great work on this PR. It looks good to me.
Issue: https://issues.redhat.com/browse/JBTM-3462
Issue: https://issues.redhat.com/browse/JBTM-3463
Issue: https://issues.redhat.com/browse/JBTM-3794
The PR https://issues.redhat.com/browse/JBTM-3489 is fixed. So it is available for review.