Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
devel:documentation:application_configuration:dev:scheduled_tasks:task-scheduler [2020/03/26 14:10]
svandav [Recoverable tasks]
devel:documentation:application_configuration:dev:scheduled_tasks:task-scheduler [2020/05/25 05:59]
husniko
Line 72: Line 72:
 <note>To enable this feature, task method ''isRecoverable'' has to be overiden and return ''true''.</note> <note>To enable this feature, task method ''isRecoverable'' has to be overiden and return ''true''.</note>
  
-<note important>Only tasks created **running** in version the **10.2.0** and higher can be run again!</note>+<note important>Only tasks created and **running** in the version **10.2.0** and higher can be run again!</note>
  
 {{ :devel:documentation:application_configuration:dev:scheduled_tasks:lrt-sync-recreation.png |}} {{ :devel:documentation:application_configuration:dev:scheduled_tasks:lrt-sync-recreation.png |}}
Line 230: Line 230:
 === Parameters === === Parameters ===
   * ``Number of days`` - Delete events older than given number of days.   * ``Number of days`` - Delete events older than given number of days.
 +
 +<code sql>
 +-- PostgreSql
 +-- Delete events older then 3 days
 +delete from idm_entity_event where result_state='EXECUTED' AND created <= NOW() - INTERVAL '72 HOURS';
 +vacuum full idm_entity_event;
 +</code>
  
 ==== DeleteLongRunningTaskExecutor==== ==== DeleteLongRunningTaskExecutor====
Line 307: Line 314:
   * ``Workflow definition`` - Delete historic workflow processes with this definition only.   * ``Workflow definition`` - Delete historic workflow processes with this definition only.
  
 +==== VsSystemGeneratorTaskExecutor ====
 +
 +@since 10.4.0
 +
 +Task generates given number of virtual systems, roles and identities. All generated entities are evenly distributed among themselves. I.e. Roles assigned to users and connected to generated systems. Task serves for generating required scenario and following performance test.
 +
 +=== Parameters ===
 +  * ``Item prefix`` - A name prefix of all generated entities. Serves for easier searching of entities in IdM.
 +  * ``System count`` - Number of generated virtual systems.
 +  * ``Role count`` - Number of generated roles.
 +  * ``User count`` - Number of generated identities.
  
 ===== Testing tips ===== ===== Testing tips =====
  • by apeterova