diff --git a/openbis_standard_technologies/dist/etc/service.properties b/openbis_standard_technologies/dist/etc/service.properties index 69afd09d506e2c1fbbdf368d39ca6666efcb230f..3d7995527982875e015d58d3dd6c085975f19dfe 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