Search in sources :

Example 1 with CloudBPMNTimerEvent

use of org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent in project activiti-cloud by Activiti.

the class TimerAuditProducerIT method shouldGetTimerCanceledEventByProcessDelete.

@Test
public void shouldGetTimerCanceledEventByProcessDelete() {
    // GIVEN
    ResponseEntity<CloudProcessInstance> startProcessEntity = processInstanceRestTemplate.startProcess(new StartProcessPayloadBuilder().withProcessDefinitionKey(PROCESS_INTERMEDIATE_TIMER_EVENT).withName("processInstanceName").withBusinessKey("businessKey").build());
    // WHEN
    processInstanceRestTemplate.delete(startProcessEntity);
    // when
    await().untilAsserted(() -> {
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(RUNTIME_BUNDLE_INFO_HEADERS);
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(ALL_REQUIRED_HEADERS);
        List<CloudRuntimeEvent<?, ?>> receivedEvents = streamHandler.getLatestReceivedEvents();
        List<CloudBPMNTimerEvent> timerEvents = receivedEvents.stream().filter(CloudBPMNTimerCancelledEvent.class::isInstance).map(CloudBPMNTimerEvent.class::cast).collect(Collectors.toList());
        assertThat(timerEvents).extracting(CloudRuntimeEvent::getEventType, CloudRuntimeEvent::getBusinessKey, CloudRuntimeEvent::getProcessDefinitionId, CloudRuntimeEvent::getProcessInstanceId, CloudRuntimeEvent::getProcessDefinitionKey, CloudRuntimeEvent::getProcessDefinitionVersion, event -> event.getEntity().getProcessDefinitionId(), event -> event.getEntity().getProcessInstanceId(), event -> event.getEntityId()).contains(tuple(BPMNTimerEvent.TimerEvents.TIMER_CANCELLED, "businessKey", startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), "timer"));
    });
}
Also used : ActivitiException(org.activiti.engine.ActivitiException) SpringProcessEngineConfiguration(org.activiti.spring.SpringProcessEngineConfiguration) DirtiesContext(org.springframework.test.annotation.DirtiesContext) BeforeEach(org.junit.jupiter.api.BeforeEach) Date(java.util.Date) Assertions.assertThat(org.assertj.core.api.Assertions.assertThat) AsyncExecutor(org.activiti.engine.impl.asyncexecutor.AsyncExecutor) CloudRuntimeEvent(org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent) LoggerFactory(org.slf4j.LoggerFactory) Autowired(org.springframework.beans.factory.annotation.Autowired) CloudProcessInstance(org.activiti.cloud.api.process.model.CloudProcessInstance) ActiveProfiles(org.springframework.test.context.ActiveProfiles) ALL_REQUIRED_HEADERS(org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.ALL_REQUIRED_HEADERS) ProcessEngineConfiguration(org.activiti.engine.ProcessEngineConfiguration) BPMNTimerEvent(org.activiti.api.process.model.events.BPMNTimerEvent) ArrayList(java.util.ArrayList) TestConfiguration(org.springframework.boot.test.context.TestConfiguration) JavaDelegate(org.activiti.engine.delegate.JavaDelegate) ACTIVITY_STARTED(org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_STARTED) CloudBPMNTimerCancelledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerCancelledEvent) CloudBPMNTimerScheduledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerScheduledEvent) Awaitility.await(org.awaitility.Awaitility.await) Logger(org.slf4j.Logger) Assertions.tuple(org.assertj.core.api.Assertions.tuple) TestPropertySource(org.springframework.test.context.TestPropertySource) Profile(org.springframework.context.annotation.Profile) Collectors(java.util.stream.Collectors) CloudBPMNTimerExecutedEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerExecutedEvent) Test(org.junit.jupiter.api.Test) CloudBPMNTimerEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent) ProcessInstanceRestTemplate(org.activiti.cloud.starter.tests.helper.ProcessInstanceRestTemplate) ProcessEngineConfigurationConfigurer(org.activiti.spring.boot.ProcessEngineConfigurationConfigurer) AfterEach(org.junit.jupiter.api.AfterEach) List(java.util.List) ACTIVITY_COMPLETED(org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_COMPLETED) SpringBootTest(org.springframework.boot.test.context.SpringBootTest) DelegateExecution(org.activiti.engine.delegate.DelegateExecution) ContextConfiguration(org.springframework.test.context.ContextConfiguration) ResponseEntity(org.springframework.http.ResponseEntity) StartProcessPayloadBuilder(org.activiti.api.process.model.builders.StartProcessPayloadBuilder) CloudBPMNTimerFiredEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerFiredEvent) RUNTIME_BUNDLE_INFO_HEADERS(org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.RUNTIME_BUNDLE_INFO_HEADERS) CloudProcessInstance(org.activiti.cloud.api.process.model.CloudProcessInstance) StartProcessPayloadBuilder(org.activiti.api.process.model.builders.StartProcessPayloadBuilder) CloudBPMNTimerEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent) CloudBPMNTimerCancelledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerCancelledEvent) CloudRuntimeEvent(org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent) Test(org.junit.jupiter.api.Test) SpringBootTest(org.springframework.boot.test.context.SpringBootTest)

