-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new method which can load additional property files to accommon…
…date the situation that metacat has more than one property files.
- Loading branch information
1 parent
4b096f7
commit edbba1a
Showing
3 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
src/test/resources/org/dataone/configuration/index-processor-2.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#index.d1node.baseURL=https://dev.nceas.ucsb.edu/knb/d1/mn | ||
index.d1node.baseURL=https://valley.duckdns.org/metacat/d1/mn | ||
index.data.root.directory=/objects | ||
index.document.root.directory=/objects | ||
|
||
#The section for the rabbitMQ configuration | ||
#index.rabbitmq.hostname=host.docker.internal | ||
index.rabbitmq.hostname=localhost | ||
index.rabbitmq.hostport=5672 | ||
index.rabbitmq.username=guest | ||
index.rabbitmq.password=guest | ||
#If you change the number of the max priority, the existing queue must be deleted. And consumers must use the same number. | ||
index.rabbitmq.max.priority=10 | ||
|
||
dataone.indexing.performance.logging.enabled=false | ||
|
||
#The time (millisecond) that the resource map processor waits for the solr doc readiness of its components | ||
index.resourcemap.waitingComponent.time=600 | ||
#The number of the attempts that the resource map processor tries to wait for the solr doc readiness of its components | ||
index.resourcemap.waitingComponent.max.attempts=15 | ||
#The time (millisecond) that indexer will wait to grab a newer version of solr doc when a version conflict happened | ||
index.solr.versionConflict.waiting.time=500 | ||
#The number of the attempts that indexer tries to grab a newer version of solr doc when a version conflict happened | ||
index.solr.versionConflict.max.attempts=5 | ||
#You may specify the exact number of threads the indexer will use. | ||
#If you keep it blank, Metacat will use the default one - the system processors number minus one. If calculation result is 0, 1 will be used as the default value. | ||
#If the one you specify exceeds the default number or is less than 1, the default one will be used as well. | ||
index.thread.number= | ||
|
||
D1Client.CN_URL=https://cn.dataone.org/cn | ||
|
||
test.solr.port=8985 | ||
solr.query.uri=http://localhost:${test.solr.port}/solr/collection1/select/ | ||
solr.index.uri=http://localhost:${test.solr.port}/solr/collection1/update/?commit=true | ||
solr.base.uri=http://localhost:${test.solr.port}/solr/collection1 | ||
#solr.schema.path can be a url or a file path | ||
#solr.schema.path=http://localhost:8983/solr/metacat-index/admin/file?file=schema.xml&contentType=text/xml;charset=utf-8 | ||
solr.schema.path=./src/main/resources/solr-conf/schema.xml | ||
|
||
index.resourcemap.namespace=http://www.w3.org/TR/rdf-syntax-grammar;http://www.openarchives.org/ore/terms | ||
|
||
dataone.mn.registration.serviceType.url=https://cn-sandbox-ucsb-1.test.dataone.org/mnServiceTypes.xml | ||
|
||
cn.router.hostname2=cn.dataone.org |