tzssangglass commented on code in PR #8403: URL: https://github.com/apache/apisix/pull/8403#discussion_r1034683801
########## apisix/admin/utils.lua: ########## @@ -78,4 +80,29 @@ function _M.fix_count(body, id) end +function _M.decrypt_params(decrypt_func, body, schema_type) + -- list + if body.list and #body.list > 0 then + for _, route in ipairs(body.list) do + if route.value and route.value.plugins + and core.table.nkeys(route.value.plugins) > 0 then Review Comment: done ########## apisix/plugin.lua: ########## @@ -849,6 +850,71 @@ check_plugin_metadata = function(item) end +local enable_data_encryption +local function enable_gde() + if enable_data_encryption == nil then + enable_data_encryption = + core.table.try_read_attr(local_conf, "apisix", "data_encryption", "enable") + _M.enable_data_encryption = enable_data_encryption + end + + return enable_data_encryption +end + + +local function get_plugin_schema(name, schema_type) Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
