Skip to content

Commit

Permalink
Fix for ci failure
Browse files Browse the repository at this point in the history
  • Loading branch information
reshmabidikar committed Feb 13, 2024
1 parent d52f7b0 commit f325e85
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.killbill.billing.entitlement.api.SubscriptionApi;
import org.killbill.billing.entitlement.plugin.api.EntitlementPluginApi;
import org.killbill.billing.invoice.api.InvoiceUserApi;
import org.killbill.billing.invoice.plugin.api.InvoiceFormatterFactory;
import org.killbill.billing.invoice.plugin.api.InvoicePluginApi;
import org.killbill.billing.osgi.api.Healthcheck;
import org.killbill.billing.osgi.api.OSGIServiceDescriptor;
Expand Down Expand Up @@ -116,6 +117,7 @@ protected void bindOsgiServiceRegistration() {
bind(new TypeLiteral<OSGIServiceRegistration<PaymentPluginApi>>() {}).toInstance(new TestPlatformPaymentProviderPluginRegistry<>(PaymentPluginApi.class));
bind(new TypeLiteral<OSGIServiceRegistration<CurrencyPluginApi>>() {}).toInstance(new TestPlatformPaymentProviderPluginRegistry<>(CurrencyPluginApi.class));
bind(new TypeLiteral<OSGIServiceRegistration<InvoicePluginApi>>() {}).toInstance(new TestPlatformPaymentProviderPluginRegistry<>(InvoicePluginApi.class));
bind(new TypeLiteral<OSGIServiceRegistration<InvoiceFormatterFactory>>() {}).toInstance(new TestPlatformPaymentProviderPluginRegistry<>(InvoiceFormatterFactory.class));
bind(new TypeLiteral<OSGIServiceRegistration<PaymentControlPluginApi>>() {}).toInstance(new TestPlatformPaymentProviderPluginRegistry<>(PaymentControlPluginApi.class));
bind(new TypeLiteral<OSGIServiceRegistration<CatalogPluginApi>>() {}).toInstance(new TestPlatformPaymentProviderPluginRegistry<>(CatalogPluginApi.class));
bind(new TypeLiteral<OSGIServiceRegistration<EntitlementPluginApi>>() {}).toInstance(new TestPlatformPaymentProviderPluginRegistry<>(EntitlementPluginApi.class));
Expand All @@ -135,6 +137,8 @@ public TestPlatformPaymentProviderPluginRegistry(final Class<T> serviceType) {
this.serviceType = serviceType;
}



@Override
public void registerService(final OSGIServiceDescriptor desc, final T service) {
pluginsByName.put(desc.getRegistrationName(), service);
Expand Down

0 comments on commit f325e85

Please sign in to comment.