Search in sources :

Example 1 with TagStoreModule

use of org.killbill.billing.util.glue.TagStoreModule in project killbill by killbill.

the class TestEntitlementModuleWithEmbeddedDB method configure.

@Override
protected void configure() {
    super.configure();
    install(new DefaultAccountModule(configSource));
    install(new GuicyKillbillTestWithEmbeddedDBModule(configSource, clock));
    install(new NonEntityDaoModule(configSource));
    install(new TagStoreModule(configSource));
    install(new CatalogModule(configSource));
    install(new DefaultSubscriptionModule(configSource));
    install(new AuditModule(configSource));
    bind(TestApiListener.class).asEagerSingleton();
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultAccountModule(org.killbill.billing.account.glue.DefaultAccountModule) DefaultSubscriptionModule(org.killbill.billing.subscription.glue.DefaultSubscriptionModule) CatalogModule(org.killbill.billing.catalog.glue.CatalogModule) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule) TagStoreModule(org.killbill.billing.util.glue.TagStoreModule) TestApiListener(org.killbill.billing.api.TestApiListener) AuditModule(org.killbill.billing.util.glue.AuditModule)

Example 2 with TagStoreModule

use of org.killbill.billing.util.glue.TagStoreModule in project killbill by killbill.

the class TestAccountModule method configure.

@Override
protected void configure() {
    super.configure();
    install(new AuditModule(configSource));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    install(new EventModule(configSource));
    install(new CallContextModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new MockTenantModule(configSource));
    // Needed for Audit
    install(new MockSubscriptionModule(configSource));
    install(new TagStoreModule(configSource));
}
Also used : MockTenantModule(org.killbill.billing.mock.glue.MockTenantModule) MockSubscriptionModule(org.killbill.billing.mock.glue.MockSubscriptionModule) EventModule(org.killbill.billing.util.glue.EventModule) CallContextModule(org.killbill.billing.util.glue.CallContextModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TagStoreModule(org.killbill.billing.util.glue.TagStoreModule) AuditModule(org.killbill.billing.util.glue.AuditModule) CacheModule(org.killbill.billing.util.glue.CacheModule) CustomFieldModule(org.killbill.billing.util.glue.CustomFieldModule)

Example 3 with TagStoreModule

use of org.killbill.billing.util.glue.TagStoreModule in project killbill by killbill.

the class TestJunctionModuleWithEmbeddedDB method configure.

@Override
protected void configure() {
    super.configure();
    install(new GuicyKillbillTestWithEmbeddedDBModule(configSource, clock));
    install(new NonEntityDaoModule(configSource));
    install(new CatalogModule(configSource));
    install(new DefaultAccountModule(configSource));
    install(new DefaultEntitlementModule(configSource));
    install(new DefaultSubscriptionModule(configSource));
    install(new TagStoreModule(configSource));
    install(new AuditModule(configSource));
    bind(TestApiListener.class).asEagerSingleton();
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultAccountModule(org.killbill.billing.account.glue.DefaultAccountModule) DefaultEntitlementModule(org.killbill.billing.entitlement.glue.DefaultEntitlementModule) DefaultSubscriptionModule(org.killbill.billing.subscription.glue.DefaultSubscriptionModule) CatalogModule(org.killbill.billing.catalog.glue.CatalogModule) GuicyKillbillTestWithEmbeddedDBModule(org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule) TagStoreModule(org.killbill.billing.util.glue.TagStoreModule) TestApiListener(org.killbill.billing.api.TestApiListener) AuditModule(org.killbill.billing.util.glue.AuditModule)

Example 4 with TagStoreModule

use of org.killbill.billing.util.glue.TagStoreModule in project killbill by killbill.

the class KillpayServerModule method installKillbillModules.

@Override
protected void installKillbillModules() {
    install(new AuditModule(configSource));
    install(new NodesModule(configSource));
    install(new BroadcastModule(configSource));
    install(new BeatrixModule(configSource));
    install(new CacheModule(configSource));
    install(new ConfigModule(configSource));
    install(new EventModule(configSource));
    install(new CallContextModule(configSource));
    install(new CurrencyModule(configSource));
    install(new CustomFieldModule(configSource));
    install(new DefaultAccountModule(configSource));
    install(new ExportModule(configSource));
    install(new GlobalLockerModule(configSource));
    install(new KillBillShiroAopModule(configSource));
    final ConfigurationObjectFactory factory = new ConfigurationObjectFactory(skifeConfigSource);
    final JaxrsConfig jaxrsConfig = factory.build(JaxrsConfig.class);
    install(new KillbillApiAopModule(jaxrsConfig));
    install(new JaxRSAopModule(jaxrsConfig));
    install(new KillBillShiroWebModule(servletContext, skifeConfigSource));
    install(new NonEntityDaoModule(configSource));
    install(new PaymentModule(configSource));
    install(new RecordIdModule(configSource));
    install(new SecurityModule(configSource));
    install(new TagStoreModule(configSource));
    install(new DefaultTenantModule(configSource));
    // TODO Required by payment for InvoiceInternalApi and InvoicePaymentApi
    install(new DefaultInvoiceModule(configSource));
    // TODO Dependencies for DefaultInvoiceModule
    install(new CatalogModule(configSource));
    install(new DefaultEntitlementModule(configSource));
    install(new DefaultJunctionModule(configSource));
    install(new DefaultSubscriptionModule(configSource));
    install(new TemplateModule(configSource));
    install(new UsageModule(configSource));
    install(new DefaultJaxrsModule(configSource));
    // TODO Dependencies for AccountResource
    install(new DefaultOverdueModule(configSource));
}
Also used : NonEntityDaoModule(org.killbill.billing.util.glue.NonEntityDaoModule) DefaultEntitlementModule(org.killbill.billing.entitlement.glue.DefaultEntitlementModule) DefaultJaxrsModule(org.killbill.billing.jaxrs.glue.DefaultJaxrsModule) EventModule(org.killbill.billing.util.glue.EventModule) ConfigModule(org.killbill.billing.util.glue.ConfigModule) TemplateModule(org.killbill.billing.util.email.templates.TemplateModule) CacheModule(org.killbill.billing.util.glue.CacheModule) ExportModule(org.killbill.billing.util.glue.ExportModule) SecurityModule(org.killbill.billing.util.glue.SecurityModule) PaymentModule(org.killbill.billing.payment.glue.PaymentModule) DefaultOverdueModule(org.killbill.billing.overdue.glue.DefaultOverdueModule) CallContextModule(org.killbill.billing.util.glue.CallContextModule) DefaultInvoiceModule(org.killbill.billing.invoice.glue.DefaultInvoiceModule) DefaultSubscriptionModule(org.killbill.billing.subscription.glue.DefaultSubscriptionModule) 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) BroadcastModule(org.killbill.billing.util.glue.BroadcastModule) CurrencyModule(org.killbill.billing.currency.glue.CurrencyModule) GlobalLockerModule(org.killbill.billing.util.glue.GlobalLockerModule) 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) KillBillShiroAopModule(org.killbill.billing.util.glue.KillBillShiroAopModule) DefaultTenantModule(org.killbill.billing.tenant.glue.DefaultTenantModule) UsageModule(org.killbill.billing.usage.glue.UsageModule) AuditModule(org.killbill.billing.util.glue.AuditModule) DefaultJunctionModule(org.killbill.billing.junction.glue.DefaultJunctionModule) JaxrsConfig(org.killbill.billing.util.config.definition.JaxrsConfig)

