Changeset 1619 for TI01-discovery


Ignore:
Timestamp:
23/10/06 17:37:17 (13 years ago)
Author:
selatham
Message:

Allow no specification of groups/keywords in config file

Location:
TI01-discovery/trunk/ingestAutomation/OAIBatch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ingestAutomation/OAIBatch/oai_ingest.py

    r1593 r1619  
    2323# 16/10/06 SEL exist db upgraded and deployed at different location, java upgrade. 
    2424# 17/10/06 SEL cope with different discovery formats - not just DIF. 
     25# 23/10/06 SEL keywords not mandatory in config file. 
    2526 
    2627import os 
     
    7071    sys.exit("Failed at getting harvested records directory stage. datacentre config file tried = %s" %datacentre_config_filename) 
    7172if datacentre_groups == "": 
    72     sys.exit("Failed at stage: getting datacentre groups. datacentre config file tried = %s" %datacentre_config_filename) 
     73     print "INFO: No groups/keywords set for datacentre %s" %datacentre 
    7374if datacentre_format == "": 
    7475    sys.exit("Failed at stage: getting datacentre format. datacentre config file tried = %s" %datacentre_config_filename) 
  • TI01-discovery/trunk/ingestAutomation/OAIBatch/pml_config.properties

    r1593 r1619  
    55# 
    66#Define host_path as the full directory name where this data centre's records will be harvested into. 
    7 host_path         usr/local/jakarta-tomcat/webapps/oai/WEB-INF/harvested_records/www-npm-ac-uk-8080-dif 
     7host_path         /usr/local/jakarta-tomcat/webapps/oai/WEB-INF/harvested_records/www-npm-ac-uk-8080-dif 
    88# 
    99#Define groups - portal groups for limiting searches by 'group of datacentres'. 
    10 groups NERC 
    1110# 
    1211#Define which format is harvested from the data centre (one only) 
Note: See TracChangeset for help on using the changeset viewer.