Skip to content

Commit 72f2195

Browse files
imjoeystarszjuzhiyuan
authored
fix: sync the preload packages in schema-sync.lua (#1216) (#1221) (#1228)
Co-authored-by: 琚致远 <[email protected]> Co-authored-by: Peter Zhu <[email protected]> Co-authored-by: 琚致远 <[email protected]>
1 parent 073a252 commit 72f2195

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

api/build-tools/schema-sync.lua

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ local fake_module_list = {
2626
'ngx.errlog',
2727
'ngx.process',
2828
'ngx.re',
29+
'ngx.ssl',
2930
'net.url',
3031
'opentracing.tracer',
3132
'pb',
@@ -35,6 +36,7 @@ local fake_module_list = {
3536

3637
'resty.cookie',
3738
'resty.core.regex',
39+
'resty.core.base',
3840
'resty.hmac',
3941
'resty.http',
4042
'resty.ipmatcher',
@@ -52,6 +54,9 @@ local fake_module_list = {
5254
'resty.rediscluster',
5355
'resty.signal',
5456
'resty.string',
57+
'resty.aes',
58+
'resty.radixtree',
59+
'resty.expr.v1',
5560

5661
'apisix.consumer',
5762
'apisix.core.json',
@@ -84,6 +89,8 @@ ngx.socket = {}
8489
ngx.thread = {}
8590
ngx.worker = {}
8691
ngx.re.gmatch = empty_function
92+
ngx.req = {}
93+
ngx.config = {}
8794
ngx.shared = {
8895
["plugin-api-breaker"] = {}
8996
}
@@ -112,7 +119,10 @@ package.loaded["apisix.core"] = {
112119
table = {
113120
insert = empty_function
114121
},
115-
string = {}
122+
string = {},
123+
version = {
124+
VERSION = ""
125+
}
116126
}
117127

118128

0 commit comments

Comments
 (0)