New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of ACTIVITY_SIGNALED event #2511
Implementation of ACTIVITY_SIGNALED event #2511
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In addition to my comment you also need to add an integration test for it.
You can use ProcessDeployedEventIT
as reference. You will need:
- start one or more instances of a process containing a intermediate catch signal
- send a signal
- check if your test listener received the related
SIGNAL_RECEIVED
events
...rocess-runtime-impl/src/main/java/org/activiti/runtime/api/model/impl/ToSignalConverter.java
Outdated
Show resolved
Hide resolved
...untime-impl/src/main/java/org/activiti/runtime/api/event/impl/ToSignalReceivedConverter.java
Outdated
Show resolved
Hide resolved
...spring-boot-starter/src/test/java/org/activiti/spring/boot/process/ProcessRuntimeEvents.java
Outdated
Show resolved
Hide resolved
1aa4be8
to
09364a3
Compare
09364a3
to
2729e1a
Compare
Codecov Report
@@ Coverage Diff @@
## develop #2511 +/- ##
=============================================
+ Coverage 61.09% 61.13% +0.03%
Complexity 1604 1604
=============================================
Files 1148 1151 +3
Lines 40589 40623 +34
Branches 5914 5915 +1
=============================================
+ Hits 24797 24833 +36
+ Misses 13032 13030 -2
Partials 2760 2760
Continue to review full report at Codecov.
|
* Add error-handling dependency to starters * Create exception handler specific to runtime bundle * Clean exception handlers scattered in controllers * Implementation of signalReceived event (#247) Related to Activiti/Activiti#2272 Depends on AlfrescoArchive/activiti-api#84 AlfrescoArchive/activiti-cloud-api#65 Activiti/Activiti#2511 * Fix audit producer test (#284) - Take in account new events thrown for signal received event that was not thrown before - Move test to SignalAuditProducerIT Related to Activiti/Activiti#2272 * Move CloudActivityBehaviorFactory to runtime bundle (#281) * Move CloudActivityBehaviorFactory to runtime bundle Initially CloudActivityBehaviorFactory was declared in set in Activiti core, but this was breaking intermediate throw signals when non-cloud starter was used. Related to Activiti/Activiti#2663 * Move CloudActivityBehaviorFactory to runtime bundle Initially CloudActivityBehaviorFactory was declared in set in Activiti core, but this was breaking intermediate throw signals when non-cloud starter was used. Related to Activiti/Activiti#2663 * fix(version): update org.activiti.dependencies:activiti-dependencies to 7.1.11 * fix(version): update org.activiti.dependencies:activiti-dependencies to 7.1.12 * fix(version): update org.activiti.dependencies:activiti-dependencies to 7.1.13 * Change HttpStatus for int in RestControllerAdvice * fix(version): update org.activiti.dependencies:activiti-dependencies to 7.1.14 * fix(version): update org.activiti.cloud.common:activiti-cloud-service-common-dependencies to 7.1.24 * fix(version): update org.activiti.cloud.common:activiti-cloud-service-common-dependencies to 7.1.25 * fix(version): update org.activiti.cloud.build:activiti-cloud-parent to 7.1.7 * fix(version): update org.activiti.cloud.common:activiti-cloud-service-common-dependencies to 7.1.26 * Refactor ActivitiErrorMessage class * Refactor with MediaType constants * Refactor error handlers module * Add swagger generator test (#287) * Add swagger generator test * Produce swagger file as a Maven artifact - add plugin configuration to produce swagger file as a Maven artifact - produce both Alfresco and Hal format * Add yaml convertion from json * Add TODO to swagger yaml generation * Add generated yaml as an artifact * Add Gson prettifying features * Move Swagger generation inside a special type of test - Add a new configuration for failsafe plugin to hanle *ITSupport.java which will generate the swagger file - Create a profile generate-swagger enabled by default (can be skipped with `-DskipSwaggerGen` option) * Add comments * Add yaml generation back * Format swagger-hal.json at creation * Change scope for gson dependency to test * Add test scope to jackson-dataformat-yaml * A test to check that processDefinitionVersion set on TaskStarted event (#285) * A test to check that processDefinitionVersion set on TaskStarted event * Test modified to check only event's processDefinitionVersion * Remove icon from connecto definitions (#243) * Add common handlers module to rest-impl * Remove handler from ConnectorDefinitionControllerImpl * Clear exception handler * Change return type for exception handler * Optimize imports * Clear exception handler from ProcessInstanceControllerImpl * Fix test response type * Optimize imports * Change return type of error handler * Process instance description field removal (#262) * Process instance description field removal * Process instance description field removal * fix(version): update org.activiti.dependencies:activiti-dependencies to 7.1.15 * fix(version): update org.activiti.cloud.common:activiti-cloud-service-common-dependencies to 7.1.27 * fix(version): update org.activiti.cloud.common:activiti-cloud-service-common-dependencies to 7.1.28 * fix(version): update org.activiti.cloud.common:activiti-cloud-service-common-dependencies to 7.1.29 * Update pom.xml * Update pom * Add swagger artifacts to BOM (#292)
Related to #2272
Depends on AlfrescoArchive/activiti-api#84