Project

General

Profile

Actions

Defect #1614

closed

Entity event queue - prevent to create event for identity role without business role configuration

Added by Radek Tomiška over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Event
Target version:
Start date:
04/23/2019
Due date:
% Done:

100%

Estimated time:
Affected versions:
Owner:

Description

Prevent to create entity events in queue for all identity roles in one request, if no business roles are configured - just one event for the whole request will be published at the end.

@affected version 9.5.2


Related issues

Related to IdStory Identity Manager - Task #1607: Provisioning with merge attributes - optimalizationClosedVít Švanda04/11/2019

Actions
Related to IdStory Identity Manager - Defect #1625: Entity event queue - parent event is deleted before account management is executedClosedRadek Tomiška04/29/2019

Actions
Actions #1

Updated by Radek Tomiška over 5 years ago

  • Description updated (diff)
  • Status changed from In Progress to Needs feedback
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 0 to 90

I tried to remove event for business role recalculation, if assigned role hasn't business role configured. But when this processor was not called, then whole request was complemented by the first assigned role concept and other concept was processed outside the request => provisioning was called.

I fixed it by using parts of code from 9.6.0 (skip propagate event property) and handle skip notify event property for the role request event manually, if no business role is specified.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/7a5cd9489b06c140b49046d4832f3c4f909d61a1

Note: this changes are just for 9.5.x version. In the version 9.6.0 is the whole request executed asynchronously and business roles are recalculated synchronously (this issue doesn't occurs) => should be not merged into develop.

Actions #2

Updated by Radek Tomiška over 5 years ago

  • Related to Task #1607: Provisioning with merge attributes - optimalization added
Actions #3

Updated by Vít Švanda over 5 years ago

  • Status changed from Needs feedback to Resolved

I reviewed it. Your fix looks logical.

Actions #4

Updated by Radek Tomiška over 5 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 90 to 100
Actions #5

Updated by Radek Tomiška over 5 years ago

  • Related to Defect #1625: Entity event queue - parent event is deleted before account management is executed added
Actions

Also available in: Atom PDF