Skip to content

Commit

Permalink
chore: split validate token ref
Browse files Browse the repository at this point in the history
Signed-off-by: Ruben Romero Montes <[email protected]>
  • Loading branch information
ruromero committed May 13, 2024
1 parent e4f91cd commit 0e20750
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void configure() {
.to("direct:batchAnalysis")
.get("/v3/token")
.routeId("v3restTokenValidation")
.to("direct:validateToken")
.to("direct:v3ValidateToken")
.get("/v4/token")
.routeId("restTokenValidation")
.to("direct:validateToken");
Expand All @@ -164,6 +164,9 @@ public void configure() {
.setProperty(Constants.API_VERSION_PROPERTY, constant(Constants.API_VERSION_V3))
.to(direct("analysis"));

from(direct("v3ValidateToken"))
.to(direct("validateToken"));

from(direct("v4analysis"))
.routeId("v4Analysis")
.setProperty(Constants.API_VERSION_PROPERTY, constant(Constants.API_VERSION_V4))
Expand Down

0 comments on commit 0e20750

Please sign in to comment.