From 8339ebad912f66e709b2fb4a87b98b44d9b2d021 Mon Sep 17 00:00:00 2001
From: buczekp <buczekp>
Date: Tue, 23 Mar 2010 12:24:02 +0000
Subject: [PATCH] [LMS-1453] extended service properties with archiver

SVN: 15232
---
 datastore_server/etc/service.properties | 36 +++++++++++++++++++++++--
 1 file changed, 34 insertions(+), 2 deletions(-)

diff --git a/datastore_server/etc/service.properties b/datastore_server/etc/service.properties
index b3641623dcb..93e57bbadc6 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
-- 
GitLab