Project

General

Profile

Actions

Task #2444

closed

Implement waiting for the completion of the LRT after all asynchronous events

Added by Vít Švanda over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Radek Tomiška
Category:
Long running task
Target version:
Start date:
08/18/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Use this waiting mechanism for asynchronous role request #2497 at first => log processed requests and find assigned roles on end.


Related issues

Related to IdStory Identity Manager - Defect #2404: Provisioning operations from event and sync. created at the same time can be executed in wrong orderClosedRadek Tomiška07/27/2020

Actions
Related to IdStory Identity Manager - Defect #2497: Automatic roles: Automatic role by tree node removes properly assigned rolesClosedRadek Tomiška09/21/2020

Actions
Related to IdStory Identity Manager - Task #2498: Automatic roles: prevent to recount automatic roles simultaneouslyClosedRadek Tomiška09/22/2020

Actions
Related to IdStory Identity Manager - Defect #2686: Synchronization of identities and contracts sometimes left Waiting tasks (-> next synchronization failed to start HR processes)ClosedRadek Tomiška02/12/2021

Actions
Related to IdStory Identity Manager - Defect #2725: Adding automatic roles by tree structures fails and the task blocks other new automatic rolesClosedRadek Tomiška03/22/2021

Actions
Related to IdStory Identity Manager - Task #1555: Force delete for rolesClosedRadek Tomiška03/15/2019

Actions
Related to IdStory Identity Manager - Defect #2350: Cannot view active operations in provisioning queue (error in communication with server)ClosedRadek Tomiška06/29/2020

Actions
Actions #1

Updated by Vít Švanda over 4 years ago

  • Assignee deleted (Radek Tomiška)
Actions #2

Updated by Radek Tomiška over 4 years ago

  • Status changed from New to In Progress
  • Assignee set to Radek Tomiška
  • Priority changed from Normal to High
Actions #3

Updated by Radek Tomiška over 4 years ago

  • Related to Defect #2404: Provisioning operations from event and sync. created at the same time can be executed in wrong order added
Actions #4

Updated by Radek Tomiška over 4 years ago

  • Related to Defect #2497: Automatic roles: Automatic role by tree node removes properly assigned roles added
Actions #5

Updated by Radek Tomiška over 4 years ago

  • Description updated (diff)
Actions #6

Updated by Radek Tomiška about 4 years ago

  • Related to Task #2498: Automatic roles: prevent to recount automatic roles simultaneously added
Actions #7

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

Long running task waits for all asynchronous events are completed, before ends. I had to add locks to support multiple synchronized methods and classes (Abstract long running task).

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/011dcbfd64b366989612f6a3329561acd0f85fcc

Test (prepared before):
https://github.com/bcvsolutions/CzechIdMng/commit/68bedd2acc5269429460817b1b2e2c5b7cb0b4dc

Could you provide me a feedback, please?

Actions #8

Updated by Radek Tomiška about 4 years ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 80

I will add "waiting state" on ui (by feedback).

Actions #9

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 80 to 90

"Waiting state" is added and shown in LRT agenda, commit:
https://github.com/bcvsolutions/CzechIdMng/commit/4a2663af5bac19bdcc84121d4fc630a12950816e

Could you provide me a feedback, please?

Actions #10

Updated by Vít Švanda about 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 tested it. This is awesome feature, witch can helps in many problematic use cases. Thanks for that.

Actions #11

Updated by Radek Tomiška about 4 years ago

  • Status changed from Resolved to Closed
Actions #12

Updated by Radek Tomiška almost 4 years ago

  • Related to Defect #2686: Synchronization of identities and contracts sometimes left Waiting tasks (-> next synchronization failed to start HR processes) added
Actions #13

Updated by Radek Tomiška over 3 years ago

  • Related to Defect #2725: Adding automatic roles by tree structures fails and the task blocks other new automatic roles added
Actions #14

Updated by Radek Tomiška over 3 years ago

  • Related to Task #1555: Force delete for roles added
Actions #15

Updated by Radek Tomiška over 3 years ago

  • Related to Defect #2350: Cannot view active operations in provisioning queue (error in communication with server) added
Actions

Also available in: Atom PDF