Example 2 with CloudBPMNTimerEvent

use of org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent in project activiti-cloud by Activiti.

the class TimerAuditProducerIT method testTimerJobsFailRetry.

@Test
public void testTimerJobsFailRetry() throws InterruptedException {
    // given
    RetryFailingDelegate.shallThrow = true;
    ResponseEntity<CloudProcessInstance> startProcessEntity = processInstanceRestTemplate.startProcess(new StartProcessPayloadBuilder().withProcessDefinitionKey(FAILED_TIMER_JOB_RETRY).withName("processInstanceName").withBusinessKey("businessKey").build());
    // when
    await().untilAsserted(() -> {
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(RUNTIME_BUNDLE_INFO_HEADERS);
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(ALL_REQUIRED_HEADERS);
        List<CloudRuntimeEvent<?, ?>> receivedEvents = streamHandler.getAllReceivedEvents();
        assertThat(receivedEvents).extracting(CloudRuntimeEvent::getEventType, CloudRuntimeEvent::getEntityId, CloudRuntimeEvent::getBusinessKey, CloudRuntimeEvent::getProcessDefinitionId, CloudRuntimeEvent::getProcessInstanceId, CloudRuntimeEvent::getProcessDefinitionKey, CloudRuntimeEvent::getProcessDefinitionVersion).contains(tuple(ACTIVITY_STARTED, "timerCatchEvent", startProcessEntity.getBody().getBusinessKey(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion()), tuple(BPMNTimerEvent.TimerEvents.TIMER_SCHEDULED, "timerCatchEvent", startProcessEntity.getBody().getBusinessKey(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion()), tuple(BPMNTimerEvent.TimerEvents.TIMER_RETRIES_DECREMENTED, "timerCatchEvent", startProcessEntity.getBody().getBusinessKey(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion()), tuple(BPMNTimerEvent.TimerEvents.TIMER_FAILED, "timerCatchEvent", startProcessEntity.getBody().getBusinessKey(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion()));
        List<CloudBPMNTimerEvent> timerEvents = receivedEvents.stream().filter(CloudBPMNTimerEvent.class::isInstance).map(CloudBPMNTimerEvent.class::cast).collect(Collectors.toList());
        assertThat(timerEvents).extracting(CloudRuntimeEvent::getEventType, CloudRuntimeEvent::getEntityId, e -> e.getEntity().getTimerPayload().getRetries()).contains(tuple(BPMNTimerEvent.TimerEvents.TIMER_SCHEDULED, "timerCatchEvent", 3), tuple(BPMNTimerEvent.TimerEvents.TIMER_RETRIES_DECREMENTED, "timerCatchEvent", 2), tuple(BPMNTimerEvent.TimerEvents.TIMER_FAILED, "timerCatchEvent", 3));
    });
    processInstanceRestTemplate.delete(startProcessEntity);
}
Also used : ActivitiException(org.activiti.engine.ActivitiException) SpringProcessEngineConfiguration(org.activiti.spring.SpringProcessEngineConfiguration) DirtiesContext(org.springframework.test.annotation.DirtiesContext) BeforeEach(org.junit.jupiter.api.BeforeEach) Date(java.util.Date) Assertions.assertThat(org.assertj.core.api.Assertions.assertThat) AsyncExecutor(org.activiti.engine.impl.asyncexecutor.AsyncExecutor) CloudRuntimeEvent(org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent) LoggerFactory(org.slf4j.LoggerFactory) Autowired(org.springframework.beans.factory.annotation.Autowired) CloudProcessInstance(org.activiti.cloud.api.process.model.CloudProcessInstance) ActiveProfiles(org.springframework.test.context.ActiveProfiles) ALL_REQUIRED_HEADERS(org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.ALL_REQUIRED_HEADERS) ProcessEngineConfiguration(org.activiti.engine.ProcessEngineConfiguration) BPMNTimerEvent(org.activiti.api.process.model.events.BPMNTimerEvent) ArrayList(java.util.ArrayList) TestConfiguration(org.springframework.boot.test.context.TestConfiguration) JavaDelegate(org.activiti.engine.delegate.JavaDelegate) ACTIVITY_STARTED(org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_STARTED) CloudBPMNTimerCancelledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerCancelledEvent) CloudBPMNTimerScheduledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerScheduledEvent) Awaitility.await(org.awaitility.Awaitility.await) Logger(org.slf4j.Logger) Assertions.tuple(org.assertj.core.api.Assertions.tuple) TestPropertySource(org.springframework.test.context.TestPropertySource) Profile(org.springframework.context.annotation.Profile) Collectors(java.util.stream.Collectors) CloudBPMNTimerExecutedEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerExecutedEvent) Test(org.junit.jupiter.api.Test) CloudBPMNTimerEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent) ProcessInstanceRestTemplate(org.activiti.cloud.starter.tests.helper.ProcessInstanceRestTemplate) ProcessEngineConfigurationConfigurer(org.activiti.spring.boot.ProcessEngineConfigurationConfigurer) AfterEach(org.junit.jupiter.api.AfterEach) List(java.util.List) ACTIVITY_COMPLETED(org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_COMPLETED) SpringBootTest(org.springframework.boot.test.context.SpringBootTest) DelegateExecution(org.activiti.engine.delegate.DelegateExecution) ContextConfiguration(org.springframework.test.context.ContextConfiguration) ResponseEntity(org.springframework.http.ResponseEntity) StartProcessPayloadBuilder(org.activiti.api.process.model.builders.StartProcessPayloadBuilder) CloudBPMNTimerFiredEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerFiredEvent) RUNTIME_BUNDLE_INFO_HEADERS(org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.RUNTIME_BUNDLE_INFO_HEADERS) CloudProcessInstance(org.activiti.cloud.api.process.model.CloudProcessInstance) StartProcessPayloadBuilder(org.activiti.api.process.model.builders.StartProcessPayloadBuilder) CloudBPMNTimerEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent) CloudRuntimeEvent(org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent) Test(org.junit.jupiter.api.Test) SpringBootTest(org.springframework.boot.test.context.SpringBootTest)

