swri-robotics / bag-database

A server that catalogs bag files and provides a web-based UI for accessing them.
Other
342 stars 71 forks source link

Update liquibase & fix ldap bean loading #184

Closed pjreed closed 2 years ago

pjreed commented 2 years ago

Spring was trying to load LDAP-related beans even if no LDAP configuration had been set, which would result in them throwing exceptions and shutting everything down.

This marks the beans as @Lazy so they won't get initialized until the first time they're used, which won't happen if there is no LDAP configuration.

I also went ahead and updated liquibase to 4.4.0 and tested it, and that seems to work fine, so I'm including that, too.

Signed-off-by: P. J. Reed phillipreed@hatchbed.com