Skip to content

Finatra 22.1.0

Compare
Choose a tag to compare
@finaglehelper finaglehelper released this 18 Jan 20:31
· 109 commits to develop since this release

22.1.0

Added

  • http-server: (BREAKING API CHANGE) Allow for customization of the building of the HTTP and HTTPS
    ListeningServer constructs. This allows users to specify any additional configuration over the
    Finagle Service[-R, +R] that is constructed by the HttpRouter. The
    c.t.finatra.http.HttpServerTrait#build method has been replaced by two more specific versions:
    #buildHttpListeningServer and #buildHttpsListeningServer which are used in postWarmup to
    create the appropriate ListeningServer given it has a defined port value.

    We also update the EmbeddedHttpServer and EmbeddedHttpClient to allow for being able to run both
    the HTTP and HTTPS listening servers in tests. This is done by setting the httpsPortFlag to the
    value of https.port which will enable the binding of the HTTPS listening server to the ephemeral
    port in tests. 13a600ff

  • mysql-client: Add base client configuration in EmbeddedMysqlServer to enable for more robust
    testing setup. This would allow users to add configurations like charset.
    Added a overridable function createRichClient to MysqlClientModuleTrait to allow
    creating the mysql client in other ways like newRichClient(Finagle.Name, String).
    dc1de215

Changed

  • finatra: Bump version of Jackson to 2.13.1 79bd09c4