Search in sources :

Example 6 with GuicyKillbillTestWithEmbeddedDBModule

use of org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule in project killbill by killbill.

the class TestInvoiceModuleWithEmbeddedDb method configure.

@Override
public void configure() {
    super.configure();
    install(new DefaultAccountModule(configSource));
    install(new GuicyKillbillTestWithEmbeddedDBModule(configSource, clock));
    install(new NonEntityDaoModule(configSource));
    install(new TagStoreModule(configSource));
    install(new AuditModule(configSource));
    bind(CurrencyConversionApi.class).toInstance(Mockito.mock(CurrencyConversionApi.class));
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultAccountModule(org.killbill.billing.account.glue.DefaultAccountModule) CurrencyConversionApi(org.killbill.billing.currency.api.CurrencyConversionApi) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule) TagStoreModule(org.killbill.billing.util.glue.TagStoreModule) AuditModule(org.killbill.billing.util.glue.AuditModule)

Example 7 with GuicyKillbillTestWithEmbeddedDBModule

use of org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule in project killbill by killbill.

the class TestAccountModuleWithEmbeddedDB method configure.

@Override
public void configure() {
    super.configure();
    install(new GuicyKillbillTestWithEmbeddedDBModule(configSource, clock));
    install(new NonEntityDaoModule(configSource));
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule)

Example 8 with GuicyKillbillTestWithEmbeddedDBModule

use of org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule in project killbill by killbill.

the class BeatrixIntegrationModule method configure.

