-
Notifications
You must be signed in to change notification settings - Fork 1.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
Make FormattedSqlChangeLogParser reusable #2569
Conversation
Hello, I paired with @clarenced on this during today's https://www.meetup.com/Paris-Hackergarten/ :) |
...ibase-core/src/main/java/liquibase/parser/core/formattedsql/FormattedSqlChangeLogParser.java
Outdated
Show resolved
Hide resolved
…l/FormattedSqlChangeLogParser.java Co-authored-by: Florent Biville <445792+fbiville@users.noreply.github.com>
…quibase into clarenced-liquibase-neo4j-117
The change seems good. It's a refactoring that improves extensibility, and the existing automated tests would catch any issue with it not detecting formatted changelog files correctly. |
This PR, in association with the liquibase-neo4j PR, introduces the ability to use Liquibase to deploy changelogs in the native Neo4j cypher format. Special Thanks! Note
If the debug output does not show that the Neo4jDatabase loaded, you may want to check your Debug Output if Extension Loaded Correctly
Test Setup
Verify
Verify
Test Environment |
@XDelphiGrl thanks for the thorough test. As for the JAR issue, I believe this is a consequence of a misconfiguration of the "full" JAR creation, which has been fixed today with this release: https://github.com/liquibase/liquibase-neo4j/releases/tag/liquibase-neo4j-4.8.0.1. |
@fbiville, you are very welcome! I will try with the latest build and let you know what I see. I hope you, your family and friends are safe and healthy in this stressful time. |
Description
Currently the FormattedSqlChangeLogParser's
supports()
method is hard-coded to only support files that end in.sql
. This makes it difficult for extensions to subclass to leverage the logic in FormattedSqlChangeLogParser but use a different extension. In this case, to have use formatted *.cypher files for neo4j