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...") |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 56: | Line 56: | ||
public Guid[]? Proxies{ get; } | public Guid[]? Proxies{ get; } | ||
| + | |||
| + | public Integer? max_proxies{ get; } | ||
public Guid? RestAPIInterfaceAdmin{ get; set; } | public Guid? RestAPIInterfaceAdmin{ get; set; } | ||
| Line 66: | Line 68: | ||
"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 83: | ||
| 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 | ||
| + | | Integer 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 | ||
|- | |- | ||
Latest revision as of 06:57, 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 Integer? max_proxies{ get; }
public Guid? RestAPIInterfaceAdmin{ get; set; }
}
{
public Guid? RegistrationInterfaceAdmin{ get; set; }
public Guid[]? Proxies{ get; }
public Integer? max_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 | Integer 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 |
