Changes

UBIK Enterprise Service

156 bytes added, 19:28, 29 May 2019
== Concept ==
The {{UBIK}} EnterpriseService typically runs on a server and watches an arbitrary amount of folders in the file system for changes, like new or modified files. Once such a change occurs, it parses the file and checks if its extension matches the signature of a {{UBIK}} command file. If true, it will be processed.
== Command file ==
A command file for the {{UBIK}} EnterpriseService is a plain text file and has the extension ''.command''or ".json.command". When the EnterpriseService starts processing such a file, it will be parsed as an XML or JSON document. In the case of an XML document, every non-XML information in the file will be ignored. === XML Command === A sample command file for starting an interface component looks like this:
<source lang="xml">
{{Hint|If the database server is on the same machine (localhost) then write Value{{=}}"." for the server parameter.}}
 
=== JSON Command ===
 
== Configuring {{UBIK}} EnterpriseService ==
Since Version 2.6.3 UBIK.EnterpriseService is now able to mark a command file as processed, delete a command file or do nothing once a command file is processed. This behaviour needs to be configured in the UBIK.EnterpriseService.exe.config configuration file. The following values are valid: Do Nothing = 0, Mark as processed with ".processed" = 1 and Delete = 2. Example:
182
edits