# Properties file defining options for the MetaCatServlet.java servlet
#
# Matt Jones, Dan Higgins, Jivka Bojilova
# '$Id: metacat.properties 5017 2009-08-07 17:32:04Z leinfelder $'
#

############### Server Values #################

server.name=localhost
server.httpPort=8080
server.httpSSLPort=8443

############### Application Values ############

## one of the few places where we use ANT tokens
application.metacatVersion=@metacatVersion@
application.metacatReleaseInfo=@metacatReleaseInfo@

application.deployDir=/usr/local/tomcat/webapps/workflowscheduler
## This is autodiscovered and populated by the config utility
application.context=workflowscheduler
application.default-style=default
application.knbSiteURL=http://knb.ecoinformatics.org
application.backupDir=/var/workflowscheduler/.workflowscheduler
application.windowsBackupBaseDir=C:\\Program Files
application.linuxBackupBaseDir=/var
application.datafilepath=/var/workflowscheduler/data
application.inlinedatafilepath=/var/workflowscheduler/inline-data
application.documentfilepath=/var/workflowscheduler/documents
application.expandedArchivePath=/var/workflowscheduler/expanded-archives
application.tempDir=/var/workflowscheduler/temporary
# the location of cgi scripts relative to the metacat context directory
application.cgiDir=/cgi-bin
#used for writing debug info into a anouther out file
application.writeDebugToFile=true
#output file name where debug info will written
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
application.debugOutputFile=/tmp/workflowscheduler.debug
#delimitered text output file name where debug info will be written
application.delimiteredOutputFile=/tmp/workflowscheduler.debug.delimitered

############### Database Values ###############

database.connectionURI=jdbc:postgresql://localhost/workflowscheduler
database.user=workflowscheduler
database.password=workflowscheduler
database.type=postgres
database.driver=org.postgresql.Driver
database.adapter=edu.ucsb.nceas.dbadapter.PostgresqlAdapter
database.scriptsuffix.postgres=postgres.sql
database.scriptsuffix.oracle=oracle.sql
database.scriptsuffix.sqlserver=sqlserver.sql
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
database.upgradeVersion.1.9.1=upgrade-db-to-1.9.1
database.upgradeVersion.1.9.2=upgrade-db-to-1.9.2
database.initialConnections=5
database.incrementConnections=5
database.maximumConnections=200
database.maximumConnectionAge=120000
database.maximumConnectionTime=60000
database.maximumUsageNumber=100
database.connectionCountWarnLimit=15
database.numberOfIndexingThreads=5
database.indexingTimerTaskTime=604800000
database.indexingInitialDelay=3600000
database.maximumIndexDelay=5000
database.runDBConnectionRecycleThread=off
database.cycleTimeOfDBConnection=30000
database.queryignoredparams=enableediting,foo
database.usexmlindex=true
# used for the setting the size of resultset for applications like morpho
database.appResultsetSize=7000
# used for the setting the size of resultset for searches done using browsers
database.webResultsetSize=7000
# the value of xml_returnfield.usage_count should be more than this value
# for records to be entered into xml_queryresult. so if you want results for
# any combination of returnfields to be stored in xml_queryresult only when
# that combination has been requested 50 times, set this value to 50
database.xmlReturnfieldCount=0
# used for the setting the size of queryresult_string in queryresult table.
# the limit is 4000 for oracle
database.queryresultStringLength=500000
#the size of query result cache
database.queryresultCacheSize=500
#turn on or off the query result cache
database.queryCacheOn=true
#the time in milliseconds that an squery can run before metacat logs a warning
database.queryTimeWarnLimit=30000
#the time in milliseconds that an squery can run before metacat logs a warning
database.squeryTimeWarnLimit=30000

######## Authentication and LDAP ##############################################

auth.class=edu.ucsb.nceas.metacat.AuthLdap
# Use AuthStub to test and guarantee authentication
## auth.class=edu.ucsb.nceas.metacat.AuthStub
auth.timeoutMinutes=180
# auth.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
auth.administrators=
auth.url=ldap://ldap.ecoinformatics.org:389/
auth.surl=ldap://ldap.ecoinformatics.org:389/
auth.base=dc=ecoinformatics,dc=org
auth.allowedSubmitters=
auth.deniedSubmitters=
auth.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org:cn=esa-moderators,dc=ecoinformatics,dc=org

# time in milliseconds allowed for ldap server connections
ldap.connectTimeLimit=5000
# time in milliseconds allowed for ldap server searches
ldap.searchTimeLimit=30000
# count of return entries allowed for ldap server searches
ldap.searchCountLimit=30000
ldap.referral=follow
ldap.onlySecureConnection=false
ldap.onlySecureReferalsConnection=false
# LDAP templates 
ldap.templates.stage=initregister
ldap.templates.header=genericHeader.tmpl
ldap.templates.footer=genericFooter.tmpl
ldap.templates.changePass=ldapChangePass.tmpl
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
ldap.templates.resetPass=ldapResetPass.tmpl
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
ldap.templates.register=ldapRegister.tmpl
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
ldap.templates.registerLter=ldapRegisterLter.tmpl
ldap.templates.success=ldapRegisterSuccess.tmpl
ldap.templates.failed=ldapRegisterFailed.tmpl
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
ldap.templates.searchResults=searchResults.tmpl

############### Session Values ###############
session.timeoutMinutes=360

######## XML / EML  #########################################

xml.saxparser=org.apache.xerces.parsers.SAXParser

######## Outgoing email  #########################################

email.mailhost=localhost
email.sender=knb-software@nceas.ucsb.edu
email.admin=KNB Support
email.recipient=knb-software@nceas.ucsb.edu

######## Workflow engine section              #########################################
executionEngine.endPointAddress=http://localhost:8080/axis2/services/KeplerWebService

workflowScheduler.authServiceUrl=http://localhost:8080/metacat/services/AuthenticationService
workflowScheduler.authorizationServiceUrl=http://localhost:8080/metacat/services/AuthorizationService

######## junit test section  ################

test.printdebug=true
test.metacatUrl=http://indus.msi.ucsb.edu/metacat/metacat
test.contextUrl=http://indus.msi.ucsb.edu/metacat
test.metacatDeployDir=/usr/local/tomcat/webapps/metacat
test.mcUser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
test.mcPassword=kepler
test.mcAnotherUser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
test.mcAnotherPassword=test
test.piscoUser=uid=piscotest,o=PISCO,dc=ecoinformatics,dc=org
test.piscoPassword=testPW
test.lterUser=uid=tmonkey,o=LTER,dc=ecoinformatics,dc=org
test.lterPassword=T3$tusr
test.testProperty=testing

######## Developers Section #########################################

# Set dev.runConfiguration to false to keep the system from walking you 
# through the configuration utility every time you reinstall metacat.  
# Instead,  the system will use backed up configuration values.  If you 
# haven't ever configured the app (no backup files) the system will take 
# you through the configuration.
dev.runConfiguration=true