Difference between revisions of "EventNotificationScanOrchestrator"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
EventNotificationScanOrchestrator is an orchestrator which can be configured to be executed on the UBIK Enterprise Service e.g. using PluginExecutionConfigPath. | 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 | ||
<source lang = "csharp"> | <source lang = "csharp"> | ||
{ | { | ||
"RepeateEveryMinutes": 10, | "RepeateEveryMinutes": 10, | ||
− | "SqlConnectionDefinition": { | + | "SqlConnectionDefinition": |
+ | { | ||
"SSPI": false, | "SSPI": false, | ||
"SQLUser": "....", | "SQLUser": "....", | ||
Line 36: | Line 39: | ||
public double? IdleMinutes{ get; set; } | public double? IdleMinutes{ get; set; } | ||
} | } | ||
+ | </source> | ||
+ | |||
+ | the file "my_params.json" used as "MethodParameterPathFullName" will be looking like this example | ||
+ | <source lang = "csharp"> | ||
+ | { | ||
+ | "ScanDelay": 0, | ||
+ | "ScanSize": 50, | ||
+ | "MaxProcessedProxies": 500, | ||
+ | "MaxProcessedNotifications": 50, | ||
+ | "IdleMinutes": 5 | ||
+ | } | ||
</source> | </source> | ||
Latest revision as of 13:00, 21 November 2024
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. |