Configuration¶
Configuration is done through a YAML file containing various sections.
An example is available at src/main/resources/configuration.yml.example.
Section “cucm”¶
This section is about credentials to connect to a CUCM server.
hostis the host nameuseris the user to log in aspasswordis the password for theuser
Section “apiauth”¶
This section is about credentials to connect to this application using HTTP basic auth.
useris the name of the user that will have to be use when attempting to do a basic authpasswordis a SHA-256 hash of the password
The hash of the password can be generated with echo -n "password" | shasum -a 256.
Section “logging” (optional)¶
Configure the logging of the application (by overriding the default configuration), see Dropwizard’s documentation.
Section “http” (optional)¶
Configure the web server (by overriding the default configuration), see Dropwizard’s documentation.
See Security considerations for more recommendations on this section.