Skip to content
Snippets Groups Projects
service.properties 7.03 KiB
Newer Older
  • Learn to ignore specific revisions
  • # Unique code of this Data Store Server. Not more than 40 characters.
    data-store-server-code = DSS1
    
    # host name of the machine on which the datastore server is running
    
    host-address = https://$HOSTNAME
    
    
    # parent directory of the store directory and all the dropboxes
    
    root-dir = $DSS_ROOT_DIR
    
    
    # The root directory of the data store
    storeroot-dir = ${root-dir}/store
    
    
    # Cache for data set files from other Data Store Servers
    cache-workspace-folder = ../../data/dss-cache
    
    
    # The directory where the command queue file is located; defaults to storeroot-dir 
    commandqueue-dir =
    
    # Port
    port = 8444
    use-ssl = true
    
    # Session timeout in minutes
    session-timeout = 720
    
    # Path to the keystore
    keystore.path = etc/openBIS.keystore
    # Password of the keystore
    keystore.password = changeit
    # Key password of the keystore
    keystore.key-password = changeit
    
    # The check interval (in seconds)
    
    check-interval = 5
    
    # The time-out for clean up work in the shutdown sequence (in seconds).
    # Note that that the maximal time for the shutdown sequence to complete can be as large 
    # as twice this time.
    # Remark: On a network file system, it is not recommended to turn this value to something 
    # lower than 180.
    shutdown-timeout = 180
    
    
    # The minimum time (in seconds) of availability of the data stream since moment when user requested
    # for the data stream url. If not specified default value (20 seconds) will be used.
    # minimum-time-to-keep-streams-in-sec = 20
    
    
    # If free disk space goes below value defined here, a notification email will be sent.
    # Value must be specified in kilobytes (1048576 = 1024 * 1024 = 1GB). If no high water mark is
    
    # specified or if value is negative, the system will not be watching. There are 2 different kinds
    # of highwater mark supported: the one that is checking the space on the store, and one that is
    # checking the amount of free space for recovery state (on the local filesystem). 
    
    recovery-highwater-mark = -1
    
    
    # If a data set is successfully registered it sends out an email to the registrator. 
    # If this property is not specified, no email is sent to the registrator. This property
    # does not affect the mails which are sent, when the data set could not be registered.
    notify-successful-registration = false
    
    # The URL of the openBIS server
    server-url = ${host-address}:8443
    
    # The username to use when contacting the openBIS server
    username = etlserver
    
    # The password for the etlserver user who contacts the openBIS server
    password = etlserver_password
    
    # The base URL for Web client access to the data store server.
    download-url = ${host-address}:${port}
    
    # SMTP properties (must start with 'mail' to be considered).
    # The current configuration saves the emails in the file system in the root directory 
    mail.smtp.host = file://${root-dir}
    # mail.smtp.host = localhost
    # mail.from = openbis-dss@localhost
    # mail.smtp.user = 
    # mail.smtp.password = 
    
    
    # Data sources
    data-sources = path-info-db 
    
    # Data source for pathinfo database
    path-info-db.version-holder-class = ch.systemsx.cisd.openbis.dss.generic.shared.PathInfoDatabaseVersionHolder
    path-info-db.databaseEngineCode = postgresql
    path-info-db.basicDatabaseName = pathinfo
    
    # The host and optionally port. Default is 'localhost'.
    # path-info-db.urlHostPart =
    path-info-db.databaseKind = prod
    
    path-info-db.scriptFolder = datastore_server/sql
    
    # ---------------------------------------------------------------------------
    # maintenance plugins configuration
    # ---------------------------------------------------------------------------
    
    # Comma separated names of maintenance plugins. Each plugin should have configuration properties prefixed with its name.
    maintenance-plugins = post-registration, path-info-deletion
    
    # Maintenance task for post registration of all paths of a freshly registered data set to be fed into pathinfo database  
    post-registration.class = ch.systemsx.cisd.etlserver.postregistration.PostRegistrationMaintenanceTask
    post-registration.interval = 30
    post-registration.cleanup-tasks-folder = ${root-dir}/post-registration/cleanup-tasks
    post-registration.last-seen-data-set-file = ${root-dir}/post-registration/last-seen-data-set.txt
    post-registration.post-registration-tasks = pathinfo-feeding
    post-registration.pathinfo-feeding.class = ch.systemsx.cisd.etlserver.path.PathInfoDatabaseFeedingTask
    post-registration.pathinfo-feeding.compute-checksum = true
    
    # Maintenance task for deleting entries from pathinfo database after deletion of a data set
    path-info-deletion.class = ch.systemsx.cisd.etlserver.plugins.DeleteFromExternalDBMaintenanceTask
    path-info-deletion.interval = 120
    path-info-deletion.data-source = path-info-db
    path-info-deletion.data-set-table-name = data_sets
    path-info-deletion.data-set-perm-id = CODE
    
    # ---------------------------------------------------------------------------
    # processing plugins configuration
    # ---------------------------------------------------------------------------
    
    # Comma separated names of processing plugins. Each plugin should have configuration properties prefixed with its name.
    processing-plugins = path-info-db-consistency-check
    
    # Processing task that checks the consistency between the data store and the meta information stored in the PathInfoDB.
    # It sends out an email which contains all differences found. 
    path-info-db-consistency-check.label = Path Info DB consistency check
    path-info-db-consistency-check.dataset-types = .*
    path-info-db-consistency-check.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.standard.DataSetAndPathInfoDBConsistencyCheckProcessingPlugin
    
    # ---------------------------------------------------------------------------
    # plugin services configuration
    # ---------------------------------------------------------------------------
    
    # Comma separated names of plugin services. These are servlets that extend the functionality of the DSS
    plugin-services = graph-service
    
    graph-service.class = ch.systemsx.cisd.openbis.dss.generic.server.DynamicFileTabularDataGraphServlet
    graph-service.path = /graphservice/*
    
    
    # ---------------------------------------------------------------------------
    
    # Archiver configuration (optional)
    
    # ---------------------------------------------------------------------------
    
    # Configuration of an archiver task. All properties are prefixed with 'archiver.'.
    
    # Archiver class specification (together with the list of packages this class belongs to).
    #archiver.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.demo.DemoArchiver
    
    
    # ---------------------------------------------------------------------------
    # Imaging database for screening (optional, only used if screening technology switched on)
    # ---------------------------------------------------------------------------
    # Format: <host>[:<port>]. Default: localhost
    # imaging-database.url-host-part =
    # Default: prod.
    # imaging-database.kind = prod
    
    
    
    # ---------------------------------------------------------------------------
    #                      INTERNAL CONFIGURATION, 
    # Do not change this part unless you are developing openBIS extensions.
    # ---------------------------------------------------------------------------