Skip to content

Commit

Permalink
fix: sync the preload packages in schema-sync.lua (#1216) (#1221) (#1228
Browse files Browse the repository at this point in the history
)

Co-authored-by: 琚致远 <juzhiyuan@apache.org>

Co-authored-by: Peter Zhu <starszcan@gmail.com>
Co-authored-by: 琚致远 <juzhiyuan@apache.org>
  • Loading branch information
3 people authored Jan 7, 2021
1 parent 073a252 commit 72f2195
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion api/build-tools/schema-sync.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ local fake_module_list = {
'ngx.errlog',
'ngx.process',
'ngx.re',
'ngx.ssl',
'net.url',
'opentracing.tracer',
'pb',
Expand All @@ -35,6 +36,7 @@ local fake_module_list = {

'resty.cookie',
'resty.core.regex',
'resty.core.base',
'resty.hmac',
'resty.http',
'resty.ipmatcher',
Expand All @@ -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',
Expand Down Expand Up @@ -84,6 +89,8 @@ ngx.socket = {}
ngx.thread = {}
ngx.worker = {}
ngx.re.gmatch = empty_function
ngx.req = {}
ngx.config = {}
ngx.shared = {
["plugin-api-breaker"] = {}
}
Expand Down Expand Up @@ -112,7 +119,10 @@ package.loaded["apisix.core"] = {
table = {
insert = empty_function
},
string = {}
string = {},
version = {
VERSION = ""
}
}


Expand Down

0 comments on commit 72f2195

Please sign in to comment.