There are 2 ways to upload data within KAIROS: a manual way and an automatic way.


About the automatic upload


KAIROS provides a mounting point "/autoupload" to manage this functionality. If a user wants to upload data in the "kairos_user_examples" in an automatic way, he has to check if the "kairos_user_examples" directory  exists under the directory mounted to "/autoupload". After this initial checking, any zip or tgz file moved in this directory will be processed by Kairos.


In fact a daemon is always listening to changes in this directory. When a file has been written, on close, the daemon uploads data in the KAIROS repository. When upload is complete, the file is removed from the input directory.


Suppose we move the file "a_b_c.zip" under /autoupload/kairos_user_examples. After a while (a few seconds), if we explore the tree corresponding to the "kairos_user_examples" repository, we should see under "/" a node named "a", under "a" a node named "b" and under "b" a node named "c" with a blue flag. The "_" (underscore) character is used to transform the file name to a tree. The full path must be provided in the automatic way.


About the manual upload


When there is no link between the production systems and KAIROS, data captured from production systems must be transferred to kairos in a way to be defined (depending of the customer environment). If the data is transferred to the user laptop, the manual upload can be used to move data in the kairos repository.


In this case, the KAIROS user opens an explorer in the user interface and choose the node under which data must be uploaded.


Example:




A new form is displayed suggesting to add one or more files ....



A single click on "Add files" allows to add one or more files to be uploaded




Once the operation is done, the "upload" form can be closed and normally data is available in the tree at the place where it's supposed to be:



Note that file names with "_" inside are exploded to a tree under the node in which we have initiated "upload"


After this, data is available to be explored within KAIROS.