https://jira.open-o.org/browse/OCS-142
Change-Id: Ifbb83e8f8b7eefc273dc448420e2d9c1eb91fd65
Signed-off-by: zhouruiyu <zhouruiyu@huawei.com>
local white_list= {
auth_token_url,
redirect_url,
local white_list= {
auth_token_url,
redirect_url,
+ '/portal-package/common/'
};
local function verify_value(value)
};
local function verify_value(value)
local actual_body = get_body_params()
ngx.log(ngx.ERR, "HTTP request to driver... ", " Request to driver manager")
local actual_body = get_body_params()
ngx.log(ngx.ERR, "HTTP request to driver... ", " Request to driver manager")
- local res, err = http.new():request_uri(driver_url, {
+ local httpc = http.new();
+ httpc:set_timeout(300000);
+ local res, err = httpc:request_uri(driver_url, {
method = ngx.req.get_method(),
body = actual_body,
headers = actual_headers
method = ngx.req.get_method(),
body = actual_body,
headers = actual_headers