Example 3 with CloudBPMNTimerEvent

use of org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent in project activiti-cloud by Activiti.

the class TimerAuditProducerIT method shouldProduceEventsForIntermediateTimerEvent.

@Test
public void shouldProduceEventsForIntermediateTimerEvent() {
    logger.info("Async config: " + asyncExecutor.getDefaultTimerJobAcquireWaitTimeInMillis());
    // given
    Date startTime = new Date();
    ResponseEntity<CloudProcessInstance> startProcessEntity = processInstanceRestTemplate.startProcess(new StartProcessPayloadBuilder().withProcessDefinitionKey(PROCESS_INTERMEDIATE_TIMER_EVENT).withName("processInstanceName").withBusinessKey("businessKey").build());
    // when
    await().untilAsserted(() -> {
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(RUNTIME_BUNDLE_INFO_HEADERS);
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(ALL_REQUIRED_HEADERS);
        List<CloudRuntimeEvent<?, ?>> receivedEvents = streamHandler.getLatestReceivedEvents();
        assertThat(receivedEvents).extracting(CloudRuntimeEvent::getEventType, CloudRuntimeEvent::getEntityId).contains(tuple(ACTIVITY_STARTED, "timer"), tuple(BPMNTimerEvent.TimerEvents.TIMER_SCHEDULED, "timer"));
        List<CloudBPMNTimerScheduledEvent> timerEvents = receivedEvents.stream().filter(CloudBPMNTimerScheduledEvent.class::isInstance).map(CloudBPMNTimerScheduledEvent.class::cast).collect(Collectors.toList());
        assertThat(timerEvents).extracting(CloudRuntimeEvent::getEventType, CloudRuntimeEvent::getBusinessKey, CloudRuntimeEvent::getProcessDefinitionId, CloudRuntimeEvent::getProcessInstanceId, CloudRuntimeEvent::getProcessDefinitionKey, CloudRuntimeEvent::getProcessDefinitionVersion, event -> event.getEntity().getProcessDefinitionId(), event -> event.getEntity().getProcessInstanceId(), event -> event.getEntityId()).contains(tuple(BPMNTimerEvent.TimerEvents.TIMER_SCHEDULED, "businessKey", startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), "timer"));
    });
    // when
    long waitTime = 5 * 60 * 1000;
    Date dueDate = new Date(startTime.getTime() + waitTime);
    // After setting the clock to time '5minutes and 5 seconds', the second timer should fire
    processEngineConfiguration.getClock().setCurrentTime(new Date(dueDate.getTime() + 5000));
    // when
    await().untilAsserted(() -> {
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(RUNTIME_BUNDLE_INFO_HEADERS);
        assertThat(streamHandler.getReceivedHeaders()).containsKeys(ALL_REQUIRED_HEADERS);
        List<CloudRuntimeEvent<?, ?>> receivedEvents = streamHandler.getLatestReceivedEvents();
        assertThat(receivedEvents).extracting(CloudRuntimeEvent::getEventType, CloudRuntimeEvent::getEntityId).contains(tuple(BPMNTimerEvent.TimerEvents.TIMER_FIRED, "timer"), tuple(BPMNTimerEvent.TimerEvents.TIMER_EXECUTED, "timer"), tuple(ACTIVITY_COMPLETED, "timer"));
        List<CloudBPMNTimerEvent> timerEvents = receivedEvents.stream().filter(event -> (CloudBPMNTimerFiredEvent.class.isInstance(event) || CloudBPMNTimerExecutedEvent.class.isInstance(event))).map(CloudBPMNTimerEvent.class::cast).collect(Collectors.toList());
        assertThat(timerEvents).extracting(CloudRuntimeEvent::getEventType, CloudRuntimeEvent::getBusinessKey, CloudRuntimeEvent::getProcessDefinitionId, CloudRuntimeEvent::getProcessInstanceId, CloudRuntimeEvent::getProcessDefinitionKey, CloudRuntimeEvent::getProcessDefinitionVersion, event -> event.getEntity().getProcessDefinitionId(), event -> event.getEntity().getProcessInstanceId(), event -> event.getEntityId()).containsOnly(tuple(BPMNTimerEvent.TimerEvents.TIMER_FIRED, "businessKey", startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), "timer"), tuple(BPMNTimerEvent.TimerEvents.TIMER_EXECUTED, "businessKey", startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), startProcessEntity.getBody().getProcessDefinitionKey(), startProcessEntity.getBody().getProcessDefinitionVersion(), startProcessEntity.getBody().getProcessDefinitionId(), startProcessEntity.getBody().getId(), "timer"));
    });
}
Also used : ActivitiException(org.activiti.engine.ActivitiException) SpringProcessEngineConfiguration(org.activiti.spring.SpringProcessEngineConfiguration) DirtiesContext(org.springframework.test.annotation.DirtiesContext) BeforeEach(org.junit.jupiter.api.BeforeEach) Date(java.util.Date) Assertions.assertThat(org.assertj.core.api.Assertions.assertThat) AsyncExecutor(org.activiti.engine.impl.asyncexecutor.AsyncExecutor) CloudRuntimeEvent(org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent) LoggerFactory(org.slf4j.LoggerFactory) Autowired(org.springframework.beans.factory.annotation.Autowired) CloudProcessInstance(org.activiti.cloud.api.process.model.CloudProcessInstance) ActiveProfiles(org.springframework.test.context.ActiveProfiles) ALL_REQUIRED_HEADERS(org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.ALL_REQUIRED_HEADERS) ProcessEngineConfiguration(org.activiti.engine.ProcessEngineConfiguration) BPMNTimerEvent(org.activiti.api.process.model.events.BPMNTimerEvent) ArrayList(java.util.ArrayList) TestConfiguration(org.springframework.boot.test.context.TestConfiguration) JavaDelegate(org.activiti.engine.delegate.JavaDelegate) ACTIVITY_STARTED(org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_STARTED) CloudBPMNTimerCancelledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerCancelledEvent) CloudBPMNTimerScheduledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerScheduledEvent) Awaitility.await(org.awaitility.Awaitility.await) Logger(org.slf4j.Logger) Assertions.tuple(org.assertj.core.api.Assertions.tuple) TestPropertySource(org.springframework.test.context.TestPropertySource) Profile(org.springframework.context.annotation.Profile) Collectors(java.util.stream.Collectors) CloudBPMNTimerExecutedEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerExecutedEvent) Test(org.junit.jupiter.api.Test) CloudBPMNTimerEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent) ProcessInstanceRestTemplate(org.activiti.cloud.starter.tests.helper.ProcessInstanceRestTemplate) ProcessEngineConfigurationConfigurer(org.activiti.spring.boot.ProcessEngineConfigurationConfigurer) AfterEach(org.junit.jupiter.api.AfterEach) List(java.util.List) ACTIVITY_COMPLETED(org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_COMPLETED) SpringBootTest(org.springframework.boot.test.context.SpringBootTest) DelegateExecution(org.activiti.engine.delegate.DelegateExecution) ContextConfiguration(org.springframework.test.context.ContextConfiguration) ResponseEntity(org.springframework.http.ResponseEntity) StartProcessPayloadBuilder(org.activiti.api.process.model.builders.StartProcessPayloadBuilder) CloudBPMNTimerFiredEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerFiredEvent) RUNTIME_BUNDLE_INFO_HEADERS(org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.RUNTIME_BUNDLE_INFO_HEADERS) CloudBPMNTimerExecutedEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerExecutedEvent) CloudBPMNTimerEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent) Date(java.util.Date) CloudProcessInstance(org.activiti.cloud.api.process.model.CloudProcessInstance) StartProcessPayloadBuilder(org.activiti.api.process.model.builders.StartProcessPayloadBuilder) CloudBPMNTimerScheduledEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerScheduledEvent) CloudBPMNTimerFiredEvent(org.activiti.cloud.api.process.model.events.CloudBPMNTimerFiredEvent) CloudRuntimeEvent(org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent) Test(org.junit.jupiter.api.Test) SpringBootTest(org.springframework.boot.test.context.SpringBootTest)

