EventNotificationScanOrchestrator
EventNotificationScanOrchestrator is an orchestrator which can be configured to be executed on the UBIK Enterprise Service e.g. using PluginExecutionConfigPath. for UBIK Studio Version 4.7 and higher
Offten Named as "CUIEventNotification.json" and mentioned as "PluginExecutionConfigPath" in the "UBIK.EnterpriseService.exe.config" file
{
"RepeateEveryMinutes": 10,
"SqlConnectionDefinition":
{
"SSPI": false,
"SQLUser": "....",
"SQLPassword": "....",
"SQLServer": "....,
"SQLInitialCatalog": "...."
},
"Tasks":
[
{
"ClassFullname": "UBIK.CUI.Orchestration.EventNotificationScanOrchestrator",
"MethodName": "Execute",
"MethodParameterPathFullName": "my_params.json",
}
]
}
"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; }
}
{
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; }
}
the file "my_params.json" used as "MethodParameterPathFullName" will be looking like this example
{
"ScanDelay": 0,
"ScanSize": 50,
"MaxProcessedProxies": 500,
"MaxProcessedNotifications": 50,
"IdleMinutes": 5
}
"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. |