-
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
feat: log warning in case of finding spring.jpa properties configuration #6291
Conversation
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.
I added a couple of suggestions.
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.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.
Apparently, I missed the Request changes
checkbox the first time. Adding a review to be extra sure we don't merge that one by accident.
1f1557b
to
5b15786
Compare
Hi, I added an IT with maven invoker plugin as @geoand suggested. I struggled with a problem of groovy version and a mix of maven plugin but I think now it's ok, at least the test. I will maybe refactor this #6291 (comment) but not sure what @gsmet means. Once you approve I will squash the commits. |
integration-tests/spring-data-jpa/src/it/spring-configuration/pom.xml
Outdated
Show resolved
Hide resolved
integration-tests/spring-data-jpa/src/it/spring-configuration/verify.groovy
Outdated
Show resolved
Hide resolved
integration-tests/spring-data-jpa/src/it/spring-configuration/src/main/docker/Dockerfile.jvm
Outdated
Show resolved
Hide resolved
integration-tests/spring-data-jpa/src/it/spring-configuration/src/main/docker/Dockerfile.native
Outdated
Show resolved
Hide resolved
...spring-data-jpa/src/it/spring-configuration/src/main/resources/META-INF/resources/index.html
Outdated
Show resolved
Hide resolved
50452f9
to
a8fcfa7
Compare
@aureamunoz can you please rebase onto the latest master? Thanks |
a8fcfa7
to
a7240d4
Compare
@aureamunoz sorry this one slipped through the cracks! Thanks |
@gsmet OK with this? |
a7240d4
to
e2e5829
Compare
Done @geoand, rebase onto master :-) |
Dismissing stale review since the blocking comment was addresse
Thanks @aureamunoz |
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.
I added some comments and the assertions in the test look wrong.
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
integration-tests/spring-data-jpa/src/it/spring-configuration/verify.groovy
Outdated
Show resolved
Hide resolved
integration-tests/spring-data-jpa/src/it/spring-configuration/verify.groovy
Outdated
Show resolved
Hide resolved
e2e5829
to
da3b741
Compare
da3b741
to
ad3429e
Compare
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Outdated
Show resolved
Hide resolved
ad3429e
to
c27bfc0
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
...a-jpa/deployment/src/main/java/io/quarkus/spring/data/deployment/SpringDataJPAProcessor.java
Show resolved
Hide resolved
Hi, there is something to do from my side? |
It's fine from my side. @gsmet can comment further if he thinks more changes need to be made |
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.
Let's merge it.
My personal opinion is that the Map would have been more future proof when we will add more but I suppose we can redo it later when we add more.
Thanks! |
Related to #6192
I'm working on the test but maybe can have already a feedback @geoand @gsmet