Example 5 with TagStoreModule

use of org.killbill.billing.util.glue.TagStoreModule 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)

Aggregations

AuditModule (org.killbill.billing.util.glue.AuditModule)7 TagStoreModule (org.killbill.billing.util.glue.TagStoreModule)7 DefaultAccountModule (org.killbill.billing.account.glue.DefaultAccountModule)6 NonEntityDaoModule (org.killbill.billing.util.glue.NonEntityDaoModule)6 CatalogModule (org.killbill.billing.catalog.glue.CatalogModule)5 DefaultSubscriptionModule (org.killbill.billing.subscription.glue.DefaultSubscriptionModule)5 GuicyKillbillTestWithEmbeddedDBModule (org.killbill.billing.GuicyKillbillTestWithEmbeddedDBModule)4 DefaultEntitlementModule (org.killbill.billing.entitlement.glue.DefaultEntitlementModule)4 CacheModule (org.killbill.billing.util.glue.CacheModule)4 CallContextModule (org.killbill.billing.util.glue.CallContextModule)4 ConfigModule (org.killbill.billing.util.glue.ConfigModule)4 CustomFieldModule (org.killbill.billing.util.glue.CustomFieldModule)4 EventModule (org.killbill.billing.util.glue.EventModule)4 TestApiListener (org.killbill.billing.api.TestApiListener)3 BeatrixModule (org.killbill.billing.beatrix.glue.BeatrixModule)3 CurrencyModule (org.killbill.billing.currency.glue.CurrencyModule)3 DefaultJunctionModule (org.killbill.billing.junction.glue.DefaultJunctionModule)3 DefaultTenantModule (org.killbill.billing.tenant.glue.DefaultTenantModule)3 UsageModule (org.killbill.billing.usage.glue.UsageModule)3 JaxrsConfig (org.killbill.billing.util.config.definition.JaxrsConfig)3