You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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