Configuration
To deploy the alarm service the following set of files are needed:
- CollectionSettingsRepositorySettings.xml
- ReferenceSettings.xml
- servicesalarmservice.properties
The files need to be placed in a the directory mentioned in the context parameter for the webclientalarm service. Description of such can be found in Service setup page.
CollectionSettingsRepositorySettings.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.
Code Block | ||||
---|---|---|---|---|
| ||||
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.alarmservice.properties file specifies the location of the clients services certificate and key file, along with where to dump eventspersist alarms.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
org.bitrepository.webclientalarm-service.privateKeyFile = /path/to/privateKeyFile org.bitrepository.webclient.logfile = /tmp/webclient-logprivatekeyfile |