Class TabbyServiceAutoConfiguration
java.lang.Object
com.broadleafcommerce.tabby.autoconfigure.TabbyServiceAutoConfiguration
@Configuration
@EnableConfigurationProperties({TabbyConfigurationProperties.class,DefaultTabbyGatewayConfiguration.class,ExternalTabbyProviderProperties.class,ExternalOrderOperationProviderProperties.class})
public class TabbyServiceAutoConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.client.reactive.ClientHttpConnectortabbyClientHttpConnector(org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.reactive.ClientHttpConnector> sharedConnectorProvider, org.springframework.beans.factory.ObjectProvider<com.broadleafcommerce.common.extension.webclient.autoconfigure.external.CommonExternalServiceConnectionPoolTemplateProperties> poolPropertiesProvider) tabbyCustomerOrderInfoProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalOrderOperationProviderProperties properties, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils) tabbyExternalCallService(com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, TabbyProvider tabbyProvider, ExternalTabbyProviderProperties properties, TabbyConfigurationProperties tabbyConfigurationProperties, TabbyResponseService tabbyResponseService, TabbyRequestService tabbyRequestService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) org.springframework.web.reactive.function.client.WebClienttabbyGatewayWebClient(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector) org.springframework.security.oauth2.client.OAuth2AuthorizedClientManagertabbyInternalAuthorizedClientManager(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrations, org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.reactive.ClientHttpConnector> clientConnectorProvider) The shared authorized-client manager for service-to-service calls.org.springframework.web.reactive.function.client.WebClienttabbyInternalWebClient(Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier, org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager authorizedClientManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.reactive.ClientHttpConnector> clientConnectorProvider) Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction>tabbyOauth2FilterFunctionSupplier(org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager manager) com.broadleafcommerce.paymentgateway.util.PaymentCallbackSecurityTokenUtiltabbyPaymentCallbackSecurityTokenUtil(org.springframework.security.crypto.password.PasswordEncoder paymentCallbackTokenEncoder, com.broadleafcommerce.paymentgateway.properties.PaymentCallbackTokenProperties paymentCallbackTokenProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) tabbyPaymentModificationService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, CustomerOrderInfoProvider<CustomerOrderInfo> tabbyCustomerOrderInfoProvider, ExternalOrderOperationProviderProperties properties, TabbyConfigurationProperties configurationProperties, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory) tabbyPaymentValidator(TabbyConfigurationProperties configurationProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) tabbyProvider(org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalTabbyProviderProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, TabbyConfigurationProperties tabbyConfigurationProperties) tabbyRequestService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, TabbyConfigurationProperties tabbyConfigurationProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory) tabbyResponseService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) tabbyTransactionLookupService(TabbyProvider tabbyProvider, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, TabbyConfigurationProperties configurationProperties) tabbyTransactionService(TabbyExternalCallService tabbyExternalCallService, com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, TabbyProvider tabbyProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory) tabbyWebhookHandler(TabbyConfigurationProperties configurationProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Constructor Details
-
TabbyServiceAutoConfiguration
public TabbyServiceAutoConfiguration()
-
-
Method Details
-
tabbyPaymentValidator
@Bean @ConditionalOnMissingBean public TabbyPaymentValidator tabbyPaymentValidator(TabbyConfigurationProperties configurationProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
tabbyTransactionService
@Bean @ConditionalOnMissingBean public TabbyTransactionService tabbyTransactionService(TabbyExternalCallService tabbyExternalCallService, com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, TabbyProvider tabbyProvider, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
tabbyRollbackService
@Bean @ConditionalOnMissingBean public TabbyRollbackService tabbyRollbackService(TabbyTransactionService service) -
tabbyGatewayWebClient
@Bean(name="tabbyGatewayWebClient") @ConditionalOnMissingBean(name="tabbyGatewayWebClient") public org.springframework.web.reactive.function.client.WebClient tabbyGatewayWebClient(com.fasterxml.jackson.databind.ObjectMapper objectMapper, @Qualifier("tabbyClientHttpConnector") Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector) -
tabbyClientHttpConnector
@Bean(name="tabbyClientHttpConnector") @ConditionalOnMissingBean(name="tabbyClientHttpConnector") public org.springframework.http.client.reactive.ClientHttpConnector tabbyClientHttpConnector(@Qualifier("commonExtlSvcClientConnector") org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.reactive.ClientHttpConnector> sharedConnectorProvider, org.springframework.beans.factory.ObjectProvider<com.broadleafcommerce.common.extension.webclient.autoconfigure.external.CommonExternalServiceConnectionPoolTemplateProperties> poolPropertiesProvider) -
tabbyProvider
@Bean @ConditionalOnMissingBean public TabbyProvider tabbyProvider(@Qualifier("tabbyGatewayWebClient") org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalTabbyProviderProperties properties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, TabbyConfigurationProperties tabbyConfigurationProperties) -
tabbyRequestService
@Bean @ConditionalOnMissingBean public TabbyRequestService tabbyRequestService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, TabbyConfigurationProperties tabbyConfigurationProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
tabbyResponseService
@Bean @ConditionalOnMissingBean public TabbyResponseService tabbyResponseService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
tabbyExternalCallService
@Bean @ConditionalOnMissingBean public TabbyExternalCallService tabbyExternalCallService(com.broadleafcommerce.paymentgateway.util.PaymentResponseUtil paymentResponseUtil, TabbyProvider tabbyProvider, ExternalTabbyProviderProperties properties, TabbyConfigurationProperties tabbyConfigurationProperties, TabbyResponseService tabbyResponseService, TabbyRequestService tabbyRequestService, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
tabbyTransactionLookupService
@Bean @ConditionalOnMissingBean public TabbyTransactionLookupService tabbyTransactionLookupService(TabbyProvider tabbyProvider, com.fasterxml.jackson.databind.ObjectMapper objectMapper, com.broadleafcommerce.common.extension.TypeFactory typeFactory, TabbyConfigurationProperties configurationProperties) -
tabbyWebhookHandler
@Bean @ConditionalOnMissingBean public TabbyWebhookHandler tabbyWebhookHandler(TabbyConfigurationProperties configurationProperties, com.broadleafcommerce.common.extension.TypeFactory typeFactory, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
tabbyInternalAuthorizedClientManager
@Bean(name="tabbyInternalAuthorizedClientManager") @ConditionalOnMissingBean(name="tabbyInternalAuthorizedClientManager") public org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager tabbyInternalAuthorizedClientManager(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrations, @Qualifier("commonIntlSvcClientConnector") org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.reactive.ClientHttpConnector> clientConnectorProvider) The shared authorized-client manager for service-to-service calls. Exposed as a bean (rather than instantiated privately inside the filter supplier) so callers can also resolveclient_credentialstokens explicitly and attach them to requests, which is necessary for calls made off the request thread. -
tabbyOauth2FilterFunctionSupplier
@Bean(name="tabbyOAuth2FilterFunctionSupplier") @ConditionalOnMissingBean(name="tabbyOAuth2FilterFunctionSupplier") public Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> tabbyOauth2FilterFunctionSupplier(@Qualifier("tabbyInternalAuthorizedClientManager") org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager manager) -
tabbyInternalWebClient
@Bean(name="tabbyInternalWebClient") @ConditionalOnMissingBean(name="tabbyInternalWebClient") public org.springframework.web.reactive.function.client.WebClient tabbyInternalWebClient(@Qualifier("tabbyOAuth2FilterFunctionSupplier") Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier, @Qualifier("tabbyInternalAuthorizedClientManager") org.springframework.security.oauth2.client.OAuth2AuthorizedClientManager authorizedClientManager, com.fasterxml.jackson.databind.ObjectMapper objectMapper, @Qualifier("commonIntlSvcClientConnector") org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.reactive.ClientHttpConnector> clientConnectorProvider) -
tabbyCustomerOrderInfoProvider
@Bean @ConditionalOnMissingBean public CustomerOrderInfoProvider<CustomerOrderInfo> tabbyCustomerOrderInfoProvider(@Qualifier("tabbyInternalWebClient") org.springframework.web.reactive.function.client.WebClient webClient, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExternalOrderOperationProviderProperties properties, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils) -
tabbyPaymentModificationService
@Bean @ConditionalOnMissingBean public TabbyPaymentModificationService tabbyPaymentModificationService(com.fasterxml.jackson.databind.ObjectMapper objectMapper, CustomerOrderInfoProvider<CustomerOrderInfo> tabbyCustomerOrderInfoProvider, ExternalOrderOperationProviderProperties properties, TabbyConfigurationProperties configurationProperties, com.broadleafcommerce.resource.security.utils.service.AuthenticationUtils authenticationUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory) -
tabbyPaymentCallbackSecurityTokenUtil
@Bean @ConditionalOnMissingBean(name="tabbyPaymentCallbackSecurityTokenUtil") @ConditionalOnProperty(value="broadleaf.payment.legacy-external-payment-pattern-enabled", havingValue="false", matchIfMissing=true) public com.broadleafcommerce.paymentgateway.util.PaymentCallbackSecurityTokenUtil tabbyPaymentCallbackSecurityTokenUtil(org.springframework.security.crypto.password.PasswordEncoder paymentCallbackTokenEncoder, com.broadleafcommerce.paymentgateway.properties.PaymentCallbackTokenProperties paymentCallbackTokenProperties, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-