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:architecture:dev:events [2020/03/30 12:49]
tomiskar
devel:documentation:architecture:dev:events [2021/02/23 11:34]
tomiskar
Line 126: Line 126:
     * ''IdmIdentityProjectionDto'' - identity form projections     * ''IdmIdentityProjectionDto'' - identity form projections
       * supports base event types ''CREATE'', ''UPDATE''       * supports base event types ''CREATE'', ''UPDATE''
 +    * ''ModuleDescriptorDto'' - application modules
 +      * supports base event types ''INIT'', ''ENABLE'', ''DISABLE''
 +    * ''IdmScripDto'' - groovy scripts
 +      * supports base event types ''CREATE'', ''UPDATE'', ''DELETE'' 
   * ''acc'':   * ''acc'':
     * ''AccAccountDto'' - Accounts on target system     * ''AccAccountDto'' - Accounts on target system
Line 133: Line 137:
       * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''       * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''
     * ''SysSystemDto'' - System in ACC module     * ''SysSystemDto'' - System in ACC module
 +      * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''
 +    * ''SysRemoteServerDto'' - Remote server in ACC module
       * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''       * supports base event types ''CREATE'', ''UPDATE'', ''DELETE''
     * ''SysSystemMappingDto'' - Mapping between system and his mapping of provisioning or sync     * ''SysSystemMappingDto'' - Mapping between system and his mapping of provisioning or sync
Line 161: Line 167:
  
  
-The default order for listeners (''-'' => before, ''+'' => after)+The [[#predefined_processors_order|default order]] for listeners (''-'' => before, ''+'' => after).
-  * ''core'': **0** +
-  * ''provisioning'': **1000** +
-  * ''delete / archivate processed'': **5000**+
  
 ===== Basic interfaces ===== ===== Basic interfaces =====
Line 207: Line 210:
  
  * ''getPriority(event)'' - Registered async processor can vote about priority of processing for given event. Returns ''null'' by default => processor doesn't vote about priority - preserve original event priority. Use ''IMMEDIATE'' to execute whole event synchronously. All registered processors votes about event priority - whole event will be processed with the highest priority.  * ''getPriority(event)'' - Registered async processor can vote about priority of processing for given event. Returns ''null'' by default => processor doesn't vote about priority - preserve original event priority. Use ''IMMEDIATE'' to execute whole event synchronously. All registered processors votes about event priority - whole event will be processed with the highest priority.
 +
 +==== AbstractInitApplicationProcessor====
 +
 +Use this super class for providing application and module [[.events:init-data|init data]].
 +
 +
  
 ===== Transactions ===== ===== Transactions =====
Line 341: Line 350:
 ===== Implemented processors ===== ===== Implemented processors =====
  
-Basic save and delete processors are not listed.+**Basic processors for simple operations (e.g. savedeleteare not listed.** All registered processors can be listed in agenda (Settings - Modules - Processors). 
 + 
 ==== Automatic roles processors ==== ==== Automatic roles processors ====
 <code properties> <code properties>
  • by tomiskar