Last modified on 20 November 2024, at 10:57

EventNotificationScanOrchestrator

Revision as of 10:57, 20 November 2024 by MHM (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; }
    }
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.