Class BulkOperationsServiceAutoConfiguration

java.lang.Object
com.broadleafcommerce.bulkoperations.service.autoconfigure.BulkOperationsServiceAutoConfiguration

@Configuration @EnableConfigurationProperties({SSLVerificationProperties.class,ExternalSearchProperties.class,ExternalCatalogProperties.class}) public class BulkOperationsServiceAutoConfiguration extends Object
  • Constructor Details

    • BulkOperationsServiceAutoConfiguration

      public BulkOperationsServiceAutoConfiguration()
  • Method Details

    • bulkOperationsOauth2FilterFunctionSupplier

      @Bean(name="oAuth2FilterFunctionSupplier") @ConditionalOnMissingBean(name="oAuth2FilterFunctionSupplier") public Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> bulkOperationsOauth2FilterFunctionSupplier(org.springframework.security.oauth2.client.registration.ClientRegistrationRepository clientRegistrations, @Qualifier("bulkOperationsClientHttpConnector") Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector)
      We'll leave this with a general name as it can (and should) be reused in a flex package.
      Parameters:
      clientRegistrations -
      sslVerificationProperties -
      Returns:
    • bulkOperationsWebClient

      @Bean @ConditionalOnMissingBean(name="bulkOperationsWebClient") public org.springframework.web.reactive.function.client.WebClient bulkOperationsWebClient(@Qualifier("oAuth2FilterFunctionSupplier") Supplier<org.springframework.security.oauth2.client.web.reactive.function.client.ServletOAuth2AuthorizedClientExchangeFilterFunction> oauth2FilterSupplier, com.fasterxml.jackson.databind.ObjectMapper objectMapper, @Qualifier("bulkOperationsClientHttpConnector") Optional<org.springframework.http.client.reactive.ClientHttpConnector> clientHttpConnector)
    • bulkOperationsClientHttpConnector

      @Bean @ConditionalOnMissingBean(name="bulkOperationsClientHttpConnector") public org.springframework.http.client.reactive.ClientHttpConnector bulkOperationsClientHttpConnector(SSLVerificationProperties sslVerificationProperties) throws SSLException
      Throws:
      SSLException
    • bulkOperationsSource

      @Bean(name="bulkOperationsSource") @ConditionalOnMissingBean(name="bulkOperationsSource") public com.broadleafcommerce.common.extension.data.DataRouteSupporting bulkOperationsSource()
      Defines a DataRouteSupporting for Bulk Ops. By default, this is detached from any persistence and is used for supporting ContextInfoCustomizer in a flexpackage configuration to ensure it is only invoked for this specific service.
    • bulkOperationsRouteSupplier

      @Bean(name="bulkOperationsRouteSupplier") @ConditionalOnMissingBean(name="bulkOperationsRouteSupplier") public com.broadleafcommerce.common.extension.data.PackageDataRouteSupplier<com.broadleafcommerce.common.extension.data.DataRouteSupporting> bulkOperationsRouteSupplier(@Nullable @Qualifier("bulkOperationsSource") com.broadleafcommerce.common.extension.data.DataRouteSupporting route)
    • bulkOperationsService

      @Bean @ConditionalOnMissingBean public BulkOperationsService bulkOperationsService()