-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support string type for the script field in Route (#1289)
* Support string type for script field in Route Signed-off-by: imjoey <[email protected]> * Add validating lua code when create/update routes also improve the test case in unittest and e2e Signed-off-by: imjoey <[email protected]> * typo fix and style format Signed-off-by: imjoey <[email protected]> * Improve testcases Signed-off-by: imjoey <[email protected]> * Addtional check the Script via log in APISIX Signed-off-by: imjoey <[email protected]> * ngx.log print log in error.log, instead of access.log Signed-off-by: imjoey <[email protected]> * Use ngx.WARN instead of INFO to enable output Signed-off-by: imjoey <[email protected]>
- Loading branch information
Showing
6 changed files
with
389 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.