Finatra 18.6.0
Added
-
finatra: Add HTTP route, Thrift method, and Filter information to the Library
registry. e12fd996 -
finatra-inject/inject-logback: Add an
c.t.inject.logback.AsyncAppender
to
provide metrics about the underlying queue. 8fa73604
Changed
- inject-slf4j: Move the SLF4J API logging bridges from
inject-slf4j
toinject-app
andinject-server
. This allows code in the inject framework to be mostly useful in
environments where having the bridges on the classpath causes issues. 9e57deca
Fixed
-
finatra-http: Fail startup for incorrect Controller callback functions. Controller route callback
functions that do not specify an input parameter or specify an incorrect input parameter should
fail server startup but were not correctly detected when building routes in theCallbackConverter
.
The route building logic has been patched to correctly detect these routes which would fail at
runtime to ensure we fail fast at server startup (and can thus be caught by StartupTests).
7b983dc9 -
finatra-http: Change exceptions emitted from
c.t.f.http.filter.HttpNackFilter
to not extend
fromHttpException
and add a specific mapper overHttpNackException
such that Nack
exceptions are handled distinctly from HttpExceptions and thus more specifically. Handling of
Nack exceptions should not be conflated with handling of the more genericHttpExceptions
and
it should be clear if a new mapper is desired that it is specifically for changing how Nack
exceptions are handled. f95bf28f