Jump to: navigation, search

EventNotificationScanOrchestrator


Revision as of 12:52, 21 November 2024 by FMW (Talk | contribs)

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; }
    }

{
   "ScanDelay": 0,
   "ScanSize": 50,
   "MaxProcessedProxies": 500,
   "MaxProcessedNotifications": 50,
   "IdleMinutes": 5
}
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.