Skip to content

Commit

Permalink
RouteConstants for Vert.x web route order marks (#588)
Browse files Browse the repository at this point in the history
* RouteConstants for Vert.x web route order marks
- Co-authored-by: melloware <[email protected]>

* Update pom.xml

---------

Co-authored-by: Melloware <[email protected]>
  • Loading branch information
shivarm and melloware authored Dec 14, 2023
1 parent 00deb14 commit 5367e0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<maven.compiler.release>11</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.version>3.2.6.Final</quarkus.version>
<quarkus.version>3.5.0</quarkus.version>
<quarkus-playright.version>0.0.1</quarkus-playright.version>
<assertj.version>3.24.2</assertj.version>
<frontend-plugin.version>1.15.0</frontend-plugin.version>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.quarkiverse.quinoa;

import static io.quarkus.vertx.http.runtime.VertxHttpRecorder.DEFAULT_ROUTE_ORDER;
import static io.quarkus.vertx.http.runtime.RouteConstants.ROUTE_ORDER_DEFAULT;

import java.io.IOException;
import java.util.List;
Expand All @@ -22,7 +22,7 @@ public class QuinoaRecorder {
private static final Logger LOG = Logger.getLogger(QuinoaRecorder.class);
public static final String META_INF_WEB_UI = "META-INF/webui";
public static final int QUINOA_ROUTE_ORDER = 1100;
public static final int QUINOA_SPA_ROUTE_ORDER = DEFAULT_ROUTE_ORDER + 30_000;
public static final int QUINOA_SPA_ROUTE_ORDER = ROUTE_ORDER_DEFAULT + 30_000;
public static final Set<HttpMethod> HANDLED_METHODS = Set.of(HttpMethod.HEAD, HttpMethod.OPTIONS, HttpMethod.GET);

public Handler<RoutingContext> quinoaProxyDevHandler(final QuinoaHandlerConfig handlerConfig, Supplier<Vertx> vertx,
Expand Down

0 comments on commit 5367e0f

Please sign in to comment.