Project

General

Profile

metacat / lib / metacat.properties @ 4213

1
# Properties file defining options for the MetaCatServlet.java servlet
2
#
3
# Matt Jones, Dan Higgins, Jivka Bojilova
4
# '$Id: metacat.properties 4213 2008-08-06 00:50:14Z daigle $'
5
#
6

    
7
######## Configuration utility section  ################
8

    
9
configutil.propertiesConfigured=false
10
## configutil.organizationsConfigured=false
11
configutil.ldapConfigured=false
12
configutil.skinsConfigured=false
13
configutil.databaseConfigured=false
14
configutil.geoserverConfigured=false
15

    
16
############### Server Values #################
17

    
18
server.name=localhost
19
server.httpPort=80
20
server.httpSSLPort=443
21

    
22
############### Application Values ############
23

    
24
## one of the few places where we use ANT tokens
25
application.metacatVersion=@metacatVersion@
26
## This is autodiscovered and populated by the config utility
27

    
28
application.deployDir=
29
## This is autodiscovered and populated by the config utility
30
application.context=
31
application.default-style=default
32
application.knbSiteURL=http://knb.ecoinformatics.org
33
application.datafilepath=/var/metacat/data
34
application.inlinedatafilepath=/var/metacat/inline-data
35
application.cgiDir=/cgi-bin
36
#used for writing debug info into a anouther out file
37
application.writeDebugToFile=true
38
#output file name where debug info will written
39
# TODO SCW: these should be using the temp-dir property for their paths (change in code)
40
application.debugOutputFile=/tmp/metacat.debug
41
#delimitered text output file name where debug info will be written
42
application.delimiteredOutputFile=/tmp/metacat.debug.delimitered
43

    
44
############### Database Values ###############
45

    
46
database.connectionURI=jdbc:postgresql://localhost/metacat
47
database.user=
48
database.password=
49
database.type=
50
database.driver=  
51
database.adapter=
52
database.scriptsuffix.postgres=postgres.sql
53
database.scriptsuffix.oracle=oracle.sql
54
database.scriptsuffix.sqlserver=sqlserver.sql
55
database.upgradeVersion.0.0.0=xmltables,loaddtdschema
56
database.upgradeVersion.1.2.0=upgrade-db-to-1.2
57
database.upgradeVersion.1.3.0=upgrade-db-to-1.3
58
database.upgradeVersion.1.4.0=upgrade-db-to-1.4
59
database.upgradeVersion.1.5.0=upgrade-db-to-1.5
60
database.upgradeVersion.1.6.0=upgrade-db-to-1.6
61
database.upgradeVersion.1.7.0=upgrade-db-to-1.7
62
database.upgradeVersion.1.8.0=upgrade-db-to-1.8
63
database.upgradeVersion.1.9.0=upgrade-db-to-1.9
64
database.initialConnections=5
65
database.incrementConnections=5
66
database.maximumConnections=25
67
database.maximumConnectionAge=120000
68
database.maximumConnectionTime=60000
69
database.maximumUsageNumber=100
70
database.numberOfIndexingThreads=5
71
database.indexingTimerTaskTime=604800000
72
database.indexingInitialDelay=3600000
73
database.maximumIndexDelay=5000
74
database.runDBConnectionRecycleThread=off
75
database.cycleTimeOfDBConnection=30000
76
database.queryignoredparams=enableediting,foo
77
database.usexmlindex=true
78
# used for the setting the size of resultset for applications like morpho
79
database.appResultsetSize=7000
80
# used for the setting the size of resultset for searches done using browsers
81
database.webResultsetSize=7000
82
# the value of xml_returnfield.usage_count should be more than this value
83
# for records to be entered into xml_queryresult. so if you want results for
84
# any combination of returnfields to be stored in xml_queryresult only when
85
# that combination has been requested 50 times, set this value to 50
86
database.xmlReturnfieldCount=0
87
# used for the setting the size of queryresult_string in queryresult table.
88
# the limit is 4000 for oracle
89
database.queryresultStringLength=500000
90
#the size of query result cache
91
database.queryresultCacheSize=500
92
#turn on or off the query result cache
93
database.queryCacheOn=true
94

    
95
######## LDAP ##############################################
96

    
97
auth.class=edu.ucsb.nceas.metacat.AuthLdap
98
auth.timeoutMinutes=180
99

    
100
# ldap.administrators=uid=jones,o=NCEAS,dc=ecoinformatics,dc=org
101
ldap.administrators=
102
ldap.url=ldap://ldap.ecoinformatics.org:389/
103
ldap.surl=ldap://ldap.ecoinformatics.org:389/
104
ldap.allowedSubmitters=
105
ldap.deniedSubmitters=
106
# time in milliseconds allowed for ldap server connections
107
ldap.connectTimeLimit=5000
108
# time in milliseconds allowed for ldap server searches
109
ldap.searchTimeLimit=30000
110
# count of return entries allowed for ldap server searches
111
ldap.searchCountLimit=30000
112
ldap.referral=follow
113
ldap.onlySecureConnection=false
114
ldap.onlySecureReferalsConnection=false
115
# TODO MCD move this to skins
116
ldap.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
117
# LDAP templates 
118
ldap.templates.stage=initregister
119
ldap.templates.header=genericHeader.tmpl
120
ldap.templates.footer=genericFooter.tmpl
121
ldap.templates.changePass=ldapChangePass.tmpl
122
ldap.templates.changePassSuccess=ldapChangePassSuccess.tmpl
123
ldap.templates.resetPass=ldapResetPass.tmpl
124
ldap.templates.resetPassSuccess=ldapResetPassSuccess.tmpl
125
ldap.templates.register=ldapRegister.tmpl
126
ldap.templates.registerFailed=ldapRegisterFailed.tmpl
127
ldap.templates.registerMatch=ldapRegisterMatch.tmpl
128
ldap.templates.registerSuccess=ldapRegisterSuccess.tmpl
129
ldap.templates.registerLter=ldapRegisterLter.tmpl
130
ldap.templates.success=ldapRegisterSuccess.tmpl
131
ldap.templates.failed=ldapRegisterFailed.tmpl
132
ldap.templates.mainServerFailure=ldapMainServerFailure.tmpl
133
ldap.templates.searchResults=searchResults.tmpl
134

    
135
############### Organization Values ###############
136

    
137
#ldap.NCEAS.dn=o=NCEAS,dc=ecoinformatics,dc=org
138
organization.configured.NCEAS=false
139
organization.name.NCEAS=National Center for Ecological Analysis and Synthesis
140
organization.base.NCEAS=dc=ecoinformatics,dc=org
141
organization.org.NCEAS=o=NCEAS
142
organization.user.NCEAS=cn=Manager
143
organization.password.NCEAS=
144
#ldap.OBFS.dn=o=OBFS,dc=ecoinformatics,dc=org
145
organization.configured.OBFS=false
146
organization.name.OBFS=Organization of Biological Field Stations
147
organization.base.OBFS=dc=ecoinformatics,dc=org
148
organization.org.OBFS=o=OBFS
149
organization.user.OBFS=cn=Manager
150
organization.password.OBFS=
151
#ldap.OSUSB.dn=o=OSUSB,dc=ecoinformatics,dc=org
152
organization.configured.OSUSB=false
153
organization.name.OSUSB=
154
organization.base.OSUSB=dc=ecoinformatics,dc=org
155
organization.org.OSUSB=o=OSUSB
156
organization.user.OSUSB=cn=Manager
157
organization.password.OSUSB=
158
#ldap.UCNRS.dn=ou=people,O=ucnrs.org
159
organization.configured.UCNRS=false
160
organization.name.UCNRS=
161
organization.base.UCNRS=ou=people,O=ucnrs.org
162
organization.org.UCNRS=
163
organization.user.UCNRS=cn=Manager
164
organization.password.UCNRS=
165
#ldap.KU.dn=o=KU,dc=ecoinformatics,dc=org
166
organization.configured.KU=false
167
organization.name.KU=
168
organization.base.KU=dc=ecoinformatics,dc=org
169
organization.org.KU=o=KU
170
organization.user.KU=cn=Manager
171
organization.password.KU=
172
#ldap.LTER.dn=o=LTER,dc=ecoinformatics,dc=org
173
organization.configured.LTER=false
174
organization.name.LTER=
175
organization.base.LTER=dc=ecoinformatics,dc=org
176
organization.org.LTER=o=LTER
177
organization.user.LTER=cn=Manager
178
organization.password.LTER=
179
#ldap.UVM.dn=o=UVM,dc=ecoinformatics,dc=org
180
organization.configured.UVM=false
181
organization.name.UVM=
182
organization.base.UVM=dc=ecoinformatics,dc=org
183
organization.org.UVM=o=UVM
184
organization.user.UVM=cn=Manager
185
organization.password.UVM=
186
#ldap.SDSC.dn=o=SDSC,dc=ecoinformatics,dc=org
187
organization.configured.SDSC=false
188
organization.name.SDSC=
189
organization.base.SDSC=dc=ecoinformatics,dc=org
190
organization.org.SDSC=o=SDSC
191
organization.user.SDSC=cn=Manager
192
organization.password.SDSC=
193
#ldap.MSU.dn=o=MSU,dc=ecoinformatics,dc=org
194
organization.configured.MSU=false
195
organization.name.MSU=
196
organization.base.MSU=dc=ecoinformatics,dc=org
197
organization.org.MSU=
198
organization.user.MSU=cn=Manager,dc=ecoinformatics,dc=org
199
organization.password.MSU=
200
#ldap.NAPIER.dn=o=NAPIER,dc=ecoinformatics,dc=org
201
organization.configured.NAPIER=false
202
organization.name.NAPIER=
203
organization.base.NAPIER=dc=ecoinformatics,dc=org
204
organization.org.NAPIER=o=NAPIER
205
organization.user.NAPIER=cn=Manager
206
organization.password.NAPIER=
207
#ldap.SANPARKS.dn=o=SANParks,dc=ecoinformatics,dc=org
208
organization.configured.SANPARKS=false
209
organization.name.SANPARKS=Kruger National Park
210
organization.base.SANPARKS=dc=ecoinformatics,dc=org
211
organization.org.SANPARKS=
212
organization.user.SANPARKS=cn=Manager
213
organization.password.SANPARKS=
214
#ldap.SAEON.dn=o=SAEON,dc=ecoinformatics,dc=org
215
organization.configured.SAEON=false
216
organization.name.SAEON=South African Environmental Observation Network Repository
217
organization.base.SAEON=dc=ecoinformatics,dc=org
218
organization.org.SAEON=
219
organization.user.SAEON=cn=Manager
220
organization.password.SAEON=
221
#ldap.UNAFFILIATED.dn=o=unaffiliated,dc=ecoinformatics,dc=org
222
organization.configured.UNAFFILIATED=false
223
organization.name.UNAFFILIATED=
224
organization.base.UNAFFILIATED=dc=ecoinformatics,dc=org
225
organization.org.UNAFFILIATED=o=unaffiliated
226
organization.user.UNAFFILIATED=cn=Manager
227
organization.password.UNAFFILIATED=
228

    
229
######## XML / EML  #########################################
230

    
231
xml.saxparser=org.apache.xerces.parsers.SAXParser
232
xml.eml2_0_0namespace=eml://ecoinformatics.org/eml-2.0.0
233
xml.eml2_0_1namespace=eml://ecoinformatics.org/eml-2.0.1
234
xml.eml2_1_0namespace=eml://ecoinformatics.org/eml-2.1.0
235
xml.packagedoctype=-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN, -//ecoinformatics.org//eml-dataset-2.0.0beta4//EN
236
xml.accessdoctype=-//ecoinformatics.org//eml-access-2.0.0beta6//EN, -//ecoinformatics.org//eml-access-2.0.0beta4//EN
237
xml.physicaldoctype=-//ecoinformatics.org//eml-physical-2.0.0beta6//EN, -//ecoinformatics.org//eml-physical-2.0.0beta4//EN
238
xml.entitydoctype=-//ecoinformatics.org//eml-entity-2.0.0beta6//EN, -//ecoinformatics.org//eml-entity-2.0.0beta4//EN
239
xml.packagedoctypeset=BIN,-//ecoinformatics.org//eml-access-2.0.0beta6//EN,-//ecoinformatics.org//eml-access-2.0.0beta4//EN,-//ecoinformatics.org//eml-attribute-2.0.0beta6//EN,-//ecoinformatics.org//eml-attribute-2.0.0beta4//EN,-//ecoinformatics.org//eml-constraint-2.0.0beta6//EN,-//ecoinformatics.org//eml-constraint-2.0.0beta4//EN,-//ecoinformatics.org//eml-coverage-2.0.0beta6//EN,-//ecoinformatics.org//eml-coverage-2.0.0beta4//EN,-//ecoinformatics.org//eml-dataset-2.0.0beta6//EN,-//ecoinformatics.org//eml-dataset-2.0.0beta4//EN,-//ecoinformatics.org//eml-entity-2.0.0beta6//EN,-//ecoinformatics.org//eml-entity-2.0.0beta4//EN,-//ecoinformatics.org//eml-literature-2.0.0beta6//EN,-//ecoinformatics.org//eml-literature-2.0.0beta4//EN,-//ecoinformatics.org//eml-physical-2.0.0beta6//EN,-//ecoinformatics.org//eml-physical-2.0.0beta4//EN,-//ecoinformatics.org//eml-project-2.0.0beta6//EN,-//ecoinformatics.org//eml-project-2.0.0beta4//EN,-//ecoinformatics.org//eml-protocol-2.0.0beta6//EN,-//ecoinformatics.org//eml-protocol-2.0.0beta4//EN,-//ecoinformatics.org//eml-software-2.0.0beta6//EN,-//ecoinformatics.org//eml-software-2.0.0beta4//EN
240
xml.indexNamespaces=eml://ecoinformatics.org/eml-2.0.0,eml://ecoinformatics.org/eml-2.0.1
241
xml.indexPaths=organizationName,originator/individualName/surName,originator/individualName/givenName,originator/organizationName,creator/individualName/surName,creator/individualName/givenName,creator/organizationName,dataset/title,keyword,geographicCoverage/boundingCoordinates/northBoundingCoordinate,geographicCoverage/boundingCoordinates/southBoundingCoordinate,geographicCoverage/boundingCoordinates/westBoundingCoordinate,geographicCoverage/boundingCoordinates/eastBoundingCoordinate,eastBoundingCoordinate,title,entityName,individualName/surName,abstract/para,surName,givenName,para,geographicDescription,literalLayout,eastbc,northbc,westbc,southbc,dataset/access/allow/principal,entityName,taxonRankValue,dataset/dataTable/physical/distribution/online/url,dataset/spatialRaster/physical/distribution/online/url,@packageId,/reviewHistory/review/packageId,EcogridRegEntry/description,EcogridRegEntry/serviceName,EcogridRegEntry/endPoint,associatedParty/individualName/surName,associatedParty/organizationName,coverage/temporalCoverage/singleDateTime/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/beginDate/alternativeTimeScale/timeScaleName,coverage/temporalCoverage/rangeOfDates/endDate/alternativeTimeScale/timeScaleName,placekey,idinfo/citation/citeinfo/title,idinfo/citation/citeinfo/origin,idinfo/keywords/theme/themekey,abstract
242

    
243
######## Outgoing email  #########################################
244

    
245
email.mailhost=localhost
246
email.sender=knb-software@nceas.ucsb.edu
247
email.admin=KNB Support
248
email.recipient=knb-software@nceas.ucsb.edu
249

    
250
######## Registry properties #########################################
251

    
252
cgi-user=@cgi-user@
253

    
254
# TODO SCW should obfs still be the default?
255
registry.config.scope=obfs
256
# TODO SCW remove these two properties, rely instead on the skin config
257
#          PASSWORD ONLY USED IN ESA SKIN
258
registry.config.username=uid=knbadmin,o=NCEAS,dc=ecoinformatics,dc=org
259
registry.config.password=your-pw-goes-here
260
registry.config.site=station
261
registry.config.type=Registry
262
registry.config.publicReadable=true
263
# TODO SCW push this out to skin.properties, ONLY true IN ESA SKIN
264
registry.config.adminIsDocOwner=false
265
registry.config.organization=
266
registry.config.abbrev=
267
registry.config.debug=false
268
# registry modules: parts of the form we should be display
269
registry.modules.taxonomic=true
270
registry.modules.method=true
271
registry.modules.spatial=true
272
registry.modules.keyword=true
273
registry.modules.temporal=true
274
registry.modules.upload=false
275
# skin-specific display settings
276
registry.required.siteList=true
277
registry.required.wgList=false
278
registry.required.organization=true
279
registry.required.temporal=true
280
registry.required.spatial=true
281
registry.required.contactEmail=false
282
registry.templates.response=genericResponse.tmpl
283
registry.templates.entry=entryForm.tmpl
284
registry.templates.guide=genericGuide.tmpl
285
registry.templates.login=loginForm.tmpl
286
registry.templates.confirmData=confirmData.tmpl
287
registry.templates.deleteData=deleteData.tmpl
288
registry.templates.header=genericHeader.tmpl
289
registry.templates.footer=genericFooter.tmpl
290
# ESA-skin specific templates
291
registry.templates.modEmailNotification=
292
registry.templates.modResult=
293
registry.templates.getReviews=
294

    
295

    
296
######## junit test section  ################
297

    
298
test.printdebug=true
299
test.metacat.url=http://localhost:8080/knb/metacat
300
test.mcuser=uid=kepler,o=unaffiliated,dc=ecoinformatics,dc=org
301
test.mcpassword=kepler
302
test.mcanotheruser=uid=test,o=NCEAS,dc=ecoinformatics,dc=org
303
test.mcanotherpassword=test
304
test.piscouser=uid=testPW,o=PISCO,dc=ecoinformatics,dc=org/>
305
test.piscopassword=piscotest/>
306
## TODO MCD get an lter test account
307
test.lteruser=uid=jtao,o=LTER,dc=ecoinformatics,dc=org/>
308
test.lterpassword=yourpass
309
test.testproperty=testing
310

    
311
######## Replication properties  #########################################
312

    
313
replication.logdir=
314
## deltaT=60
315
## debuglevel=55
316
replication.datafileflag=datafile
317
## TODO MCD this seems to be used in other placed besides replication
318
replication.datafilesizelimit=1000
319
replication.defaultcontenttype=application/octet-stream
320
replication.timedreplication=false
321
replication.firsttimedreplication=10:00 PM
322
replication.timedreplicationinterval=172800000
323
replication.forcereplicationwaitingtime=30000
324

    
325
######## Skins  #########################################
326

    
327
skin.names=default,esa,nceas,knb,obfs,nrs,sanparks
328
#move this to skin config
329
skin.esa.moderators=cn=knb-prod,o=NCEAS,dc=ecoinformatics,dc=org
330

    
331
######## Document Section  #########################################
332

    
333
#The flag to indicate if invalidated eml 201 documents were corrected.
334
#Before Metacat 1.8.1, metacat uses tag RELEASE_EML_2_0_1_UPDATE_6 as eml
335
#schema, which accidentily points to wrong version of eml-resource.xsd.
336
#If this value is false, metacat will run a class to correct eml201 doucment.
337
document.eml201DocumentCorrected=false
338
document.sitecode=nceas
339
document.accNumSeparator=.
340

    
341
######## Harvester section            #########################################
342

    
343
harvester.connectToMetacat=true
344
harvester.delay=0
345
harvester.administrator=name@institution.edu
346
harvester.logPeriod=90
347
harvester.maxHarvests=0
348
harvester.period=24
349
harvester.smtpServer=localhost
350
harvester.GetDocError=Error getting EML document from site,Error
351
harvester.GetDocSuccess=Success getting EML document from site,Debug
352
harvester.GetHarvestListError=Error getting harvest list from site,Error
353
harvester.GetHarvestListSuccess=Success getting harvest list from site,Debug
354
harvester.HarvesterStartup=Harvester start up,Info
355
harvester.HarvesterShutdown=Harvester shut down,Info
356
harvester.InsertDocError=Error inserting EML document to Metacat,Error
357
harvester.InsertDocSuccess=Success inserting EML document to Metacat,Info
358
harvester.MetacatHasDoc=Metacat already has this EML document,Info
359
harvester.UpdateDocError=Error updating EML document to Metacat,Error
360
harvester.UpdateDocSuccess=Success updating EML document to Metacat,Info
361
harvester.ValidateDocError=Error validating EML docoument,Error
362
harvester.ValidateDocSuccess=Success validating EML document,Debug
363
harvester.ValidateHarvestListError=Error validating harvest list,Error
364
harvester.ValidateHarvestListSuccess=Success validating harvest list,Debug
365

    
366
######## Spatial section              #########################################
367

    
368
spatial.runSpatialOption=true
369
spatial.regenerateCacheOnRestart=true
370
# Comma-seperated list of schemas containing spatial bounding boxes
371
# name corresponds to the docname stored in xml_documents table
372
spatial.spatialDocnameList=eml,fgdc,metadata
373
# XML paths to the four bounding coordinates
374
# These paths must be included in your indexPaths variable in build.properties
375
# Note the naming convention:
376
#   {docname}_{direction}BoundingCoordinatePath=.....
377
# Has not been tested with other schemas besides EML
378
spatial.eml_westBoundingCoordinatePath=geographicCoverage/boundingCoordinates/westBoundingCoordinate
379
spatial.eml_eastBoundingCoordinatePath=geographicCoverage/boundingCoordinates/eastBoundingCoordinate
380
spatial.eml_southBoundingCoordinatePath=geographicCoverage/boundingCoordinates/southBoundingCoordinate
381
spatial.eml_northBoundingCoordinatePath=geographicCoverage/boundingCoordinates/northBoundingCoordinate
382
spatial.fgdc_westBoundingCoordinatePath=spdom/bounding/westbc
383
spatial.fgdc_eastBoundingCoordinatePath=spdom/bounding/eastbc
384
spatial.fgdc_southBoundingCoordinatePath=spdom/bounding/southbc
385
spatial.fgdc_northBoundingCoordinatePath=spdom/bounding/northbc
386
spatial.metadata_westBoundingCoordinatePath=westbc
387
spatial.metadata_eastBoundingCoordinatePath=eastbc
388
spatial.metadata_southBoundingCoordinatePath=southbc
389
spatial.metadata_northBoundingCoordinatePath=northbc
390
spatial.docTitle=dataset/title
391

    
392
######## Geoserver section              #######################################
393

    
394
geoserver.loginPostPage=admin/loginSubmit.do
395
geoserver.loginSuccessString=admin/logout.do
396
geoserver.passwordPostPage=config/loginEditSubmit.do
397
geoserver.passwordSuccessString=Data loaded without incident
398
geoserver.applyPostPage=admin/saveToGeoServer.do
399
geoserver.defaultUsername=admin
400
geoserver.defaultPassword=geoserver
401
geoserver.username=
402
geoserver.password=
403

    
404
######## SiteMap section              #########################################
405

    
406
# relative directory path in which sitemap files should be written
407
## sitemapDirectory=@install-dir@/sitemaps
408

    
409
# Interval (in milliseconds) between rebuilding the sitemap
410
sitemap.interval=86400000
411

    
412
######## Developers Section #########################################
413

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