0x1306e6d / tollgate

An API gateway for your microservice.
MIT License
6 stars 1 forks source link

Configure `Server` using configurator instead of delegating builder #122

Closed 0x1306e6d closed 3 years ago

0x1306e6d commented 3 years ago

In GatewayBuilder, configure Server using a configurator, Consumer with ServerBuilder, instead of delegating ServerBuilder. If keep delegating, GatewayBuilder should delegate all methods following Armeria changes. Instead of it, provide a way to configure the Server using ServerBuilder directly. Then users can configure the 'Server' as much as they want. It breaks GatewayBuilder, some delegated methods (http, https, tls and tlsSelfSigned) are removed.