This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch v2.3
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/v2.3 by this push:
     new 72f2195  fix: sync the preload packages in schema-sync.lua (#1216) 
(#1221) (#1228)
72f2195 is described below

commit 72f2195b70aecfcdf0a4ff0f06af8cd1bc2cf2b7
Author: Joey <majunj...@gmail.com>
AuthorDate: Thu Jan 7 14:00:08 2021 +0800

    fix: sync the preload packages in schema-sync.lua (#1216) (#1221) (#1228)
    
    Co-authored-by: 琚致远 <juzhiy...@apache.org>
    
    Co-authored-by: Peter Zhu <starsz...@gmail.com>
    Co-authored-by: 琚致远 <juzhiy...@apache.org>
---
 api/build-tools/schema-sync.lua | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/api/build-tools/schema-sync.lua b/api/build-tools/schema-sync.lua
index 7e96e96..74271cf 100644
--- a/api/build-tools/schema-sync.lua
+++ b/api/build-tools/schema-sync.lua
@@ -26,6 +26,7 @@ local fake_module_list = {
     'ngx.errlog',
     'ngx.process',
     'ngx.re',
+    'ngx.ssl',
     'net.url',
     'opentracing.tracer',
     'pb',
@@ -35,6 +36,7 @@ local fake_module_list = {
 
     'resty.cookie',
     'resty.core.regex',
+    'resty.core.base',
     'resty.hmac',
     'resty.http',
     'resty.ipmatcher',
@@ -52,6 +54,9 @@ local fake_module_list = {
     'resty.rediscluster',
     'resty.signal',
     'resty.string',
+    'resty.aes',
+    'resty.radixtree',
+    'resty.expr.v1',
 
     'apisix.consumer',
     'apisix.core.json',
@@ -84,6 +89,8 @@ ngx.socket = {}
 ngx.thread = {}
 ngx.worker = {}
 ngx.re.gmatch = empty_function
+ngx.req = {}
+ngx.config = {}
 ngx.shared = {
     ["plugin-api-breaker"] = {}
 }
@@ -112,7 +119,10 @@ package.loaded["apisix.core"] = {
     table = {
         insert = empty_function
     },
-    string = {}
+    string = {},
+    version = {
+        VERSION = ""
+    }
 }
 
 

Reply via email to