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 Kong#9327 
* transplant Kong#9329 
* transplant Kong#9343
* transplant Kong#9346
* transplant Kong#9357
* transplant Kong#9389
* transplant Kong#9394
* transplant Kong#9451
* transplant Kong#9480
  • Loading branch information
chronolaw authored and oowl committed Oct 12, 2022
1 parent beaff3e commit 96d4e4f
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 96d4e4f

Please sign in to comment.