Changes

BatchWriteOrchestrator

2,373 bytes added, 2 October
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..."
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
<source lang = "csharp">
{
"RepeateEveryMinutes": 10,
"SqlConnectionDefinition":
{
"SSPI": false,
"SQLUser": "....",
"SQLPassword": "....",
"SQLServer": "....,
"SQLInitialCatalog": "...."
},
"Tasks":
[
{
"ClassFullname": "UBIK.CUI.Orchestration.BatchWriteOrchestrator",
"MethodName": "Apply",
"MethodParameterPathFullName": "my_params.json",
}
]
}
</source>



<source lang = "csharp">
{
"RepeateEveryMinutes": 10,
"SqlConnectionDefinition":
{
"SSPI": false,
"SQLUser": "....",
"SQLPassword": "....",
"SQLServer": "....,
"SQLInitialCatalog": "...."
},
"Tasks":
[
{
"ClassFullname": "UBIK.CUI.Orchestration.MutliBatchWriteOrchestrator",
"MethodName": "Apply",
"MethodParameterPathFullName": "my_params.json",
}
]
}
</source>

You have to configure parameters via the method parameter file:
<source lang = "csharp">
public class ServiceParameter
{
public Guid? RegistrationInterfaceAdmin{ get; set; }

public Guid[]? Proxies{ get; }

public Guid? RestAPIInterfaceAdmin{ get; set; }
}
</source>

the file "my_params.json" used as "MethodParameterPathFullName" will be looking like this example
<source lang = "csharp">
{
"RegistrationInterfaceAdmin": null,
"Proxies": null,
"RestAPIInterfaceAdmin": "e09bfeca-18e1-45e5-a605-038912882c2d"
}
</source>

{| class="wikitable" style="text-align: left; width: 100%"
|-
! style="width:25%" |Property
!! style="width:75%" |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
|-
| RestAPIInterfaceAdmin
| GUID of Interface Admin Object that is relatet to the Proxies or the hirarchical owner of many Admin Objects for MultiBatch
|-
112
edits