source: TI01-Discovery-service-BUILDOUTS/trunk/ndg-DiscoveryIngestion-service-MEDIN-development/oai_document_ingester.config @ 6665

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI01-Discovery-service-BUILDOUTS/trunk/ndg-DiscoveryIngestion-service-MEDIN-development/oai_document_ingester.config@6665
Revision 6665, 2.3 KB checked in by sdonegan, 10 years ago (diff)

Config files and scripts used to run successful MEDIN ingest

Line 
1#Configuration File to control ingestion
2#simple config file to be read by oai_document_ingester or feeddocumentingester.py
3
4#NOTE convention is to finish paths with a trailing slash.
5
6#directory in which the code resides
7code_directory /disks/glue1/sdonegan/NDG3_workspace/buildouts/oai_document_ingester_MEDIN/ingestAutomation-upgrade/OAIBatch/
8
9#base directory in which metadata is extracted to and converted to
10base_directory /disks/glue1/sdonegan/NDG3_workspace/buildouts/oai_document_ingester_MEDIN/ingestAutomation-upgrade/OAIBatch/
11
12#directory in which to write reports to
13reporting_directory /disks/glue1/sdonegan/NDG3_workspace/temp/data
14
15#path to the passwords file
16passwords_file /disks/glue1/sdonegan/NDG3_workspace/buildouts/oai_document_ingester_MEDIN/ingestAutomation-upgrade/OAIBatch/passwords.txt
17
18#datacentre config file directory path
19datcentre_configs /disks/glue1/sdonegan/NDG3_workspace/buildouts/oai_document_ingester_MEDIN/ingestAutomation-upgrade/OAIBatch
20
21#NDG redirect base url
22NDG_redirect_URL http://ndgDev.badc.rl.ac.uk/NDGredirection/ndgURLredirect/redirect?url=
23
24#database configuration file
25ingestConfig /disks/glue1/sdonegan/NDG3_workspace/buildouts/oai_document_ingester_MEDIN/ingestAutomation-upgrade/OAIBatch/ingest.config
26
27#accepted formats for ingestion - comma delimited list - should match formats in API list
28acceptedFormats DIF_9.4,MEDIN_2.3
29
30#define the current "standard" MEDIN version
31currentMEDIN MEDIN_2.3
32
33#location of SAXOn JAR files for performing xqueries via python & os lib
34saxonJarFile /disks/glue1/sdonegan/NDG3_workspace/buildouts/oai_document_ingester_MEDIN/ingestAutomation-upgrade/OAIBatch/lib/saxon9.jar
35
36#link input format to relevant python xpath class (note colon seperator!)
37xpathIsoClass DIF_9.4:difConvertedto_ISO19139
38xpathIsoClass MEDIN_2.3:medin_2_3_ISO19139
39
40#link nonISO input format to stubISO generator xquery (held in ndgCommon but not accessed through ndgresources.py)
41#(Note colon separator official format:xquery name sans xq)
42xqueryStubIsoGen DIF_9.4:dif2stubISO
43
44#list of xquery conversions to generate from ISO (except where original format matches requested conversion)
45xqueryConversions ISO2DIF,ISO2DC
46
47#map iso conversions to input format to be excepted
48exceptXqConv DIF_9.4:ISO2DIF
49
50#map xquery conversions to nominal document types
51xqDocTypes ISO2DIF:DIF_9.4
52xqDocTypes ISO2DC:DC
Note: See TracBrowser for help on using the repository browser.