Task #2107
closedLRT: persist bulk action into long running task agenda
100%
Description
When bulk action is persisted into LRT task agenda as created (e.g. when tas queue is full and thread pool is exhausted), then configured bulk action is not persisted. This leeds to assert exception (action is null), when created long running task is processed (after thread is available).
Related issues
Updated by Radek Tomiška almost 5 years ago
- Related to Task #1837: Implement thread rejection policy for LRT pool added
Updated by Radek Tomiška almost 5 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 0 to 90
It's implemented, bulk action can be persisted in long running task agenda a can be executed asynchronously (~by scheduler or when no thread for LRT processing is available when action is submitted).
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/061997d57a341eae217b08d8573e2322f4c3c01f
Could you provide me a feedback, please?
Note: It has one limitation. When filter for bulk action is used, we cannot deserialize bulk action, which combines DataFilter and BaseFilter => i refactored mainly used filters (for identity, role and system) and i will continue with other filters for services with bulk action support (contract, entity event and state remain, other filters are already refactored).
Updated by Radek Tomiška almost 5 years ago
All filters used in bulk actions can be fully deserialized from database now. I've added new usable interfaces ''CreatedFromFilter'', ''CreatedTillFilter'', ''ModifiedTillFilter'' to simplify filtering by auditable date properties.
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/6ea3b79c64411d5ba099311c16fe03f072cc2941
Updated by Vít Švanda over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 90 to 100
I did review and test. My executed bulk actions contains input filter metadata now (are correctly deserialized). Thank for this feature.
Updated by Radek Tomiška over 4 years ago
- Status changed from Resolved to Closed
Updated by Radek Tomiška over 4 years ago
- Related to Task #1759: Run recertification action again added