@Service(value="blRecurringScheduledDeploySystemEventConsumer") public class RecurringScheduledDeploySystemEventConsumer extends ScheduledDeploySystemEventConsumer
WorkflowSandBoxItem instances
that were scheduled and replaying their associated changes on production. Once this consumer is finished
with its work, the changes are available for customers to see in the production environment.| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.transaction.PlatformTransactionManager |
lockTransactionManager |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
lockTransUtil |
protected ExecutionLockUtil |
lockUtil |
protected PromoteWorkflowManager |
promoteWorkflowManager |
adminSecurityService, APPROVAL_PROCESS_TYPE, databaseSystemEventDao, deployBehaviorUtil, em, emailDistro, emailService, enterpriseStateManager, messageSource, processManager, sandBoxService, sbItemService, scheduledDeploymentFailureEmailInfo, scheduledDeploymentSuccessEmailInfo, systemEventSender, workflowEventService, workflowLogger, workflowManagerentityManagerFactory| Constructor and Description |
|---|
RecurringScheduledDeploySystemEventConsumer() |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
String |
getEventType() |
void |
init() |
protected void |
setupDeploy(com.broadleafcommerce.jobsevents.domain.SystemEvent event,
WorkflowDeployment deployment) |
protected void |
setupNextDeployment(WorkflowDeployment deployment,
Long jobId,
Long adminUserId) |
protected void |
updateScheduledJobDetails(WorkflowDeployment deployment,
Date deployTime,
Long[] jobId) |
attemptDeploy, buildEmailVars, buildGrantedAuthoritiesForPromote, deploy, sendTransactionalEmail, setupProcessManager, shouldResumeOnException, sortItems, startDeploymentprotected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil lockTransUtil
protected ExecutionLockUtil lockUtil
protected org.springframework.transaction.PlatformTransactionManager lockTransactionManager
protected PromoteWorkflowManager promoteWorkflowManager
public RecurringScheduledDeploySystemEventConsumer()
@PostConstruct public void init()
public void consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
consumeEvent in interface com.broadleafcommerce.jobsevents.service.SystemEventConsumerconsumeEvent in class ScheduledDeploySystemEventConsumerprotected void setupDeploy(com.broadleafcommerce.jobsevents.domain.SystemEvent event,
WorkflowDeployment deployment)
setupDeploy in class ScheduledDeploySystemEventConsumerprotected void setupNextDeployment(WorkflowDeployment deployment, Long jobId, Long adminUserId) throws Exception
Exceptionprotected void updateScheduledJobDetails(WorkflowDeployment deployment, Date deployTime, Long[] jobId)
public String getEventType()
getEventType in interface com.broadleafcommerce.jobsevents.service.SystemEventConsumergetEventType in class ScheduledDeploySystemEventConsumerCopyright © 2019. All rights reserved.