Changes

Configure Enterprise Service for Import

2,556 bytes added, 2 October
Created page with "= Enterprise Service= * Go to the UBIK.EnterpriseService folder, * Copy and paste UBIK.Interface.CUI.dll to the “Injection” folder (create it if it does not exist). * Open..."
= Enterprise Service=
* Go to the UBIK.EnterpriseService folder,
* Copy and paste UBIK.Interface.CUI.dll to the “Injection” folder (create it if it does not exist).
* Open UBIK.EnterpriseService.exe.config, find the “appSettings” section, configure all necessary information, and add the "ContentControllerConfigPath" setting to the end:
<source lang = "xml">
<appSettings>
<!-- System.Diagnostics.ProcessWindowStyle: Normal = 0, Hidden = 1, Minimized = 2, Maximized = 3 -->
<add key="ConsoleRunMode" value="1" />
<!-- Nothing = 0, Mark = 1, Delete = 2 -->
<add key="CommandFileAction" value="0" />
<add key="ClearWatchFolders" value="0" />
<!-- Path to json file. Pointing to EnterpriseServicePluginExecutionConfigHolder -->
<add key="PluginExecutionConfigPath" value="your\setting\path\CUIEventNotification.json" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
<!--TEST IF ONLINE USING BROWSER // GET http://localhost:9000/api/basicenterpriseservice/getuptimeinfo-->
<!-- switch on WebInterface: 1, switch off WebInterface : 0 -->
<add key="ExecuteWebInterface" value="0" />
<add key="ExecuteTaskByJsonFile" value="1" />
<!-- Notification Endpoint config ProcessUrl -->
<add key="WebInterfacePort" value="9000" />
<add key="WebInterfaceHost" value="http://localhost" />
<!-- Add this to the ES config file -->
<add key="ContentControllerConfigPath" value="" />
</appSettings>
</source>
'''Make sure CUIEventNotification.json exists.'''
* Create or adapt CUIEventNotification.json according to your database connection:
<source lang = "csharp">
{
"RepeateEveryMinutes": 10,
"SqlConnectionDefinition":
{
"SSPI": false,
"SQLUser": "....",
"SQLPassword": "....",
"SQLServer": "....,
"SQLInitialCatalog": "...."
},
"Tasks":
[
{
"ClassFullname": "UBIK.CUI.Orchestration.EventNotificationScanOrchestrator",
"MethodName": "Execute",
"MethodParameterPathFullName": "my_params.json",
}
]
}
</source>

* Example:
** "SQLUser": "aaa"
** "SQLPassoword": "bbb"
** "SQLServer": "(localdb)\ProjectModels"
** "SQLInitialCatalog": "TEMPLATE.LOCAL"
'''Pay attention on JSON escape with ' \" ', ' \\ ''''

* [https://wiki.augmensys.com/index.php?title=EventNotificationScanOrchestrator EventNotificationScanOrchestrator]

==See also==
<!-- DO NOT MODIFY THE NAME OF THIS SECTION, BUT REMOVE IT IF NOT REQUIRED -->
* [[HowTo:Install_UBIK_Web_Service#UBIK.C2.AE_Authentication_Web_Service_USAM.svc]]
* [[HowTo:Install_UBIK_Enterprise_Service]]
112
edits