Project

General

Profile

Actions

Task #2516

closed

Add support of bulk actions for script definition

Added by Ondrej Husník about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Ondrej Husník
Category:
Scripts
Target version:
Start date:
10/14/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Description

Add support of bulk actions for script definition and implement existing actions


Related issues

Related to IdStory Identity Manager - Feature #2493: Allow deploy script via dropdown zoneClosedRadek Tomiška09/16/2020

Actions
Related to IdStory Identity Manager - Task #2518: Script definition duplicationClosedOndrej Husník10/15/2020

Actions
Related to IdStory Identity Manager - Task #2521: Add support of bulk actions for notification templatesClosedOndrej Husník10/15/2020

Actions
Actions #1

Updated by Ondrej Husník about 4 years ago

  • Related to Feature #2493: Allow deploy script via dropdown zone added
Actions #2

Updated by Tomáš Doischer about 4 years ago

One cool feature would be script duplication (similar to what you can do with systems). Create the same script but add copy to the name. It would save time with copying permissions.

It would allow you to basically use one script as a template for another one which is often useful.

Actions #3

Updated by Ondrej Husník about 4 years ago

  • Status changed from New to In Progress
  • Target version set to 10.6.0
Actions #4

Updated by Ondrej Husník about 4 years ago

  • Related to Task #2518: Script definition duplication added
Actions #5

Updated by Radek Tomiška about 4 years ago

IdmScriptFilter needs to be refactored to pure DataFilter (=> fields to properties) to be able process bulk action asynchronously through LRT queue (e.g. when no thread is currently available to process bulk action).

Actions #6

Updated by Ondrej Husník about 4 years ago

  • Related to Task #2521: Add support of bulk actions for notification templates added
Actions #7

Updated by Ondrej Husník about 4 years ago

  • % Done changed from 0 to 80
Actions #8

Updated by Ondrej Husník about 4 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Ondrej Husník to Radek Tomiška

Script definition agenda now supports bulk operations. The new abstract bulk actions have been created for redeployment and backup of entities, services of which implement Recoverable interface. IdmScriptFilter has also been refactored to pure DataFilter as requested.

Please provide me a feedback.
https://github.com/bcvsolutions/CzechIdMng/commit/2804a3c6e3c2d5502e8026afd02fb254f55acd14

Actions #9

Updated by Radek Tomiška about 4 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Radek Tomiška to Ondrej Husník
  • % Done changed from 80 to 100

I did test and code review, it works, I like super classes, prevalidation and code is clean, nice!

I did some minor review notes:
- I removed configurationService field from bulk action - is autowired in super class
- I removed field OperationResult from bulk action - is local variable only
- I removed set parameters in 'toFilter' method from controller - is not needed (data filter benefit)
- I changed order for bulk actions - order was the same as delete operation
- Prevalidate method is resused not in both bulk actions (i added info about backup folder location, even it's found)

Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/4efb7e1c75e43b6ecff1b457f18245b6a0985377

Actions #10

Updated by Radek Tomiška about 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF