Skip to content
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

Liquibase endpoint does not honor custom change log table #16442

Closed
stephanecot opened this issue Apr 3, 2019 · 2 comments
Closed

Liquibase endpoint does not honor custom change log table #16442

stephanecot opened this issue Apr 3, 2019 · 2 comments
Labels
type: bug A general bug
Milestone

Comments

@stephanecot
Copy link

stephanecot commented Apr 3, 2019

Hello,
I am using Spring Boot 2.1.3.
With this, I have a project where I use Liquibase to build my database.
My config is like this:

spring:
  liquibase:
    change-log: classpath:/db/changelog/db.changelog-master.yaml
    check-change-log-location: true
    drop-first: false
    enabled: true
    database-change-log-lock-table: liquibase_database_changelog_lock
    database-change-log-table: liquibase_database_changelog

It is working fine.
But, when I used Spring Boot Admin (and so the end point /actuator/liquibase), It is not working ==> No datas.
In my log file, I have:

2019-04-03 17:19:01.002  INFO 6 --- [nio-7911-exec-6] liquibase.executor.jvm.JdbcExecutor      : SELECT COUNT(*) FROM portal_partners.DATABASECHANGELOG

==> The endpoint doesn't use the config from the spring.liquibase.*** config.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 3, 2019
@snicoll
Copy link
Member

snicoll commented Apr 3, 2019

The template has a “do not copy paste” section so please don’t add the issue type. I’ve edited your comment.

@stephanecot
Copy link
Author

Sorry, I thinked it was for the "all" comment.

@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 4, 2019
@wilkinsona wilkinsona added this to the 2.1.x milestone Apr 4, 2019
@wilkinsona wilkinsona changed the title Problem with endpoint liquibase and custom config Liquibase endpoint does not honour custom change log table Apr 4, 2019
@wilkinsona wilkinsona changed the title Liquibase endpoint does not honour custom change log table Liquibase endpoint does not honor custom change log table Apr 4, 2019
@wilkinsona wilkinsona modified the milestones: 2.1.x, 2.1.5 Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

4 participants