Project

General

Profile

Actions

Task #1081

closed

Bulk operation on identities

Added by Ondřej Kopr over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondřej Kopr
Category:
Bulk operations
Target version:
Start date:
04/23/2018
Due date:
% Done:

90%

Estimated time:
Owner:

Description

Create new behavior for bulk operation on identities.

  • bulk operation will be part of core module,
  • bulk operation will be available on select box identity table,
Basic bulk operations:
  • delete identities,
  • add role,
  • remove role.

By identities agenda will be possible filtering and choose identities by basic attributes.


Related issues

Related to IdStory Identity Manager - Task #1105: Bulk action for create event notifyClosedOndřej Kopr05/23/2018

Actions
Actions #1

Updated by Vít Švanda over 6 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Vít Švanda over 6 years ago

Problem with change of filtered data can be may be solved with using Isolation of transaction (Serializable) ... http://www.byteslounge.com/tutorials/spring-transaction-isolation-tutorial

Actions #3

Updated by Ondřej Kopr over 6 years ago

Vít Švanda wrote:

Problem with change of filtered data can be may be solved with using Isolation of transaction (Serializable) ... http://www.byteslounge.com/tutorials/spring-transaction-isolation-tutorial

This is probably good way for get one and same set for more pages. Thank you for hint. But the idea with create new bulkOperation and bulkOperationItem with only ID is also very good and probably it will be my way how to implement the bulk operation. Tomorrow we will consult about it. Thanks for help.

Actions #4

Updated by Ondřej Kopr over 6 years ago

  • % Done changed from 0 to 80

I finished tests implementation, now missing only documentation.

Actions #5

Updated by Ondřej Kopr over 6 years ago

Final solution of bulk actions is implemented, main features:

  • bulk action is process on backend in long running task,
  • implement bulk action on identities:
  • delete,
  • manually enabled,
  • manually disabled,
  • add roles,
  • remove roles,
  • log identities (example),
  • classic long running task has now processed items (no black magic, only log),
  • bulk action has abstract class for easy use, identities bulk action has own abstract class,
  • after bulk action will be finished is send notification with result
  • new dashboard with owners long runnign tasks,
  • from LongRunningTask detail was made new advanced component,
  • component LongRunningTask update itself and change progress bar (websocket isn't used) is used set interval,
  • add new feature - localization for eav attributes,
  • new component EavAttributeForm, for render only attributes without definition.

all backend features included tests.

Actions #6

Updated by Ondřej Kopr over 6 years ago

  • Related to Task #1105: Bulk action for create event notify added
Actions #8

Updated by Ondřej Kopr over 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondřej Kopr to Vít Švanda
  • % Done changed from 80 to 90

Please Vitek could you make a review? Feel free consult with me. Thank you :)

Solution can be found in branch okopr/1081-bulk-operation (https://github.com/bcvsolutions/CzechIdMng/tree/okopr/1081-bulk-operation)

For diff you can use: https://github.com/bcvsolutions/CzechIdMng/compare/develop...okopr/1081-bulk-operation

Actions #9

Updated by Vít Švanda over 6 years ago

I started with review.

Basic functionality works perfectly. Code looks very nice.

We resolved some problems and improvements agilely.

Actions #10

Updated by Vít Švanda over 6 years ago

- For EAV localization feature was created task #1120.

Actions #11

Updated by Vít Švanda over 6 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Vít Švanda to Ondřej Kopr
Actions #12

Updated by Vít Švanda over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF