Skip to content

Commit

Permalink
lifecycle: Add missing test guice bindings for LifecycleConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrossie committed Dec 6, 2023
1 parent ce72480 commit 0f4f895
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

import org.killbill.billing.lifecycle.DefaultLifecycle;
import org.killbill.billing.lifecycle.api.Lifecycle;
import org.killbill.billing.lifecycle.config.LifecycleConfig;
import org.killbill.billing.lifecycle.glue.BusModule;
import org.killbill.billing.osgi.api.OSGIConfigProperties;
import org.killbill.billing.osgi.api.PluginInfo;
Expand Down Expand Up @@ -84,6 +85,8 @@ protected void configureLifecycle() {
} else {
bind(Lifecycle.class).to(DefaultLifecycle.class).asEagerSingleton();
}
final LifecycleConfig lifecycleConfig = new ConfigurationObjectFactory(skifeConfigSource).build(LifecycleConfig.class);
bind(LifecycleConfig.class).toInstance(lifecycleConfig);
}

protected void configureBus() {
Expand Down

0 comments on commit 0f4f895

Please sign in to comment.