Class SandboxMessagingAutoConfiguration
java.lang.Object
com.broadleafcommerce.sandbox.messaging.autoconfigure.SandboxMessagingAutoConfiguration
@Configuration
@ConditionalOnPropertyOrGroup(name="broadleaf.sandbox.messaging.active",
group="broadleaf.basic.messaging.enabled",
matchIfMissing=true)
@EnableBinding({DeployTriggeredJobEventConsumer.class,ChangeSummaryConsumer.class,com.broadleafcommerce.data.tracking.core.messaging.WorkflowRequestCompletionConsumer.class,CreateSandboxRequestConsumer.class,DeleteSandboxRequestConsumer.class,UpdateSandboxRequestConsumer.class})
@EnableConfigurationProperties(IndexNotificationProperties.class)
@EnableAsync
public class SandboxMessagingAutoConfiguration
extends Object
- Author:
- Chad Harchar (charchar)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeploymentJobSchedulingRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService) deploymentJobUnschedulingRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService) deploymentSchedulingRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService, DeploymentJobSchedulingRequestErrorHandler errorHandler) deploymentTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService, DeploymentWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) deploymentWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService) promotionTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, PromotionWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) promotionWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService) rebasingTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, RebasingWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) rebasingWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService) rejectionTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, RejectionWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) rejectionWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService) reversionTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ReversionWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) revesionWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService) sandboxChangeSummaryHandler(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryUtility changeSummaryUtility) sandboxIndexNotificationService(IndexNotificationProperties properties, ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryRepository<?> repository, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper, com.broadleafcommerce.common.messaging.notification.NotificationManager manager, com.broadleafcommerce.common.extension.data.DataRouteSupporting route, com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> lockRepository) sandboxTriggeredJobEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, List<TriggeredSandboxJobEventHandler> triggeredSandboxJobEventHandlers) transitionRequestCompletionListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, List<WorkflowRequestCompletionHandler> workflowRequestCompletionHandlers) triggeredDeploymentJobEventHandler(DeploymentRequestHandler deploymentRequestHandler) workflowRequestErrorManager(List<WorkflowRequestErrorHandler> errorHandlers, com.broadleafcommerce.common.extension.data.DataRouteSupporting route)
-
Constructor Details
-
SandboxMessagingAutoConfiguration
public SandboxMessagingAutoConfiguration()
-
-
Method Details
-
triggeredDeploymentJobEventHandler
@Bean @ConditionalOnMissingBean public TriggeredDeploymentJobEventHandler triggeredDeploymentJobEventHandler(DeploymentRequestHandler deploymentRequestHandler) -
sandboxTriggeredJobEventListener
@Bean @ConditionalOnMissingBean public TriggeredSandboxJobEventListener sandboxTriggeredJobEventListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, @Autowired(required=false) List<TriggeredSandboxJobEventHandler> triggeredSandboxJobEventHandlers) -
sandboxChangeSummaryHandler
@Bean @ConditionalOnMissingBean public SandboxChangeSummaryListener sandboxChangeSummaryHandler(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryUtility changeSummaryUtility) -
deploymentTransitionRequestCompletionHandler
@Bean @ConditionalOnMissingBean public DeploymentWorkflowRequestCompletionHandler deploymentTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService, DeploymentWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) -
deploymentSchedulingRequestCompletionHandler
@Bean @ConditionalOnMissingBean public DeploymentJobSchedulingRequestCompletionHandler deploymentSchedulingRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService, DeploymentJobSchedulingRequestErrorHandler errorHandler) -
deploymentJobUnschedulingRequestCompletionHandler
@Bean @ConditionalOnMissingBean public DeploymentJobUnschedulingRequestCompletionHandler deploymentJobUnschedulingRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService) -
promotionTransitionRequestCompletionHandler
@Bean @ConditionalOnMissingBean public PromotionWorkflowRequestCompletionHandler promotionTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, PromotionWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) -
sandboxIndexThreadPoolTaskExecutor
@Bean @ConditionalOnMissingBean(name="sandboxIndexThreadPoolTaskExecutor") public Executor sandboxIndexThreadPoolTaskExecutor() -
sandboxIndexNotificationService
@Bean @ConditionalOnMissingBean public IndexNotificationService sandboxIndexNotificationService(IndexNotificationProperties properties, ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryRepository<?> repository, com.broadleafcommerce.common.messaging.notification.MessageSerializationHelper helper, com.broadleafcommerce.common.messaging.notification.NotificationManager manager, @Nullable @Qualifier("sandboxSource") com.broadleafcommerce.common.extension.data.DataRouteSupporting route, com.broadleafcommerce.common.messaging.repository.ResourceLockRepository<?, ?> lockRepository) -
promotionWorkflowRequestErrorHandler
@Bean @ConditionalOnMissingBean public PromotionWorkflowRequestErrorHandler promotionWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService) -
deploymentWorkflowRequestErrorHandler
@Bean @ConditionalOnMissingBean public DeploymentWorkflowRequestErrorHandler deploymentWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService) -
rebasingWorkflowRequestErrorHandler
@Bean @ConditionalOnMissingBean public RebasingWorkflowRequestErrorHandler rebasingWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService) -
revesionWorkflowRequestErrorHandler
@Bean @ConditionalOnMissingBean public ReversionWorkflowRequestErrorHandler revesionWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService) -
deploymentJobSchedulingRequestErrorHandler
@Bean @ConditionalOnMissingBean public DeploymentJobSchedulingRequestErrorHandler deploymentJobSchedulingRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, ChangeDeployService<ChangeDeploy> changeDeployService) -
rejectionWorkflowRequestErrorHandler
@Bean @ConditionalOnMissingBean public RejectionWorkflowRequestErrorHandler rejectionWorkflowRequestErrorHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService) -
rebasingTransitionRequestCompletionHandler
@Bean @ConditionalOnMissingBean public RebasingWorkflowRequestCompletionHandler rebasingTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, RebasingWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) -
workflowRequestErrorManager
@Bean @ConditionalOnMissingBean public WorkflowRequestErrorManager workflowRequestErrorManager(List<WorkflowRequestErrorHandler> errorHandlers, @Qualifier("sandboxSource") com.broadleafcommerce.common.extension.data.DataRouteSupporting route) -
rejectionTransitionRequestCompletionHandler
@Bean @ConditionalOnMissingBean public RejectionWorkflowRequestCompletionHandler rejectionTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ChangeSummaryGroupService<ChangeSummaryGroup> changeSummaryGroupService, RejectionWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) -
reversionTransitionRequestCompletionHandler
@Bean @ConditionalOnMissingBean public ReversionWorkflowRequestCompletionHandler reversionTransitionRequestCompletionHandler(ChangeSummaryService<ChangeSummary> changeSummaryService, ReversionWorkflowRequestErrorHandler errorHandler, IndexNotificationService indexNotificationService) -
transitionRequestCompletionListener
@Bean @ConditionalOnMissingBean public WorkflowRequestCompletionListener transitionRequestCompletionListener(com.broadleafcommerce.common.messaging.service.IdempotentMessageConsumptionService idempotentMessageConsumptionService, @Autowired(required=false) List<WorkflowRequestCompletionHandler> workflowRequestCompletionHandlers)
-