Project

General

Profile

Actions

Task #2107

closed

LRT: persist bulk action into long running task agenda

Added by Radek Tomiška about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Bulk operations
Target version:
Start date:
03/09/2020
Due date:
% Done:

100%

Estimated time:
Owner:

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

Related to IdStory Identity Manager - Task #1837: Implement thread rejection policy for LRT poolClosedRadek Tomiška09/05/2019

Actions
Related to Recertification (rec) - Task #1759: Run recertification action againNewRadek Tomiška07/24/2019

Actions
Actions #1

Updated by Radek Tomiška about 4 years ago

  • Related to Task #1837: Implement thread rejection policy for LRT pool added
Actions #2

Updated by Radek Tomiška about 4 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).

Actions #3

Updated by Radek Tomiška about 4 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

Actions #4

Updated by Vít Švanda almost 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.

Actions #5

Updated by Radek Tomiška almost 4 years ago

  • Status changed from Resolved to Closed
Actions #6

Updated by Radek Tomiška almost 4 years ago

  • Related to Task #1759: Run recertification action again added
Actions

Also available in: Atom PDF