Difference between revisions of "BatchWriteOrchestrator"
(Created page with "BatchWriteOrchestrator is an orchestrator which can be configured to be executed on the UBIK Enterprise Service e.g. using PluginExecutionConfigPath. for UBIK Studio Version 4...") |
|||
| Line 66: | Line 66: | ||
"RegistrationInterfaceAdmin": null, | "RegistrationInterfaceAdmin": null, | ||
"Proxies": null, | "Proxies": null, | ||
| + | "max_proxies": 500, | ||
"RestAPIInterfaceAdmin": "e09bfeca-18e1-45e5-a605-038912882c2d" | "RestAPIInterfaceAdmin": "e09bfeca-18e1-45e5-a605-038912882c2d" | ||
} | } | ||
| Line 80: | Line 81: | ||
| Proxies | | Proxies | ||
| ["GUID","GUID","GUID","GUID"] Array of GUID for Proxies that should be exportet | | ["GUID","GUID","GUID","GUID"] Array of GUID for Proxies that should be exportet | ||
| + | |- | ||
| + | | max_proxies | ||
| + | | 500 count of Proxies that should be prozessed in one bulk | ||
|- | |- | ||
| RestAPIInterfaceAdmin | | RestAPIInterfaceAdmin | ||
| GUID of Interface Admin Object that is relatet to the Proxies or the hirarchical owner of many Admin Objects for MultiBatch | | GUID of Interface Admin Object that is relatet to the Proxies or the hirarchical owner of many Admin Objects for MultiBatch | ||
|- | |- | ||
Revision as of 06:52, 30 October 2025
BatchWriteOrchestrator 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, it has to posible calls "UBIK.CUI.Orchestration.BatchWriteOrchestrator" for a Single InterfaceAdminObject and "UBIK.CUI.Orchestration.MutliBatchWriteOrchestrator" for a tree of InterfaceAdminObjects
Offten Named as "CUIExportOrchestrator.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.BatchWriteOrchestrator",
"MethodName": "Apply",
"MethodParameterPathFullName": "my_params.json",
}
]
}
"RepeateEveryMinutes": 10,
"SqlConnectionDefinition":
{
"SSPI": false,
"SQLUser": "....",
"SQLPassword": "....",
"SQLServer": "....,
"SQLInitialCatalog": "...."
},
"Tasks":
[
{
"ClassFullname": "UBIK.CUI.Orchestration.BatchWriteOrchestrator",
"MethodName": "Apply",
"MethodParameterPathFullName": "my_params.json",
}
]
}
{
"RepeateEveryMinutes": 10,
"SqlConnectionDefinition":
{
"SSPI": false,
"SQLUser": "....",
"SQLPassword": "....",
"SQLServer": "....,
"SQLInitialCatalog": "...."
},
"Tasks":
[
{
"ClassFullname": "UBIK.CUI.Orchestration.MutliBatchWriteOrchestrator",
"MethodName": "Apply",
"MethodParameterPathFullName": "my_params.json",
}
]
}
"RepeateEveryMinutes": 10,
"SqlConnectionDefinition":
{
"SSPI": false,
"SQLUser": "....",
"SQLPassword": "....",
"SQLServer": "....,
"SQLInitialCatalog": "...."
},
"Tasks":
[
{
"ClassFullname": "UBIK.CUI.Orchestration.MutliBatchWriteOrchestrator",
"MethodName": "Apply",
"MethodParameterPathFullName": "my_params.json",
}
]
}
You have to configure parameters via the method parameter file:
public class ServiceParameter
{
public Guid? RegistrationInterfaceAdmin{ get; set; }
public Guid[]? Proxies{ get; }
public Guid? RestAPIInterfaceAdmin{ get; set; }
}
{
public Guid? RegistrationInterfaceAdmin{ get; set; }
public Guid[]? Proxies{ get; }
public Guid? RestAPIInterfaceAdmin{ get; set; }
}
the file "my_params.json" used as "MethodParameterPathFullName" will be looking like this example
{
"RegistrationInterfaceAdmin": null,
"Proxies": null,
"max_proxies": 500,
"RestAPIInterfaceAdmin": "e09bfeca-18e1-45e5-a605-038912882c2d"
}
"RegistrationInterfaceAdmin": null,
"Proxies": null,
"max_proxies": 500,
"RestAPIInterfaceAdmin": "e09bfeca-18e1-45e5-a605-038912882c2d"
}
| Property | Description |
|---|---|
| RegistrationInterfaceAdmin | Interface Admin witch was uesd to Import from xml file |
| Proxies | ["GUID","GUID","GUID","GUID"] Array of GUID for Proxies that should be exportet |
| max_proxies | 500 count of Proxies that should be prozessed in one bulk |
| RestAPIInterfaceAdmin | GUID of Interface Admin Object that is relatet to the Proxies or the hirarchical owner of many Admin Objects for MultiBatch |