Aggregations

ArrayList (java.util.ArrayList)3 Date (java.util.Date)3 List (java.util.List)3 Collectors (java.util.stream.Collectors)3 StartProcessPayloadBuilder (org.activiti.api.process.model.builders.StartProcessPayloadBuilder)3 ACTIVITY_COMPLETED (org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_COMPLETED)3 ACTIVITY_STARTED (org.activiti.api.process.model.events.BPMNActivityEvent.ActivityEvents.ACTIVITY_STARTED)3 BPMNTimerEvent (org.activiti.api.process.model.events.BPMNTimerEvent)3 CloudRuntimeEvent (org.activiti.cloud.api.model.shared.events.CloudRuntimeEvent)3 CloudProcessInstance (org.activiti.cloud.api.process.model.CloudProcessInstance)3 CloudBPMNTimerCancelledEvent (org.activiti.cloud.api.process.model.events.CloudBPMNTimerCancelledEvent)3 CloudBPMNTimerEvent (org.activiti.cloud.api.process.model.events.CloudBPMNTimerEvent)3 CloudBPMNTimerExecutedEvent (org.activiti.cloud.api.process.model.events.CloudBPMNTimerExecutedEvent)3 CloudBPMNTimerFiredEvent (org.activiti.cloud.api.process.model.events.CloudBPMNTimerFiredEvent)3 CloudBPMNTimerScheduledEvent (org.activiti.cloud.api.process.model.events.CloudBPMNTimerScheduledEvent)3 ProcessInstanceRestTemplate (org.activiti.cloud.starter.tests.helper.ProcessInstanceRestTemplate)3 ALL_REQUIRED_HEADERS (org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.ALL_REQUIRED_HEADERS)3 RUNTIME_BUNDLE_INFO_HEADERS (org.activiti.cloud.starter.tests.services.audit.AuditProducerIT.RUNTIME_BUNDLE_INFO_HEADERS)3 ActivitiException (org.activiti.engine.ActivitiException)3 ProcessEngineConfiguration (org.activiti.engine.ProcessEngineConfiguration)3