The application name
The directory where bt-config.json and bt-local-config.json can be found. Defaults to current working directory.
Log severity. Defaults to INFO | WARNING | ERROR | FATAL
Creates the logger instance used by the application
Logger
Sets the default log level on the Logger
Translates the severity string to its corresponding enumeration value.
sevierty string
Parses the log severity flags from the config object.
bt-config object
the severity mask
The URL API path. E.g. /api/myService/myCommand/
The concrete class (not the instance) of Handler to be used for this API.
Subclasses are expected to attach the API handlers for their service. This will be invoked during application startup.
Promise
command line arguments
the config object.
the database pool. This will need to be casted based on your preferred database dialect.
the application's logger
the application name
The maximum size limit for incoming requests that this service needs to handle.
the token manager
The directory path that contains bt-config.json and bt-local-config.json
Invoked once the config has been loaded and ready to be used.
The config object (as defined in bt-config.json/bt-local-config.json)
Invoked when the application is considered ready for operation.
Logger class to use
Sets the TokenManager to be used for authentication.
true if the Application should bind to an IP address
Generated using TypeDoc
Main entry point for the Application. Should be extended and have the abstract methods implemented.