What are those files besides what quarkus.liquibase.change-log
points to ?
/max
https://xam.dk/about
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAD%2BL2cwXppn8nW_yORYXMeyRWCk5wtHf3-f_DHjS2JLCELszWA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/35FCD7FA-9F60-47F4-BDC8-046DB1A180EE%40redhat.com.
I guess what we could do is a hybrid that adds a liquidbase folder to monitor for changes + get list from the parser if run.
Then it would "just work" except for the case where a new include is added referring to a file outside the liquibase folder.
could be that "get list from the parser + monitor it" can be a significant overhead but at least it would work for existing setups.
/max
https://xam.dk/about
just realised our flyway integrations have this:
https://quarkus.io/guides/flyway#quarkus-flyway_quarkus.flyway.locations
mimic that ?
make liquibase.locations=${basedir:liquibase.change-log}
but you can give a list if you want ?
then the semantics are somewhat the same in devmode ? (though I think flyway don't need a starting file)
/max
https://xam.dk/about
Well, we could be a bit more clever than a convention.
We could check every file in the directory containing the changelog as it's
defined at build time:
https://github.com/quarkusio/quarkus/blob/master/extensions/liquibase/runtime/src/main/java/io/quarkus/liquibase/runtime/LiquibaseDataSourceBuildTimeConfig.java#L29
The only rule would be: put your changelog files in a specific directory
where you don't put other files.
Yes, thats what my proposal was - use base directory of existing change-log property, but have a optional .locations
property similar
to flyway integration to make the configuration similar.
On Fri, Apr 24, 2020 at 12:33 PM Stuart Douglas <sdou...@redhat.com> wrote:
I think just have a convention of 'put in this folder' is all we need. If
you put it outside you lose Dev mode support but I think that is ok.
Stuart
On Fri, 24 Apr 2020, 8:30 pm Max Rydahl Andersen, <mand...@redhat.com>
wrote:
I guess what we could do is a hybrid that adds a liquidbase folder to
monitor for changes + get list from the parser if run.
Then it would "just work" except for the case where a *new* include is
Yes, thats what my proposal was - use base directory of existing change-log property, but have a optional
.locations
property similar
to flyway integration to make the configuration similar.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CALt0%2Bo9Vp3PzAR%2BkqRk_JUk2Z970QdfBOLj4g8BRTGRKSom%2B9Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CANwCmXJM6b6OdsF9f%3D15xaAWcq1CQThNyFSYFyphAyrdsHY37A%40mail.gmail.com.
> I have actually figured out a way to improve the performance here:
> https://github.com/quarkusio/quarkus/pull/8934/files
>
> Liquibase has a fairly slow service discovery mechanism, that I
> replaced
> with a Jandex based one, and more importantly limited the Database
> implementations to just the ones in use. It looks like it generates
> SQL for
> every known database so this made a big impact on startup time.
very cool! I wonder why they generate for all database...seems "too
much" even
as their own default implementation. Awesome Quarkus can help it do more
with less :)
The improvement on monitoring change log file and its base dir content
would
then not be so much help performance wise but just make it smoother to
have it reload if you changed the files between events, right ?