diff --git a/datastore_server/etc/service.properties b/datastore_server/etc/service.properties index b3641623dcb77977d4ff4ec19d0482be55a70791..93e57bbadc614ed97c0e7092d4526835965ba484 100644 --- a/datastore_server/etc/service.properties +++ b/datastore_server/etc/service.properties @@ -69,8 +69,8 @@ download-url = http://localhost:8889 # SMTP properties (must start with 'mail' to be considered). # mail.smtp.host = localhost # mail.from = datastore_server@localhost -# mail.smtp.user = -# mail.smtp.password = +#mail.smtp.user = +#mail.smtp.password = # Maximum number of retries if renaming failed. # renaming.failure.max-retries = 12 @@ -232,3 +232,35 @@ csv-thread.type-extractor = ch.systemsx.cisd.etlserver.SimpleTypeExtractor csv-thread.type-extractor.file-format-type = CSV csv-thread.type-extractor.locator-type = RELATIVE_LOCATION csv-thread.type-extractor.data-set-type = CSV + +# --------------------------------------------------------------------------- +# (optional) archiver configuration +# --------------------------------------------------------------------------- + +# 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 + +# --------------------------------------------------------------------------- +# maintenance plugins configuration +# --------------------------------------------------------------------------- + +# Comma separated names of maintenance plugins. +# Each plugin should have configuration properties prefixed with its name. +# Mandatory properties for each <plugin> include: +# <plugin>.class - Fully qualified plugin class name +# <plugin>.interval - The time between plugin executions (in seconds) +maintenance-plugins = auto-archiver + +# Performs automatic archivization of 'ACTIVE' data sets based on their properties +auto-archiver.class = ch.systemsx.cisd.etlserver.plugins.AutoArchiverTask +# The time between subsequent archivizations (in seconds) +# auto-archiver.interval = 86400 +# following properties are optional +# only data sets of specified type will be archived +#auto-archiver.data-set-type = UNKNOWN +# only data sets that are older than specified number of days will be archived (default = 0) +#auto-archiver.older-than = 90 +# fully qualified class name of a policy that additionally filters data sets to be filtered +#auto-archiver.policy.class = ch.systemsx.cisd.etlserver.plugins.DummyAutoArchiverPolicy \ No newline at end of file