Difference between revisions of "View Cache Launcher"
(→{{UBIK}} View Cache Launcher (VCL)) |
(→{{UBIK}} View Cache Launcher (VCL)) |
||
(22 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
={{UBIK}} View Cache Launcher (VCL)= | ={{UBIK}} View Cache Launcher (VCL)= | ||
− | The VCL is an installable | + | The VCL is an installable Windows system service that can be used to automatically trigger one or more UBIK contexts(s) provided by a UBIK IIS service to build up its view cache. |
− | + | ===Configuration=== | |
− | The VCL is configured | + | The VCL is configured via the UBIK.VCL.Service.exe.config file. |
− | + | {| class="wikitable" | width = "100%" | |
− | + | |- | |
− | + | ! Attribute!!Purpose!!Optional!!Obsolete (since V4.8+) | |
− | + | |- | |
+ | | '''Protocol'''|| choose your wanted transport-protocol (https, http) || || | ||
+ | |- | ||
+ | | '''Url'''|| URL of the webserver || || | ||
+ | |- | ||
+ | | '''Port'''|| port which is assigned to the webserver || || | ||
+ | |- | ||
+ | | '''Path'''|| specify the path where the CONTENT webservice is placed || || | ||
+ | |- | ||
+ | | '''App'''|| application name of your use-case|| || | ||
+ | |- | ||
+ | | '''Context'''|| context name of your use-case|| || | ||
+ | |- | ||
+ | | '''TriggerInterval'''|| specify the interval in seconds, how often a viewcache rebuild is 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:mm;hh:mm) || X || | ||
+ | |- | ||
+ | | '''LogPath'''|| specify the path where your logs should be placed || || | ||
+ | |- | ||
+ | | '''USAMUrl'''|| Webserver URL of the USAM || || X | ||
+ | |- | ||
+ | | '''USAMPort'''|| port which is assigned to 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 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=== | ===Example=== | ||
Line 21: | Line 67: | ||
</startup> | </startup> | ||
<appSettings> | <appSettings> | ||
− | <add key=" | + | <add key="Protocol" value="https"/> |
− | <add key=" | + | <add key="Url" value="127.0.0.1"/> |
− | <add key="TriggerInterval" value=" | + | <add key="Port" value="443"/> |
− | <add key="OfflineCheckInterval" value=" | + | <add key="Path" value="UBIKService/CONTENT"/> |
− | <add key="LogPath" value=" | + | <add key="App" value="APP_01"/> |
+ | <add key="Context" value="CXT_01"/> | ||
+ | <add key="TriggerInterval" value="3000" /> | ||
+ | <add key="OfflineCheckInterval" value="64" /> | ||
+ | <add key="LogPath" value="C:\UBIK\VCL\log\log.txt"/> | ||
</appSettings> | </appSettings> | ||
</configuration> | </configuration> | ||
Line 34: | Line 84: | ||
Please duplicate the entries used and add a number suffix. Here is an example: | Please duplicate the entries used and add a number suffix. Here is an example: | ||
<source lang="xml"> | <source lang="xml"> | ||
− | <add key=" | + | <add key="Protocol" value="https" /> |
− | <add key=" | + | <add key="Protocol01" value="https" /> |
</source> | </source> | ||
− | + | '''Remark''': The number should be continuously incremented by one, if there is a number missing in between (-> e.g. Protocol, Protocol01, Protocol03,..), the last executed will be Protocol01. |
Latest revision as of 11:12, 4 August 2025
Contents
UBIK® View Cache Launcher (VCL)
The VCL is an installable Windows system service that can be used to automatically trigger one or more UBIK contexts(s) provided by a UBIK IIS service to build up its view cache.
Configuration
The VCL is configured via the UBIK.VCL.Service.exe.config file.
Attribute | Purpose | Optional | Obsolete (since V4.8+) |
---|---|---|---|
Protocol | choose your wanted transport-protocol (https, http) | ||
Url | URL of the webserver | ||
Port | port which is assigned to the webserver | ||
Path | specify the path where the CONTENT webservice is placed | ||
App | application name of your use-case | ||
Context | context name of your use-case | ||
TriggerInterval | specify the interval in seconds, how often a viewcache rebuild is 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:mm;hh:mm) | X | |
LogPath | specify the path where your logs should be placed | ||
USAMUrl | Webserver URL of the USAM | X | |
USAMPort | port which is assigned to 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 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
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
<appSettings>
<add key="Protocol" value="https"/>
<add key="Url" value="127.0.0.1"/>
<add key="Port" value="443"/>
<add key="Path" value="UBIKService/CONTENT"/>
<add key="App" value="APP_01"/>
<add key="Context" value="CXT_01"/>
<add key="TriggerInterval" value="3000" />
<add key="OfflineCheckInterval" value="64" />
<add key="LogPath" value="C:\UBIK\VCL\log\log.txt"/>
</appSettings>
</configuration>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
</startup>
<appSettings>
<add key="Protocol" value="https"/>
<add key="Url" value="127.0.0.1"/>
<add key="Port" value="443"/>
<add key="Path" value="UBIKService/CONTENT"/>
<add key="App" value="APP_01"/>
<add key="Context" value="CXT_01"/>
<add key="TriggerInterval" value="3000" />
<add key="OfflineCheckInterval" value="64" />
<add key="LogPath" value="C:\UBIK\VCL\log\log.txt"/>
</appSettings>
</configuration>
Configure more than one service and/or context to be updated
Please duplicate the entries used and add a number suffix. Here is an example:
<add key="Protocol" value="https" />
<add key="Protocol01" value="https" />
<add key="Protocol01" value="https" />
Remark: The number should be continuously incremented by one, if there is a number missing in between (-> e.g. Protocol, Protocol01, Protocol03,..), the last executed will be Protocol01.