@Override
protected void configure() {
    install(new GuicyKillbillTestWithEmbeddedDBModule(true, configSource, clock, killbillFeatures));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    install(new EventModule(configSource));
    install(new CallContextModule(configSource));
    install(new TagStoreModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new DefaultAccountModule(configSource, killbillFeatures));
    install(new CatalogModule(configSource));
    install(new DefaultSubscriptionModule(configSource));
    install(new DefaultEntitlementModule(configSource));
    install(new DefaultInvoiceModuleWithSwitchRepairLogic(configSource));
    install(new TemplateModule(configSource));
    install(new PaymentPluginMockModule(configSource, clock));
    install(new DefaultJunctionModule(configSource));
    install(new IntegrationTestOverdueModule(configSource));
    install(new AuditModule(configSource));
    install(new CurrencyModule(configSource));
    install(new DefaultTenantModule(configSource));
    install(new ExportModule(configSource));
    install(new NonEntityDaoModule(configSource));
    install(new RecordIdModule(configSource));
    install(new UsageModule(configSource));
    install(new SecurityModule(configSource));
    install(new NodesModule(configSource));
    install(new BroadcastModule(configSource));
    install(new KillBillShiroModuleOnlyIniRealm(configSource));
    install(new BeatrixModule(configSource));
    final ConfigurationObjectFactory factory = new ConfigurationObjectFactory(skifeConfigSource);
    final JaxrsConfig jaxrsConfig = factory.build(JaxrsConfig.class);
    install(new KillbillApiAopModule(jaxrsConfig));
    bind(AccountChecker.class).asEagerSingleton();
    bind(SubscriptionChecker.class).asEagerSingleton();
    bind(InvoiceChecker.class).asEagerSingleton();
    bind(PaymentChecker.class).asEagerSingleton();
    bind(RefundChecker.class).asEagerSingleton();
    bind(AuditChecker.class).asEagerSingleton();
    bind(TestApiListener.class).asEagerSingleton();
    bind(TestDBRouterAPI.class).asEagerSingleton();
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultEntitlementModule(org.killbill.billing.entitlement.glue.DefaultEntitlementModule) PaymentChecker(org.killbill.billing.beatrix.util.PaymentChecker) EventModule(org.killbill.billing.util.glue.EventModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TemplateModule(org.killbill.billing.util.email.templates.TemplateModule) TestDBRouterAPI(org.killbill.billing.beatrix.integration.db.TestDBRouterAPI) SubscriptionChecker(org.killbill.billing.beatrix.util.SubscriptionChecker) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule) CacheModule(org.killbill.billing.util.glue.CacheModule) ExportModule(org.killbill.billing.util.glue.ExportModule) SecurityModule(org.killbill.billing.util.glue.SecurityModule) InvoiceChecker(org.killbill.billing.beatrix.util.InvoiceChecker) CallContextModule(org.killbill.billing.util.glue.CallContextModule) DefaultSubscriptionModule(org.killbill.billing.subscription.glue.DefaultSubscriptionModule) AuditChecker(org.killbill.billing.beatrix.util.AuditChecker) TagStoreModule(org.killbill.billing.util.glue.TagStoreModule) KillbillApiAopModule(org.killbill.billing.util.glue.KillbillApiAopModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule) DefaultAccountModule(org.killbill.billing.account.glue.DefaultAccountModule) CurrencyModule(org.killbill.billing.currency.glue.CurrencyModule) BroadcastModule(org.killbill.billing.util.glue.BroadcastModule) RecordIdModule(org.killbill.billing.util.glue.RecordIdModule) CatalogModule(org.killbill.billing.catalog.glue.CatalogModule) NodesModule(org.killbill.billing.util.glue.NodesModule) ConfigurationObjectFactory(org.skife.config.ConfigurationObjectFactory) BeatrixModule(org.killbill.billing.beatrix.glue.BeatrixModule) TestApiListener(org.killbill.billing.api.TestApiListener) RefundChecker(org.killbill.billing.beatrix.util.RefundChecker) DefaultTenantModule(org.killbill.billing.tenant.glue.DefaultTenantModule) UsageModule(org.killbill.billing.usage.glue.UsageModule) IntegrationTestOverdueModule(org.killbill.billing.beatrix.integration.overdue.IntegrationTestOverdueModule) AccountChecker(org.killbill.billing.beatrix.util.AccountChecker) DefaultJunctionModule(org.killbill.billing.junction.glue.DefaultJunctionModule) AuditModule(org.killbill.billing.util.glue.AuditModule) JaxrsConfig(org.killbill.billing.util.config.definition.JaxrsConfig)

Example 9 with GuicyKillbillTestWithEmbeddedDBModule

use of org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule in project killbill by killbill.

the class TestOverdueModuleWithEmbeddedDB method configure.

@Override
public void configure() {
    super.configure();
    install(new GuicyKillbillTestWithEmbeddedDBModule(configSource, clock));
    install(new NonEntityDaoModule(configSource));
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule)

Example 10 with GuicyKillbillTestWithEmbeddedDBModule

use of org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule in project killbill by killbill.

the class TestDefaultSubscriptionModuleWithEmbeddedDB method configure.

@Override
protected void configure() {
    install(new GuicyKillbillTestWithEmbeddedDBModule(configSource, clock));
    install(new NonEntityDaoModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new DefaultAccountModule(configSource));
    install(new AuditModule(configSource));
    super.configure();
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultAccountModule(org.killbill.billing.account.glue.DefaultAccountModule) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule) AuditModule(org.killbill.billing.util.glue.AuditModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule)

Aggregations

GuicyKillbillTestWithEmbeddedDBModule (org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule)12 NonEntityDaoModule (org.killbill.billing.util.glue.NonEntityDaoModule)10 DefaultAccountModule (org.killbill.billing.account.glue.DefaultAccountModule)7 AuditModule (org.killbill.billing.util.glue.AuditModule)7 TestApiListener (org.killbill.billing.api.TestApiListener)5 TagStoreModule (org.killbill.billing.util.glue.TagStoreModule)4 CatalogModule (org.killbill.billing.catalog.glue.CatalogModule)3 DefaultSubscriptionModule (org.killbill.billing.subscription.glue.DefaultSubscriptionModule)3 DefaultEntitlementModule (org.killbill.billing.entitlement.glue.DefaultEntitlementModule)2 CacheModule (org.killbill.billing.util.glue.CacheModule)2 ConfigModule (org.killbill.billing.util.glue.ConfigModule)2 CustomFieldModule (org.killbill.billing.util.glue.CustomFieldModule)2 EventModule (org.killbill.billing.util.glue.EventModule)2 SecurityModule (org.killbill.billing.util.glue.SecurityModule)2 BeatrixModule (org.killbill.billing.beatrix.glue.BeatrixModule)1 TestDBRouterAPI (org.killbill.billing.beatrix.integration.db.TestDBRouterAPI)1 IntegrationTestOverdueModule (org.killbill.billing.beatrix.integration.overdue.IntegrationTestOverdueModule)1 AccountChecker (org.killbill.billing.beatrix.util.AccountChecker)1 AuditChecker (org.killbill.billing.beatrix.util.AuditChecker)1 InvoiceChecker (org.killbill.billing.beatrix.util.InvoiceChecker)1