Search in sources :

Example 1 with DefaultCatalogService

use of org.killbill.billing.catalog.DefaultCatalogService in project killbill by killbill.

the class JunctionTestSuiteWithEmbeddedDB method initCatalog.

private VersionedCatalog initCatalog(final CatalogService catalogService) throws Exception {
    ((DefaultCatalogService) catalogService).loadCatalog();
    final VersionedCatalog catalog = catalogService.getFullCatalog(true, true, internalCallContext);
    assertNotNull(catalog);
    return catalog;
}
Also used : VersionedCatalog(org.killbill.billing.catalog.api.VersionedCatalog) DefaultCatalogService(org.killbill.billing.catalog.DefaultCatalogService)

Example 2 with DefaultCatalogService

use of org.killbill.billing.catalog.DefaultCatalogService in project killbill by killbill.

the class DefaultSubscriptionTestInitializer method initCatalog.

public VersionedCatalog initCatalog(final CatalogService catalogService, final InternalTenantContext context) throws Exception {
    ((DefaultCatalogService) catalogService).loadCatalog();
    final VersionedCatalog catalog = catalogService.getFullCatalog(true, true, context);
    assertNotNull(catalog);
    return catalog;
}
Also used : VersionedCatalog(org.killbill.billing.catalog.api.VersionedCatalog) DefaultCatalogService(org.killbill.billing.catalog.DefaultCatalogService)

Example 3 with DefaultCatalogService

use of org.killbill.billing.catalog.DefaultCatalogService in project killbill by killbill.

the class EntitlementTestSuiteWithEmbeddedDB method initCatalog.

private VersionedCatalog initCatalog(final CatalogService catalogService) throws Exception {
    ((DefaultCatalogService) catalogService).loadCatalog();
    final VersionedCatalog catalog = catalogService.getFullCatalog(true, true, internalCallContext);
    assertNotNull(catalog);
    return catalog;
}
Also used : VersionedCatalog(org.killbill.billing.catalog.api.VersionedCatalog) DefaultCatalogService(org.killbill.billing.catalog.DefaultCatalogService)

Aggregations

DefaultCatalogService (org.killbill.billing.catalog.DefaultCatalogService)3 VersionedCatalog (org.killbill.billing.catalog.api.VersionedCatalog)3