Aller au contenu principal
Version: 6.6

Properties

General settings for docuteam actions are made in the file config/actions.properties.

Workbench

docuteam actions performs its work within the so-called "workbench". The workbench is a directory with specific folders that serve a specific purpose for docuteam actions.

A workbench has the following typical structure:

Workbench
|--0_preparation
|--1_inbox
|--1_hotfolder
|--2_work
|--3_storage
|--4_output
|--5_backup
|--6_access

Example of a workbench configuration in the file actions.properties:

actions.workbench.root=E:/Workbench
actions.workbench.preparation=E:/Workbench/0_preparation
actions.workbench.inbox=E:/Workbench/1_inbox
actions.workbench.hotfolder=E:/Workbench/1_hotfolder
actions.workbench.work=E:/Workbench/2_work
actions.workbench.storage=E:/Workbench/3_storage
actions.workbench.output=E:/Workbench/4_output
actions.workbench.backup=E:/Workbench/5_backup
actions.workbench.access=E:/Workbench/6_access

The folder names used here are conventions. The folders can be given any name.

Fedora

Further settings concern the connection to the Fedora repository. The purpose of the setting is indicated by the property name. An example:

fedora.protocol=https
fedora.host=example.domain.com
fedora.port=8443
fedora.context=fedora
fedora.user=fedoraAdmin
fedora.password=blablaPassword123
# The default timeout for the socket connection in seconds is 7200 (i.e. 2 hours);
fedora.timeout=7200
# Directory where to put the binary content of datastreams so Fedora can fetch it through http(s) when the object is being ingested.
fedora.upload.dir=E:/fedora_upload
# URL where the Fedora repository can fetch the datastream contents.
fedora.upload.url=https://example.domain.com/upload/

rservices

docuteam rservices also requires connection details:

rservices.protocol=https
rservices.host=example.domain.com
rservices.port=8443
rservices.rest.dip.fromoriginal=rservices/rservices/dip/fromoriginal

Email

In case docuteam actions shpould be able to send emails (see step Util: send email), the following settings are necessary:

mail.transport.protocol=smtp
mail.smtp.host=smtp.example-server.com
mail.smtp.port=123
mail.smtp.auth=true
mail.smtp.user=user@domain.com
mail.smtp.pwd=blablaPassword123
mail.sender.address=showthisname@example.com
mail.smtp.quitwait=false
mail.smtp.socketFactory.port=123
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.socketFactory.fallback=false