From ae2f4deb8b9fb1831b9ccca51b44f743f09b9923 Mon Sep 17 00:00:00 2001
From: pkupczyk <pkupczyk>
Date: Fri, 14 Sep 2012 12:05:36 +0000
Subject: [PATCH] BIS-182 - Turn on the
 DataSetAndPathInfoDBConsistencyCheckProcessingPlugin - enable in standard
 technologies by default: consistency plugin, pathinfo db and pathinfo db
 feeding and deletion tasks

SVN: 26633
---
 .../dist/etc/service.properties               | 45 +++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/openbis_standard_technologies/dist/etc/service.properties b/openbis_standard_technologies/dist/etc/service.properties
index 69afd09d506..3d799552798 100644
--- a/openbis_standard_technologies/dist/etc/service.properties
+++ b/openbis_standard_technologies/dist/etc/service.properties
@@ -75,6 +75,51 @@ mail.smtp.host = file://${root-dir}
 # Comma-separated list of technologies which are enabled. By default all technologies are disabled.
 enabled-technologies = $ENABLED_TECHNOLOGIES
 
+# 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
+path-info-db.databaseKind = standard_technologies
+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
 
 # ---------------------------------------------------------------------------
 # (optional) archiver configuration
-- 
GitLab