@EnableRetry @Configuration public class AppmarketCommunicationConfiguration extends Object
| Constructor and Description |
|---|
AppmarketCommunicationConfiguration() |
@Bean public AppmarketBillingClient appmarketBillingReporter(DeveloperSpecificAppmarketCredentialsSupplier credentialsSupplier, @Qualifier(value="sdkInternalJsonMapper") com.fasterxml.jackson.databind.ObjectMapper mapper)
@Bean public MeteredUsageApiClientService meteredUsageApiClientService(DeveloperSpecificAppmarketCredentialsSupplier credentialsSupplier, OAuth1RetrofitWrapper oAuth1RetrofitWrapper)
@Bean public OAuth1RetrofitWrapper oAuth1RetrofitWrapper(okhttp3.OkHttpClient okHttpClient)
@Bean
public okhttp3.OkHttpClient okHttpClient(@Value(value="${usage.api.timeout.connectTimeout:10000}")
int connectTimeout,
@Value(value="${usage.api.timeout.readTimeout:10000}")
int readTimeout,
@Value(value="${usage.api.timeout.writeTimeout:10000}")
int writeTimeout)
@Bean public AppmarketEventClient appmarketEventFetcher(DeveloperSpecificAppmarketCredentialsSupplier credentialsSupplier, @Qualifier(value="sdkInternalJsonMapper") com.fasterxml.jackson.databind.ObjectMapper mapper)
@Bean public com.appdirect.sdk.appmarket.events.AppmarketEventService appmarketEventService(DeveloperSpecificAppmarketCredentialsSupplier credentialsSupplier, com.appdirect.sdk.appmarket.events.AppmarketEventDispatcher eventDispatcher, OAuth2ClientDetailsService oAuth2ClientDetailsService, AppmarketEventClient appmarketEventClient)
@Bean
public com.appdirect.sdk.appmarket.events.AppmarketEventController appmarketEventController(com.appdirect.sdk.appmarket.events.AppmarketEventService appmarketEventService,
OAuthKeyExtractor oauthKeyExtractor)
@Bean public AppmarketMigrationService appmarketMigrationService(CustomerAccountValidationHandler customerAccountValidationHandler, SubscriptionValidationHandler subscriptionValidationHandler, SubscriptionMigrationHandler subscriptionMigrationHandler)
@Bean public AppmarketMigrationController appmarketMigrationController(AppmarketMigrationService appmarketMigrationService)
@Bean public RestTemplateFactory appMarketRestTemplateFactory()
@Bean public RestTemplateFactory billingRestTemplateFactory()
@Bean public AppmarketEventClientExceptionHandler appmarketEventConsumerExceptionHandler()
@Bean public DeveloperExceptionHandler developerExceptionHandler()
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.