Configure EventNotification Endpoint and Enterprise Service for CUI
EventNotification Endpoint is a middleware which is responsible to receive incomming COMOS event notification, queue them internally and forward them to the UBIK Enterprise service for further processing. This page describes how to setup the system.
Contents
Overview
- Make sure Enterprise Service and USAM are installed on IIS Server.
- Install Notification Endpoint webservice on IIS Server
- Configure mandatory settings for Notification Endpoint Webservice
- Configure Notification Endpoint service URL in COMOS and enable Notifications
Install Notification Endpoint
- Download Notification Service from the release portal.
- Deploy the Notification Service to the designated web app folder on the IIS Server (web app folder needs to be created if necessary)
- Make sure COMOS is configured to enable sending out notifications.
IIS Manager
- Add a new "Sites" in IIS Manager.
- Connect the new site to the corresponding physical folder by selecting "Settings" from the right side.
- Configure the "Binding" to identify the site with a URL.
- The URL can be used as a direct access target,
- or used as an internal target for URL redirection.
fill out the blanks with necessary information
Notification Endpoint
Adapt “Your/EventNotificationEndpoint/Folder/Configuration/config.json” file, configure at least the mandatory settings:
- "USAMUrl":
- "QueuePath": The folder contain all notifications, which will send to Enterprise Service for process, after processed by ES, the corresponding file will be deleted.
- "InComingLogPath": All received COMOS notifications will be stored here
- "ProcessUrl": The URL, which represent Enterprise Service access point
Enterprise Service
- Go to UBIK.EnterpriseService folder,
- Check if CUI plugin installed,
- Copy paste UBIK.Interface.CUI.dll to “Injection” folder.
- If Injection does not exist, create it.
- Open UBIK.EnterpriseService.exe.config:
- Find “appSettings” session, configure all necessary information, and add "ContentControllerConfigPath" to the end :
<!-- 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="" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
<!--TEST IF ONLINE USING BROWSER // GET http://localhost:9000/api/basicenterpriseservice/getuptimeinfo-->
<add key="ExecuteWebInterface" value="1" />
<add key="ExecuteTaskByJsonFile" value="0" />
<add key="WebInterfacePort" value="9000" />
<add key="WebInterfaceHost" value="http://localhost" />
'''<add key="ContentControllerConfigPath" value="C:\UBIK\CUI.ES.Config\ContentController.json" />'''
</appSettings>
Make sure ContentController.json exist.
- Open ContentController.json, change the content base on the requirement:
Invalid language.
You need to specify a language like this: <source lang="html4strict">...</source>
Supported languages for syntax highlighting:
4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript, actionscript3, ada, algol68, apache, applescript, apt_sources, arm, asm, asp, asymptote, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, e, ecmascript, eiffel, email, epc, erlang, euphoria, f1, falcon, fo, fortran, freebasic, freeswitch, fsharp, gambas, gdb, genero, genie, gettext, glsl, gml, gnuplot, go, groovy, gwbasic, haskell, haxe, hicest, hq9plus, html4strict, html5, icon, idl, ini, inno, intercal, io, j, java, java5, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, ldif, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, mmix, modula2, modula3, mpasm, mxml, mysql, nagios, netrexx, newlisp, nsis, oberon2, objc, objeck, ocaml, ocaml-brief, octave, oobas, oorexx, oracle11, oracle8, oxygene, oz, parasail, parigp, pascal, pcre, per, perl, perl6, pf, php, php-brief, pic16, pike, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, pys60, python, q, qbasic, rails, rebol, reg, rexx, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, spark, sparql, sql, stonescript, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, upc, urbi, uscript, vala, vb, vbnet, vedit, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, whois, winbatch, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic
{ "SqlConnectionDefinition": { "SSPI": false (or true, based on your DB setting), "SQLUser": "username", "SQLPassword": "password", "SQLServer": "your SQL Server", "SQLInitialCatalog": "DB name" } }