generated from Kong/kong-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kong-plugin-response-transformer-extra-2.8.1-1.rockspec
40 lines (31 loc) · 1.4 KB
/
kong-plugin-response-transformer-extra-2.8.1-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
local plugin_name = "response-transformer-extra"
local package_name = "kong-plugin-" .. plugin_name
local package_version = "2.8.1"
local rockspec_revision = "1"
local github_account_name = "hakancelikdev"
local github_repo_name = package_name
local git_checkout = package_version == "dev" and "master" or package_version
package = package_name
version = package_version .. "-" .. rockspec_revision
supported_platforms = { "linux", "macosx" }
source = {
url = "git+https://github.com/"..github_account_name.."/"..github_repo_name..".git",
branch = git_checkout,
}
description = {
summary = "Kong plugin response transformer extra; Transformations can be restricted to responses with specific status codes using various config.*.if_status configuration parameters.",
homepage = "https://"..github_account_name..".github.io/"..github_repo_name,
license = "Apache 2.0",
}
dependencies = {
}
build = {
type = "builtin",
modules = {
-- TODO: add any additional code files added to the plugin
["kong.plugins."..plugin_name..".handler"] = "kong/plugins/"..plugin_name.."/handler.lua",
["kong.plugins."..plugin_name..".schema"] = "kong/plugins/"..plugin_name.."/schema.lua",
["kong.plugins."..plugin_name..".body_transformer"] = "kong/plugins/"..plugin_name.."/body_transformer.lua",
["kong.plugins."..plugin_name..".header_transformer"] = "kong/plugins/"..plugin_name.."/header_transformer.lua",
}
}