Project

General

Profile

Actions

Task #1142

closed

Add overview of events to more entites

Added by Petr Michal over 6 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Event
Target version:
Start date:
06/15/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

When I have failed event on identity, I can find it on its profile.

But for example, now I was provisioning tree nodes. Only place when I can find errors is in the overall audit. Everything else looks alright.

It would be useful to see issues on an entity profile or admin's dashboard.


Related issues

Related to IdStory Identity Manager - Task #1421: FE: Dashboard - event queueNewRadek Tomiška12/13/2018

Actions
Related to IdStory Identity Manager - Defect #2548: Role with attributes cannot be assignedClosedRadek Tomiška11/02/2020

Actions
Related to IdStory Identity Manager - Defect #1538: Business role: Show cyclic role in tree, removing business sub role from business role definition, remove account from sub roleClosedRadek Tomiška03/05/2019

Actions
Actions #1

Updated by Alena Peterová over 6 years ago

A just wanted to create a similar ticket. :-)

Also for identities, could you please display also events for its contracts, assigned roles etc.?
Use-case: I synchronized a contract, the event was created, but it wasn't displayed by the identity. I couldn't see that the operation (in my case deassignment of automatic role by organisation) was still waiting.

Actions #2

Updated by Radek Tomiška over 6 years ago

I'm glad for this ticket, this is the main reason of tabs, they could be simply added where it's needed .)

But i really don't want to create any logic instead of filters to concrete tabs - overall audit can be used for seeing more than one entity type together.

Actions #3

Updated by Vít Švanda over 6 years ago

  • Target version changed from Lapis (8.2.0) to Malachite (9.0.0)
Actions #4

Updated by Vít Švanda over 6 years ago

  • Target version deleted (Malachite (9.0.0))
Actions #5

Updated by Radek Tomiška over 6 years ago

  • Estimated time set to 4.00 h

New attributes will be added to persistent events:
- rootOwnerId - root entity id (e.g. identity id)
- rootOwnerType - root entity type (e.g. IdmIdentity)
- eventStarted - DateTime, when event start processing

Root owner will be filled, when needed - e.g., when contract (identity role ...) is notified, then identity, which owning this sub record will be filled (this has to implemented in notify processors). Root owner will be preset automatically by parent event, when sub event is published (the same as event priority).

Root owner id will be used for filtering events on detail tabs to better overview, what happened with selected record.

Actions #6

Updated by Radek Tomiška about 6 years ago

  • Related to Task #1421: FE: Dashboard - event queue added
Actions #7

Updated by Radek Tomiška about 4 years ago

  • Target version set to 10.6.0
Actions #8

Updated by Radek Tomiška about 4 years ago

  • Status changed from New to In Progress
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 0 to 90

I reused superOwnerId attribute and filter events on identity detail by it. I've added event start and end date too.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/1ed3d2376caf36cfa0883d36297101bde854f309

Could you provide me a feedback, please?

Actions #10

Updated by Vít Švanda about 4 years ago

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

I did review and tested it. You added start and end fields for a event, this will very usefull, thanks for that.

I see more events on the identity detail (IdentityContract, IdentityContractPosition, Identity), but RoleRequest and IdentityRole missing.

Actions #11

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

Thx for the feedback, I've added missing superOwnerId attribute to role requests events and propagated this attribute value (~ parent envent) in other sub events (~ identity roles created by the role request).
I've added shortcut for show running events and events with exception from count badges + to main agenda.

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/c5cd5f0172ac2fca57a61c37b079be1d93989485

Could you please provide me a feedback again?

Note: Identity roles created / updated / deleted synchronously by role request are logged into event agenda too (just for better overview, what asynchronous request done).

Actions #12

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 reivew and tested it. Works nice, thanks for that. LGTM

Actions #13

Updated by Radek Tomiška about 4 years ago

  • Status changed from Resolved to Closed
Actions #14

Updated by Radek Tomiška about 4 years ago

  • Related to Defect #2548: Role with attributes cannot be assigned added
Actions #15

Updated by Radek Tomiška about 4 years ago

  • Related to Defect #1538: Business role: Show cyclic role in tree, removing business sub role from business role definition, remove account from sub role added
Actions

Also available in: Atom PDF