-
Notifications
You must be signed in to change notification settings - Fork 36
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
Feature/reactive panache #192
Conversation
TODO:
|
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.
Besides the comments, why not adding some OpenShift scenarios too?
Adding @pjgg as reviewer since it did the Vert.x SQL module and has experience with reactive.
sql-db/sql-reactive/src/test/java/io/quarkus/ts/openshift/reactive/Postgresql12DatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/sql-reactive/src/test/java/io/quarkus/ts/openshift/reactive/MySQLDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/sql-reactive/src/test/java/io/quarkus/ts/openshift/reactive/MySQLDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/sql-reactive/src/test/java/io/quarkus/ts/openshift/reactive/MsSQLDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/sql-reactive/src/test/java/io/quarkus/ts/openshift/OpenShiftDB2IT.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/Book.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/Library.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/Library.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
86bc5a6
to
ed73c2b
Compare
@fedinskiy how long do the newly added tests run in JVM and Native mode ? |
@rsvoboda Local machine, Native Server, JVM Server, Native |
Review in progress ... |
3ab1f3a
to
758da1c
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.
This is not a complete review, but there are already enough things to change. Please respond to the questions and update the PR. I will take a look once again after the PR is updated
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/Book.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/Book.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/Author.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/resources/application.properties
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/BookDescription.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/AuthorRepository.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/GroundedEndpoint.java
Outdated
Show resolved
Hide resolved
68e0139
to
749a287
Compare
4381370
to
c7e4156
Compare
sql-db/hibernate-reactive/src/main/java/io/quarkus/ts/reactive/PanacheEndpoint.java
Outdated
Show resolved
Hide resolved
private String title; | ||
|
||
@NotNull | ||
private Integer author; |
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.
you can map it by OneToMany <-> ManyToOne, this shouldn't be a problem
5a95696
to
f264eb2
Compare
run tests |
@pjgg OpenShift tests are now run as a part of standard checks. If you want, you can rerun them there: https://github.com/quarkus-qe/quarkus-test-suite/runs/4334102321?check_suite_focus=true |
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, Thank you for your contribution!
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
run tests |
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/MsSQLDatabaseIT.java
Show resolved
Hide resolved
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.
Please resolve the last two comments && it's ready to be merged
f264eb2
to
07ee21a
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.
Missed this one before. Remove bare metal test for Postgresql10DatabaseIT and place the logic in OpenShift variant of it. The same goes for Postgresql12DatabaseIT
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/Postgresql12DatabaseIT.java
Outdated
Show resolved
Hide resolved
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.
Discussed changes
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
sql-db/hibernate-reactive/src/test/java/io/quarkus/ts/reactive/AbstractReactiveDatabaseIT.java
Outdated
Show resolved
Hide resolved
1114b69
to
0a533c1
Compare
6eaa8cb
to
e48bd42
Compare
e48bd42
to
4b6cda1
Compare
Kyrylo comments were already reflected. |
Thanks for the final merge :) |
Tests for hibernate-reactive in general and Panache in particular.
Test plans for these changes can be found here: https://github.com/quarkus-qe/quarkus-test-plans/blob/main/QUARKUS-1079.md
Progress: