new configuration version
This commit is contained in:
parent
6c70061403
commit
b2a3ac3cfa
|
@ -46,7 +46,7 @@ spec:
|
||||||
podDisruptionBudget:
|
podDisruptionBudget:
|
||||||
maxUnavailable: "50%"
|
maxUnavailable: "50%"
|
||||||
git:
|
git:
|
||||||
tag: "r-134517b70d990d8460a6fdf313cf72799edbdb49"
|
tag: "r-3d5124a6dc9c177bf140282895b219df06f36804"
|
||||||
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/proxy-idp"
|
dir: "DEFAULT-ADN-AGOV-PROJECT/DEFAULT-ADN-AGOV-INV/proxy-idp"
|
||||||
credentials: "git-credentials"
|
credentials: "git-credentials"
|
||||||
keystores:
|
keystores:
|
||||||
|
|
|
@ -28,18 +28,8 @@ function inputHeader(req, resp)
|
||||||
resp:send(404)
|
resp:send(404)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if Helpers.tableLength(values) ~= 1 then
|
if values ~= nil then
|
||||||
trace:info("utility service called with invalid value for query param " .. param)
|
trace:info("Query param " .. param .. " value is " .. type(values))
|
||||||
resp:send(404)
|
|
||||||
return
|
|
||||||
end
|
|
||||||
for i, value in pairs(values) do
|
|
||||||
local lang = string.upper(value)
|
|
||||||
if not validLanguages[lang] then
|
|
||||||
trace:info("utility service called with invalid value for query param " .. param .. "=" .. value)
|
|
||||||
resp:send(404)
|
|
||||||
return
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue