Skip to content

Latest commit

 

History

History
366 lines (342 loc) · 17.8 KB

File metadata and controls

366 lines (342 loc) · 17.8 KB
<style type="text/css"> .myTable { background-color:#eee;border-collapse:collapse; } .myTable th { background-color:#000;color:white; } .myTable td, .myTable th { padding:5px;border:1px solid #000; } </style>

Properties

This file contains the list of properties that can be set to configure a D-Net instance.

To get the list of currently used properties please go to the Admin UI of your running instance and select Configuration > Container Properties

D-Net webapp properties

Property name Default value Value type Description
container.hostname localhost String the host name where the web app will be running
container.port 8280 int the port where the web app will be running
container.context app String name of the web app
dnet.data.path /tmp/dnet String path to the directory where all D-Net related resources will be saved. An embedded existDB will be automatically installed in this directory during the first start-up. The directory must be writable by the user running tomcat.

D-Net properties for enabling services

ResultSet Service

Property name Default value Value type Description
services.is.resultset.client.pagesize 10 int Default number of records in each page of result set
services.is.resultset.push.maxElementsInMemory 500 int Push resultset stores records temporary on a cache. This is the max number of records in memory. After this number they will be stored on disk
services.is.resultset.push.maxElementsOnDisk 5000000 int Push resultset stores records temporary on a cache. This is the max number of records in memory. After this number new records will override older records (those will be lost if not yet read)
services.resultset.data.path ${dnet.data.path}/resultset String Path of the ResultSet cache (for Push ResultSet)
services.is.resultset.push.timeToIdle 36000 int Seconds before a push result set expires if no read/write operations are performed on it.
services.is.resultset.resultSetRegistryCache.timeToIdle 240 int Seconds before a result set expires if no read/write operations are performed on it.
services.is.resultset.resultSetRegistryMaxIdleTimeCache.timeToIdle 240 int Seconds before a result set expires if no read/write operations are performed on it.

IS Store Service

Property name Default value Value type/ Allowed values Description
services.is.store.database.bean temporaryExistDatabase temporaryExistDatabase, persistentExistDatabase The D-Net Information Service manages the resources of the infrastructure that are described by XML profiles. Those profiles are stored in an embedded existdb. In dev mode you may want to use a non persistent store, while in prod mode you have to set this to 'persistentExistDatabase'
services.is.store.bulk.validation true boolean True to activate automatic XML validation of resource profiles upon registration
default.service.comparator preferLocalRunningInstanceComparator preferLocalRunningInstanceComparator Bean that selects a service instance among a set of services of the same type. Currently the only option is 'preferLocalRunningInstanceComparator', which prefers a service instance running on localhost.

Resource Registration

Property name Default value Value type/ Allowed values Description
services.schemas classpath*:/eu/dnetlib/test/schemas/**/*.xsd String Classpath containing the XSD schemata of the resource profiles
services.registration.disabled false boolean True to prevent the registration of new services to the IS
default.service.comparator preferLocalRunningInstanceComparator preferLocalRunningInstanceComparator Bean that selects a service instance among a set of services of the same type. Currently the only option is 'preferLocalRunningInstanceComparator', which prefers a service instance running on localhost.

D-Net properties for access control

Property name Default value Value type/ Allowed values Description
dnet.modular.ui.authorization.default.superAdmin admin string Name of the admin user that can perform every operation via the D-Net admin UI
dnet.admin.password f98c5d6f0e68b251f78bffac722fd0b9 (dnet-minimal) md5(password) MD5 of the password for the user admin
dnet.modular.ui.authorization.manager simpleAuthenticationManager simpleAuthenticationManager,mockUserAuthenticationManager Authorization Manager used by the D-Net admin UI
dnet.modular.ui.authorization.dao mongoAuthorizationDao mongoAuthorizationDao name of the bean in charge of the authorization mechanism. mongoAuthorizationDao keeps authorization info about users in a mongodb server.
dnet.modular.ui.authorization.mongo.host localhost String host that runs a mongodb to be used for user authorization management
dnet.modular.ui.authorization.mongo.port 27017 int port of the mongodb server to be used for user authorization management
dnet.modular.ui.authorization.mongo.db dnet_auth String mongodb database to be used for user authorization management

D-Net properties for metadata collection

Property name Default value Value type Description
collector.oai.http.defaultDelay 120 seconds Seconds to wait between two subsequent OAI-PMH ListRecord requests
collector.oai.http.readTimeOut 120 int Seconds to wait for an OAI-PMH publisher response.
collector.oai.http.maxNumberOfRetry 6 int Number of times to retry in case of an OAI-PMH request timeout.
repo.ui.compatibilityLevels.vocabulary dnet:compatibilityLevel Vocabulary code Code of a D-Net vocabulary containing the terms about datasource compatibility (or compliance)
repo.ui.contentDescriptions.vocabulary dnet:content_description_typologies Vocabulary code Code of a D-Net vocabulary containing the terms about the typologies of collectable items
repo.ui.datasourceTypes.vocabulary dnet:typologies Vocabulary code Code of a D-Net vocabulary containing the terms about the typologies of datasources
repo.ui.protocols.vocabulary dnet:protocols Vocabulary code Code of a D-Net vocabulary containing the terms about the supported protocols for collection
services.aggregator.country EU String your country code
services.aggregator.name D-NET String the name of your aggregator

D-Net properties for metadata transformation and harmonisation

Property name Default value Value type/ Allowed values Description
dnet.modular.ui.vocabulary.dao registryServiceVocabularyDAO bean name name of the bean that manages vocabulary resources
services.transformation.defaultschema /eu/dnetlib/data/collective/transformation/schema/DMFSchema_vTransformator.xsd /eu/dnetlib/data/collective/transformation/schema/DMFSchema_vTransformator.xsd, /eu/dnetlib/data/collective/transformation/schema/OAFSchema_vTransformator.xsd Path to the Transformator Service schema. Two options are available: one for DMF, one for OAF. The template property below must be set accordingly.
services.transformation.defaulttemplate /eu/dnetlib/data/collective/transformation/engine/template.xsl /eu/dnetlib/data/collective/transformation/engine/template.xsl,/eu/dnetlib/data/collective/transformation/engine/oaftemplate.xsl Template for the Transformator Service. Two options are available: one for DMF, one for OAF. The schema property above must be set accordingly.
services.transformation.vocabularyproperties.json {"map":{"AccessRights":{"name":"dnet:rights", "caseSensitive":"false", "delimiter":"/"}, "Languages":{"name":"dnet:languages", "caseSensitive":"false", "delimiter":"/"}, "TextTypologies":{"name":"dnet:texttypologies", "caseSensitive":"false", "delimiter":"/"}}} json map Instructs the Transformator Service about the D-Net vocabularies to apply for specific fields

D-Net properties for Metadata Store Service (MDStore)

Property name Default value Value type Description
services.mdstore.dao mongodbMDStoreDao bean name name of the bean that manages mdstore. Currently there is only one option to work with a mongodb server.
services.mdstore.discardrecords true boolean True to save non well-formed records in a discarded store.
services.mdstore.mongodb.checkmetadata.onstart true boolean True to perform automatic checks on existing mdstore at startup.
services.mdstore.mongodb.checkmetadata.startdelay 30000 millisecond Millisecond to wait after a webapp restart before running the metadata check. Only valid if 'services.mdstore.mongodb.checkmetadata.onstart' is true.
services.mdstore.mongodb.ensureindex.cron 0 0 23 * * ? Cron expression When to run a re-indexing on the mdstores. Only valid if 'services.mdstore.mongodb.ensureindex.enable' is true.
services.mdstore.mongodb.ensureindex.enable false boolean Enables the automatic re-indexing of mdstores.
services.mdstore.mongodb.host localhost String host that runs a mongodb to be used for metadata storage
services.mdstore.mongodb.port 27017 int port of the mongodbserver to use for metadata storage
services.mdstore.mongodb.db mdstore_minimal String mongodb database to use for metadata storage
services.mdstore.mongodb.connectionsPerHost 20 int max number of connections per host allowed for the mdstore db used for metadata storage

D-Net properties for workflows

Property name Default value Value type Description
dnet.logger.mongo.host localhost String host that runs a mongodb to be used for D-Net workflow history management
dnet.logger.mongo.port 27017 int port of the mongodbserver to use for D-Net workflow history management
dnet.logger.mongo.db dnet_logs_minimal String mongodb database to use for D-Net workflow history management

D-Net properties for mail notifications

Property name Default value Value type Description
infrastructure.name development String Name of the infrastructure to appear in the mail subject
msro.wf.mail.smtp.host localhost String SMTP server host
msro.wf.mail.smtp.port 587 String SMTP server port
msro.wf.mail.smtp.user String SMTP server user
msro.wf.mail.smtp.password String SMTP server user password
msro.wf.mail.from dnet-noreply@research-infrastructures.eu e-mail Mail sender
msro.wf.mail.fromName D-NET Workflow Manager String Name of the e-mail sender
msro.wf.mail.cc comma separated list of e-mails e-mail addresses that will always receive each mail in cc
dnet.guest.password 084e0343a0486ff05530df6c705c8bb4 md5(password) MD5 of the password for the user guest

D-Net properties for D-Net OAI-PMH Publisher

Property name Default value Value type/ Allowed values Description
services.oai.publisher.db.xquery //RESOURCE_PROFILE[.//RESOURCE_TYPE/@value = 'OAIPublisherConfigurationDSResourceType']//CONFIGURATION/CURRENTDB/string() applicationContext-dnet-oai-utils.properties xquery string xquery to fetch the OAI configuration
services.oai.publisher.deletedrecords TRANSIENT TRANSIENT, YES, NO See OAI-PMH specifications about the Identify verb response
services.oai.publisher.dnet.pagesize 100 int Number of OAI records in a a page
services.oai.publisher.repo.earliestdatestamp 2013-10-03T15:53:06Z Date See OAI-PMH specifications about the Identify verb response
services.oai.publisher.repo.email dnet-admin@mock.it e-mail See OAI-PMH specifications about the Identify verb response
services.oai.publisher.repo.granularity YYYY-MM-DDThh:mm:ssZ date pattern See OAI-PMH specifications about the Identify verb response
services.oai.publisher.repo.name D-Net OAI-PMH Publisher String See OAI-PMH specifications about the Identify verb response
services.oai.publisher.baseUrl OAI-PMH Publisher base URL See OAI-PMH specifications about the Identify verb response
services.publisher.oai.host localhost host that runs a mongodb to be used to store records served by the OAI-PMH publisher
services.publisher.oai.port 27017 port of the mongodb to be used to store records served by the OAI-PMH publisher

D-Net properties for D-Net Index Service over Solr

Property name Default value Value type Description
service.solr.index.jsonConfiguration { "id":"solr", "address":"localhost:9983","port":"8983", "host":"localhost", "webContext":"solr", "numShards":"1","replicationFactor":"1", "feedingShutdownTolerance":"30000", "feedingBufferFlushThreshold":"1000","feedingSimulationMode":"false", "luceneMatchVersion":"4.9", "serverLibPath":"../../../../contrib/extraction/lib", "filterCacheSize":"512", "filterCacheInitialSize":"512", "queryCacheSize":"512","queryCacheInitialSize":"512", "documentCacheSize":"512","documentCacheInitialSize":"512", "ramBufferSizeMB":"960", "mergeFactor":"40", "autosoftcommit":"-1","autocommit":"15000", "termIndexInterval":"1024","maxIndexingThreads":"8", "queryResultWindowSize":"20", "queryResultMaxDocCached":"200"} json map information about the Solr instance to be used. See Solr documentation for details