Skip to content

Commit

Permalink
refactor(router): router code refactor
Browse files Browse the repository at this point in the history
* rename `atc_compat.lua` to `compat.lua`
* add a new file `expressions.lua`
* move lots of logic into `atc.lua`
* rename `get_atc` to `get_expression`
* rename `route_priority` to `get_priority`
* rename `atc_escape_str `to `escape_str`
* remove function `paths_resort`
* transplant #9327 
* transplant #9329 
* transplant #9343
* transplant #9346
* transplant #9357
* transplant #9389
* transplant #9394
* transplant #9451
* transplant #9480
  • Loading branch information
chronolaw authored Oct 10, 2022
1 parent 3cd28c7 commit eecc875
Show file tree
Hide file tree
Showing 7 changed files with 890 additions and 808 deletions.
3 changes: 2 additions & 1 deletion kong-3.1.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ build = {
["kong.global"] = "kong/global.lua",
["kong.router"] = "kong/router/init.lua",
["kong.router.traditional"] = "kong/router/traditional.lua",
["kong.router.atc_compat"] = "kong/router/atc_compat.lua",
["kong.router.compat"] = "kong/router/compat.lua",
["kong.router.expressions"] = "kong/router/expressions.lua",
["kong.router.atc"] = "kong/router/atc.lua",
["kong.router.utils"] = "kong/router/utils.lua",
["kong.reports"] = "kong/reports.lua",
Expand Down
Loading

0 comments on commit eecc875

Please sign in to comment.