Skip to content

Commit

Permalink
Fix quarkiverse#682: Pass formatter on runtime module
Browse files Browse the repository at this point in the history
  • Loading branch information
ylemoigne committed Jun 15, 2024
1 parent e2f7949 commit abb726f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ class QuinoaDevProxyHandler implements Handler<RoutingContext> {
private final ClassLoader currentClassLoader;
private final QuinoaDevProxyHandlerConfig config;

QuinoaDevProxyHandler(final QuinoaDevProxyHandlerConfig config, final Vertx vertx, boolean tls, boolean tlsAllowInsecure,String host, int port,
QuinoaDevProxyHandler(final QuinoaDevProxyHandlerConfig config, final Vertx vertx, boolean tls, boolean tlsAllowInsecure,
String host, int port,
boolean websocket) {
this.host = host;
this.port = port;
WebClientOptions options = new WebClientOptions();
if(tls){
if (tls) {
options.setSsl(true);
if(tlsAllowInsecure){
if (tlsAllowInsecure) {
options.setTrustAll(true);
options.setVerifyHost(false);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class QuinoaRecorder {
public static final Set<HttpMethod> HANDLED_METHODS = Set.of(HttpMethod.HEAD, HttpMethod.OPTIONS, HttpMethod.GET);

public Handler<RoutingContext> quinoaProxyDevHandler(final QuinoaDevProxyHandlerConfig handlerConfig, Supplier<Vertx> vertx,
boolean tls, boolean tlsAllowInsecure, String host, int port, boolean websocket) {
boolean tls, boolean tlsAllowInsecure, String host, int port, boolean websocket) {
if (LOG.isDebugEnabled()) {
LOG.debugf("Quinoa dev proxy-handler is ignoring paths starting with: "
+ String.join(", ", handlerConfig.ignoredPathPrefixes));
Expand Down

0 comments on commit abb726f

Please sign in to comment.