Page tree
Skip to end of metadata
Go to start of metadata

What needs to be configured to be able to upload Data Sets via CIFEX

openBIS

Fill out the following fields in the service.properties:

# The URL of the CIFEX server
cifex-url = https://cifex.ethz.ch:443

# Cifex users that will receive and automatically manage uploaded data.
# The user names should be prepended with 'id:' prefix for example: 
# cifex-recipient = id:dropboxuser, id:backpuser
cifex-recipient = id:cifexdatamanager

CIFEX

Create a user with the name you used in the service.properties file of openBIS (cifex-recipient).

Create these two files in the corresponding cifex installation:

cat cifex/jetty/etc/triggers.txt
cifexdatamanager        ch.systemsx.cisd.cifex.plugins.dss.DataStoreTrigger     dssTrigger.properties

cat cifex/jetty/dssTrigger.properties 
dss-incoming-directory = /net/bs-dsu-data/array0/dsu/dss/cifex_dss_upload

You also need to create the user cifexdatamanager (or what name you have chosen) in Cifex.

Data Store Server

Add the cifex thread to the input properties and specify the local folder in the service.properties:

inputs=main-thread, batch-upload-thread, cifex

# ---------------------------------------------------------------------------
# 'cifex' thread configuration
# ---------------------------------------------------------------------------
cifex.incoming-dir = <Local Path on server>
cifex.incoming-data-completeness-condition = auto-detection
cifex.delete-unidentified = true
cifex.data-set-info-extractor = ch.systemsx.cisd.etlserver.cifex.CifexDataSetInfoExtractor
cifex.type-extractor = ch.systemsx.cisd.etlserver.cifex.CifexTypeExtractor
cifex.storage-processor = ch.systemsx.cisd.etlserver.CifexStorageProcessor
cifex.storage-processor.processor = ch.systemsx.cisd.etlserver.DefaultStorageProcessor
cifex.storage-processor.keep-file-regex = .*(?<!request\.properties)$
# Will automatically unzip all files with extension .zip
#cifex.storage-processor.processor.unzip = true
  • No labels