-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Initial copy of Derby extension #4424
Conversation
Looks like format validation failed. Can you run 'mvn process-sources' and push an amended commit? We have really strict formatting rules but the default maven build automatically formats, so if you build from maven before pushing you should not run into this again. |
...bc-derby-deployment/src/main/java/io/quarkus/jdbc/derby/deployment/DerbyJDBCReflections.java
Outdated
Show resolved
Hide resolved
integration-tests/jpa-derby/src/main/resources/META-INF/beans.xml
Outdated
Show resolved
Hide resolved
...jdbc-derby-deployment/src/main/java/io/quarkus/jdbc/derby/deployment/JDBCDerbyProcessor.java
Show resolved
Hide resolved
Thanks for the review comments already @stuartwdouglas and @cescoffier! This PR was just a draft so not fully polished yet, but I appreciate you guys taking the time to look it over in the early stages. |
@stuartwdouglas I have been running various flavors of I'm not too familiar with azure pipelines, but I take it the formatting failure is described somewhere in the build output? I've tried to view the build results myself (specifically this link) but it's not loading for me -- perhaps they have been auto-deleted by 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.
Overall, looks good to me (hi Andy!). I added a couple of comments here and there.
core/deployment/src/main/java/io/quarkus/deployment/builditem/FeatureBuildItem.java
Outdated
Show resolved
Hide resolved
...bc-derby-deployment/src/main/java/io/quarkus/jdbc/derby/deployment/DerbyJDBCReflections.java
Outdated
Show resolved
Hide resolved
...jdbc-derby-deployment/src/main/java/io/quarkus/jdbc/derby/deployment/JDBCDerbyProcessor.java
Show resolved
Hide resolved
.../src/main/java/io/quarkus/jdbc/derby/runtime/graal/ClientDriver_PlaceholderSubstitution.java
Outdated
Show resolved
Hide resolved
That link worked fine for me, AFAIK the results should be public so you should be able to see them as well. To see the logs you need to click on the 'Linux Maven Repo' task. If you run mvn install it should auto format for you. I also use the following in '.git/hooks/pre-push'
This will check before pushing (if you want to save time as you know it is ok you can use --no-verify when you push) |
PR is now updated with all review comment feedback, as well as CI checks passing. @Sanne @cescoffier @gsmet please re-review when you get a chance. Thanks! |
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.
Looks good to me, but I'm not a database guy.
Will let @Sanne do more meaningful comments
public static final String JDBC_POSTGRESQL = "jdbc-postgresql"; | ||
public static final String JDBC_MARIADB = "jdbc-mariadb"; |
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.
a very minor comment - I think the constants are sorted in alphabetically. We should preserve that :-)
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.
Seems ready to go! Just missed to mention the new Maven modules in the respective parents, I added that.
Thanks!
Working directly with @Sanne on this, but anyone is welcome to commend and discuss!
Fixes #4442