Package com.trib3.server.config.dropwizard

Types

CloudWatchReporterFactory
Link copied to clipboard
class CloudWatchReporterFactory(appConfig: TribeApplicationConfig, cloudwatch: CloudWatchAsyncClient) : BaseReporterFactory
BaseReporterFactory that creates a CloudWatchReporter based on the dropwizard configuration.
FilteredLogbackAccessRequestLogFactory
Link copied to clipboard
class FilteredLogbackAccessRequestLogFactory : LogbackAccessRequestLogFactory
Configure the requestLog to skip logging of fast, OK ping responses to avoid cluttering the logs with, eg, ELB health check requests.
HoconConfigurationFactory
Link copied to clipboard
class HoconConfigurationFactory<T>(klass: Class<T>, validator: Validator, mapperArg: ObjectMapper, configLoader: ConfigLoader) : ConfigurationFactory<T>
A ConfigurationFactory that returns config instantiated by parsing hocon from application.
HoconConfigurationFactoryFactory
Link copied to clipboard
class HoconConfigurationFactoryFactory<T@Inject() constructor(configLoader: ConfigLoader) : ConfigurationFactoryFactory<T>
Bootstrap hook to allow dropwizard config to be provided by a HoconConfigurationFactory
RequestIdLogbackAccessRequestLayout
Link copied to clipboard
class RequestIdLogbackAccessRequestLayout(context: LoggerContext, timeZone: TimeZone) : LogbackAccessRequestLayout
LogbackAccessRequestLayout that also includes the request Id read from the response headers, and timestamp in the same layout we use for the regular application log.
class RequestIdLogbackAccessRequestLayoutFactory : LayoutFactory<IAccessEvent>
Layout factory that returns a RequestIdLogbackAccessRequestLayout

Properties

FAST_RESPONSE_TIME
Link copied to clipboard
private const val FAST_RESPONSE_TIME: Int = 200