From 6d71cd03b44f3ec394a0bcd836c76f495f256c28 Mon Sep 17 00:00:00 2001 From: cramakri <cramakri> Date: Wed, 20 Oct 2010 08:05:42 +0000 Subject: [PATCH] MINOR: Added some additional threads. SVN: 18374 --- datastore_server/etc/service.properties | 61 +++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 3 deletions(-) diff --git a/datastore_server/etc/service.properties b/datastore_server/etc/service.properties index 32dd92390cd..ffe80ed617f 100644 --- a/datastore_server/etc/service.properties +++ b/datastore_server/etc/service.properties @@ -97,7 +97,7 @@ quiet-period = 3 # Comma separated names of reporting plugins. Each plugin should have configuration properties prefixed with its name. # If name has 'default-' prefix it will be used by default in data set Data View. -reporting-plugins = demo-reporter, tsv-viewer, csv-viewer +reporting-plugins = demo-reporter, tsv-viewer, csv-viewer, hcs-viewer, hcs-viewer-tiff, default-hcs-viewer # Label of the plugin which will be shown for the users. demo-reporter.label = Show Dataset Size @@ -108,7 +108,7 @@ demo-reporter.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.demo.D # The property file. Its content will be passed as a parameter to the plugin. demo-reporter.properties-file = -tsv-viewer.label = TSV View +tsv-viewer.label = TSV View tsv-viewer.dataset-types = TSV tsv-viewer.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.standard.TSVViewReportingPlugin tsv-viewer.properties-file = @@ -118,6 +118,27 @@ csv-viewer.dataset-types = CSV csv-viewer.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.standard.TSVViewReportingPlugin csv-viewer.separator = , +hcs-viewer.label = HCS PNG +hcs-viewer.dataset-types = HCS_IMAGE +hcs-viewer.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.standard.GenericDssLinkReportingPlugin +hcs-viewer.download-url = ${download-url} +hcs-viewer.data-set-regex = .*/PNG/.*\.jpg +hcs-viewer.data-set-path = original + +hcs-viewer-tiff.label = HCS TIFF +hcs-viewer-tiff.dataset-types = HCS_IMAGE +hcs-viewer-tiff.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.standard.GenericDssLinkReportingPlugin +hcs-viewer-tiff.download-url = ${download-url} +hcs-viewer-tiff.data-set-regex = .*/TIFF/.*\.jpg +hcs-viewer-tiff.data-set-path = original + +default-hcs-viewer.label = Default HCS View +default-hcs-viewer.dataset-types = HCS_IMAGE +default-hcs-viewer.class = ch.systemsx.cisd.openbis.dss.generic.server.plugins.standard.GenericDssLinkReportingPlugin +default-hcs-viewer.download-url = ${download-url} +default-hcs-viewer.data-set-regex = .*\.jpg + + # Comma separated names of processing plugins. Each plugin should have configuration properties prefixed with its name. processing-plugins = demo-processor @@ -152,7 +173,7 @@ validator.site.value-range = [0,Infinity) # Comma separated names of processing threads. Each thread should have configuration properties prefixed with its name. # E.g. 'code-extractor' property for the thread 'my-etl' should be specified as 'my-etl.code-extractor' -inputs=main-thread, tsv-thread, csv-thread +inputs=main-thread, tsv-thread, csv-thread, simple-thread, hdf5-thread # --------------------------------------------------------------------------- # Dataset uploader 'main-thread' configuration @@ -238,6 +259,40 @@ csv-thread.type-extractor.file-format-type = CSV csv-thread.type-extractor.locator-type = RELATIVE_LOCATION csv-thread.type-extractor.data-set-type = CSV +# The directory to watch for incoming data. +simple-thread.incoming-dir = targets/incoming-simple +simple-thread.incoming-data-completeness-condition = auto-detection +simple-thread.strip-file-extension = true +simple-thread.storage-processor = ch.systemsx.cisd.etlserver.DefaultStorageProcessor +# The extractor plugin class to use for code extraction +simple-thread.data-set-info-extractor = ch.systemsx.cisd.etlserver.DefaultDataSetInfoExtractor +# Separator used to extract the barcode in the data set file name +simple-thread.data-set-info-extractor.entity-separator = ${data-set-file-name-entity-separator} +simple-thread.data-set-info-extractor.strip-file-extension = true +simple-thread.data-set-info-extractor.space-code = CISD + +simple-thread.type-extractor = ch.systemsx.cisd.etlserver.SimpleTypeExtractor +simple-thread.type-extractor.file-format-type = TIFF +simple-thread.type-extractor.locator-type = RELATIVE_LOCATION +simple-thread.type-extractor.data-set-type = HCS_IMAGE + +# The directory to watch for incoming data. +hdf5-thread.incoming-dir = targets/incoming-hdf5 +hdf5-thread.incoming-data-completeness-condition = auto-detection +hdf5-thread.strip-file-extension = true +hdf5-thread.storage-processor = ch.systemsx.cisd.etlserver.hdf5.Hdf5StorageProcessor +# The extractor plugin class to use for code extraction +hdf5-thread.data-set-info-extractor = ch.systemsx.cisd.etlserver.DefaultDataSetInfoExtractor +# Separator used to extract the barcode in the data set file name +hdf5-thread.data-set-info-extractor.entity-separator = ${data-set-file-name-entity-separator} +hdf5-thread.data-set-info-extractor.strip-file-extension = true +hdf5-thread.data-set-info-extractor.space-code = SPACE + +hdf5-thread.type-extractor = ch.systemsx.cisd.etlserver.SimpleTypeExtractor +hdf5-thread.type-extractor.file-format-type = HDF5 +hdf5-thread.type-extractor.locator-type = RELATIVE_LOCATION +hdf5-thread.type-extractor.data-set-type = HCS_IMAGE + # --------------------------------------------------------------------------- # (optional) archiver configuration # --------------------------------------------------------------------------- -- GitLab