Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 6

Table of Contents

Asynchronous algorithm configuration

...

Parameter

Default value

Description

ohf.mail.admin

 

Administrator email(s)

If more emails, then separated them with semicolon if empty then email won't be sent.

ohf.mail.fromOpenHub framework <openhub@openwise.cz>Email address FROM for sending emails
ohf.mail.smtp.serverlocalhostSMTP server for sending emails
ohf.dir.temp Directory for storing temporary files, related to DefaultFileRepository
ohf.dir.fileRepository File repository directory where files will be stored, related to DefaultFileRepository
ohf.servercontextCall.localhostUrihttp://localhost:8080URI of this localhost application, including port number.
ohf.server.localhostUri.checkfalseEnable/disable checking of URI defined by ohf.server.localhostUri
ohf.throttling.disableRelated to external call in Admin GUI 
disable.throttlingfalseTrue for disabling throttling at all. See throttling component.
ohf.endpoints.includePattern^(spring-ws|servlet).*$Pattern for filtering endpoints URI - only whose URIs will match specified pattern will be returned, related to endpoints overview.
ohf.requestSaving.enablefalseTrue for enabling saving requests/responses for filtered endpoints URI.
ohf.requestSaving.endpointFilter^(spring-ws|servlet).*$Pattern for filtering endpoints URI which requests/response should be saved.
ohf.alerts.repeatTime300

How often to run checking of alerts (in seconds

)
ohf.uri.inputPattern^(spring-ws

)

.*$


application.cfg

Parameter

Default value

Description

db.driver

org.h2.DriverDriver class name
db.urljdbc:h2:mem:openHubDBDatabase URL
db.usernamesaDatabase username
db.password Database password
ws.userwsUserUsername for accessing web services (Spring security configuration in rootSecurity.xml).
ws.passwordwsPasswordPassword for accessing web services (Spring security configuration in rootSecurity.xml).
web.userwebUserUsername for accessing web admin GUI (Spring security configuration in rootSecurity.xml).
web.passwordwebPasswordPassword for accessing web admin GUI (Spring security configuration in rootSecurity.xml).
monitoring.usermonUserUsername for accessing JavaMelody tool (Spring security configuration in rootSecurity.xml).
monitoring.passwordmonPasswordPassword for accessing JavaMelody tool (Spring security configuration in rootSecurity.xml).
log.folder.path${log.folder}, value is from Maven profile

Path to folder with application logs, used in logs searching in admin GUI.

log.file.pattern


Code Block
(^.*\\.log$|^.*\\.log\\.2\\d{3}-(0[1-9]|1[0-9])-[0|1|2|3]\\d?_\\d*\\.gz$)


Defines format of log file names (include filter) which will be taking into logs searching in admin GUI.


...

Configuration checker (org.openhubframework.openhub.core.conf.ConfigurationChecker) enables to check selected configuration parameters during application start:

  • ohf.serverdirectCall.localhostUri  - checks URI availability (must be explicitly enabled by the property ohf.server.localhostUri.check)
  • ohf.endpoints.includePattern, ohf.requestSaving requestSaving.endpointFilter - checks regular expressions 

...