Configuration
To deploy the alarm service the following set of files are needed:
- CollectionSettings.xml
- ReferenceSettings.xml
- services.properties
The files need to be placed in a the directory mentioned in the context parameter for the webclient. Description of such can be found in Service setup page.
CollectionSettings.xml and ReferenceSettings.xml are collection specific and as such is not described here.
The services.properties file specifies where the different services can be located.
Sample services.properties
org.bitrepository.webclient.alarmserviceurl = http://localhost:8080/bitrepository-alarm-service-0.12-SNAPSHOT org.bitrepository.webclient.integrityserviceurl = http://localhost:8080/bitrepository-integrity-client-0.12-SNAPSHOT org.bitrepository.webclient.audittrailserviceurl = http://localhost:8080/bitrepository-audit-trail-service-0.12-SNAPSHOT org.bitrepository.webclient.monitoringserviceurl = http://localhost:8080/bitrepository-monitoring-service-0.12-SNAPSHOT org.bitrepository.webclient.defaulthttpserverurl = https://int-bitmag-01.kb.dk/dav/
The webclient.properties file specifies the location of the clients certificate and key file, along with where to dump events.
Sample webclient.properties
org.bitrepository.webclient.privateKeyFile = /path/to/privateKeyFile org.bitrepository.webclient.logfile = /tmp/webclient-log