Wiki

Clone wiki

bluedroplet / Configuration

Configuration

Configuration should be dead simple.

Values

  • http.port : HTTP Port (default 8484)
  • http.address : HTTP Bind Address (default 0.0.0.0)
  • http.admin.port : HTTP Admin Port (default 9494)
  • http.admin.address : HTTP Admin Bind Address (default 0.0.0.0)
  • logging : Logging (true | false)
  • logging.member : Logging configurarion member (default LOGGING)
  • template.path : Template Path

The user can also enter his custom configuration which he can query with the configuration service program.

IFS

Normally a stream file in the IFS would be used for storing the configuration of the server/service. But most IBM i people are not comfortable with using the IFS because they haven't used it on a regular basis (or not at all).

Database File

Simple database file with two fields (key, value). The name of the configuration file is the same as the program name. Different configurations are stored in different members in the same configuration file. At the start of the program the configuration file and the member are specified.

Special MiWorkplace Plugin for Dropwizard for editing configuration values. Form Editor.

Updated