The VCL is an installable windows system service which can be used to automaically trigger one or more UBIK contexts(s) provided by an UBIK IIS service to build up its view cache.
After unpacking the VCL binaries and config-files, move the files to a directory where the local system account (or the specified one configured to run the VCL service) is allowed to execute itthe "install.bat". This file installs the UBIK.VCL.Service.exe as a service.
The VCL is configured in “UBIK.VCL.Service.exe.config":
* StatusURI: configure the service IP{| class="wikitable" | width = "100%"|-! Attribute!!Purpose!!Optional!!Obsolete (since V4.8+)|-| '''Protocol'''|| choose your wanted transport-protocol (https, http) || |||-| '''Url'''|| URL of the webservice path, appand context according webserver || |||-| '''Port'''|| port which is assigned to the installed UBIKwebserver || |||-configuration on | '''Path'''|| specify the IIS.path where the CONTENT webservice is placed || ||* TriggerUri: see StatusURI|-* | '''App'''|| application name of your use-case|| |||-| '''Context'''|| context name of your use-case|| |||-| '''TriggerInterval: when '''|| specify the interval in seconds how often a viewcache rebuild is already active, refresh it at least after this interval.triggered || ||* |-| '''OfflineCheckInterval'''|| specify the interval in seconds how often the server-status is checked || |||-| '''Inactive'''|| possibility to configure a timespan in which no rebuild is triggered (from;to) in (hh: when mm;hh:mm) || X |||-| '''LogPath'''|| specify the viewcache can not path where your logs should be contacted or placed || || |-| '''USAMUrl'''|| Webserver URL of the USAM || || X|-| '''USAMPort'''|| port which is offline, retry assigned to trigger the USAM webserver || || X|-| '''USAMProtocol'''|| choose your wanted transport-protocol (https, http) || || X|-| '''USAMPath'''|| specify the path where the USAM webservice is placed || || X|-| '''USAMLogin'''|| specify the login name which is used for triggering the viewcache at least after this time interval.build || || X|-| '''USAMPwd'''|| specify the password which is used for triggering the viewcache build|| || X|-| '''USAMDeviceName'''|| specify the device name which is used for triggering the viewcache build || || X|-|-| '''PushUrl'''|| Webserver URL of the PUSH || X || X|-| '''PushPort'''|| port which is assigned to the PUSH webserver || X || X|-| '''PushProtocol'''|| choose your wanted transport-protocol (https, http) || X || X|-| '''PushPath'''|| specify the path where the PUSH webservice is placed || X || X|-| '''Action'''|| Two options: ''ViewCacheUpdate'' (default value if the parameter is not set specifically); ''GetContent'' (can update one specific content object via an UID set with the Content parameter) || X |||-| '''Content'''|| UID of a content object || X |||}
===Example===
</startup>
<appSettings>
<add key="StatusUriProtocol" value="https:"//10> <add key="Url" value="127.860.470.161"/CLIENT> <add key="Port" value="443"/UBIK.DURR> <add key="Path" value="UBIKService/CONTENT/UbikContent.svc/GetViewStateInformation/APP_DURR_001/CXT_DURR_001" /> <add key="TriggerUriApp" value="https:APP_01"//10.86.47.16/CLIENT/UBIK.DURR/CONTENT/UbikContent.svc/TriggerViewStateUpdate/APP_DURR_001/CXT_DURR_001> <add key="Context" value="CXT_01" /> <add key="TriggerInterval" value="72003000" /> <add key="OfflineCheckInterval" value="6064" /> <add key="LogPath" value="DC:\UBIK\LOG\VCL\log\log.txt"/>
</appSettings>
</configuration>
Please duplicate the entries used and add a number suffix. Here is an example:
<source lang="xml">
<add key="StatusUri1Protocol" value="https://10.86.47.16/UBIK/PROJECT01/CONTENT/UbikContent.svc/GetViewStateInformation/APP_001/CXT_001" /><add key="StatusUri2Protocol01" value="https://10.86.47.16/UBIK/PROJECT01/CONTENT/UbikContent.svc/GetViewStateInformation/APP_001/CXT_002" />
</source>
etc'''Remark''': The number should be continously incremented by one, if there is a number missing in-between (-> e.g. Protocol, Protocol01, Protocol03,..), the last executed will be Protocol01.