Jump to: navigation, search

Difference between revisions of "EventNotificationScanOrchestrator"


(Created page with "EventNotificationScanOrchestrator is an orchestrator which can be configured to be executed on the UBIK Enterprise Service e.g. using PluginExecutionConfigPath. <source lang...")
 
Line 37: Line 37:
 
     }
 
     }
 
</source>
 
</source>
 +
 +
{| class="wikitable" style="text-align: left; width: 100%"
 +
|-
 +
! style="width:40%" | Property
 +
!! style="width:60%" | Description
 +
|-
 +
| ScanDelay
 +
| Timespan (in seconds) an event must be imported before being processed.
 +
|-
 +
| ScanSize
 +
| Number of max processed events (during one scan iteration).
 +
|-
 +
| MaxProcessedProxies
 +
| Number of max processed proxies untill the scan process gets paused / restarted.
 +
|-
 +
| MaxProcessedNotifications
 +
| Number of max processed event notifications until the scan process gets paused / restarted.
 +
|-
 +
| IdleMinutes
 +
| Time (in minutes) the scan process waits until it gest paused / restarted.
 +
|-

Revision as of 10:57, 20 November 2024

EventNotificationScanOrchestrator is an orchestrator which can be configured to be executed on the UBIK Enterprise Service e.g. using PluginExecutionConfigPath.

{
        "RepeateEveryMinutes": 10,
        "SqlConnectionDefinition": {
         "SSPI": false,
         "SQLUser": "....",
         "SQLPassword": "....",
         "SQLServer": "....,
         "
SQLInitialCatalog": "...."
        },
        "
Tasks":
        [
                {
                   "
ClassFullname": "UBIK.CUI.Orchestration.EventNotificationScanOrchestrator",
                   "
MethodName": "Execute",
                   "
MethodParameterPathFullName": "my_params.json",    
                }
        ]  
 }

It is possible to configure Scan parameters via the method parameter file:

    public class ScanServiceParameter
    {
        public int? ScanDelay { get; set; }

        public int? ScanSize { get; set; }

        public int? MaxProcessedProxies { get; set; }

        public int? MaxProcessedNotifications { get; set; }

        public double? IdleMinutes{ get; set; }
    }
Property Description
ScanDelay Timespan (in seconds) an event must be imported before being processed.
ScanSize Number of max processed events (during one scan iteration).
MaxProcessedProxies Number of max processed proxies untill the scan process gets paused / restarted.
MaxProcessedNotifications Number of max processed event notifications until the scan process gets paused / restarted.
IdleMinutes Time (in minutes) the scan process waits until it gest paused / restarted.