#
# Property configuration file for Luna Insight OAI Harvester
#

#
# path on the file system where cached static repositories are stored
#
# example
# soai.registry.path=C:\\staticoai
#

soai.registry.path=C:\\staticoai


#
# number of records to return
#
# example
# fetch.pagesize=100
#
fetch.pagesize=100

#
# Harvester URL
#
# example
# soai.identify.gateway.url=http://www.example.com:8081/harvester/
#
soai.identify.gateway.url=http://www.example.com:8381/harvester/


#
# the following settings are used to format the static OAI Identify response
#
soai.identify.repository_name=Luna
soai.identify.admin_email=support@example.com
soai.identify.sample_identifier=oai:inst-xxxx/coll-nn/name-xxx/id-nnnnn
soai.identify.repository_id=luna01

#
# if true, will build memory cache of parsed 
#
soai.registry.precache=true


#
# if the other registered static repositories should be included as 'friends' in 
# Identify response, set this value to true  
#
soai.identify.friend_list=false


parser_classname=org.apache.xerces.parsers.SAXParser
debug.level=3

#
# the following settings are for controlling throttling and memory usage. For most implementations,
# the default values provided here should suffice.
#
# The valid values for 'strategy' is any of the following values:
#
#   grow - if the pool is empty when a request is made, silenty expand it
#   warn - same as grow, but issue a warning to the log
#   wait - don't grow the pool, but wait until a released view becomes available in the pool.
#          if the wait exceeds the value specified in the 'timeout' property, the request will fail
#   fail - hard failure that will cause the harvesting request to fail according to the OAI-PMH protocol 
#
# The 'timeout' represents the maximum number of milliseconds that a request will wait for a view renderer
# to be returned from the pool.  If a value <= 0 is specified, then this is interpreted as infinity 
view.pool.minsize=5
view.pool.maxsize=10
view.pool.strategy=grow
view.pool.timeout=1000

#
# cycle time in miilis for background thread that recycles expired resumption tokens
#
rt.cycle.time=60000