>>>>> Steinar Bang <s...@dod.no>:

> (rookie copy/paste mistake!  I forgot to match the name in the
> @Component annotation with the ops4j.preHook config value in
> jdbc-config)

Correcting myself: in addition to the mistake above, I do need a
Datasource consumer, i.e. an SCR component that receives a Datasource
injection.

If not, the liquibase actions are not run.

The project now has an integration test, and the karaf.log of the
integration test shows liquibase output, for version 3.8.0 of liquibase,
so I can use this to debug liquibase logging for 4.x versions:
 
https://github.com/steinarb/liquibase-karaf-feature/tree/master/liquibase-integration-test/karaf.liquibase.tests

Reply via email to