-
Notifications
You must be signed in to change notification settings - Fork 9
/
kong-plugin-zipkin-0.1.0-1.rockspec
32 lines (28 loc) · 1.37 KB
/
kong-plugin-zipkin-0.1.0-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
package = "kong-plugin-zipkin" -- TODO: rename, must match the info in the filename of this rockspec!
-- as a convention; stick to the prefix: `kong-plugin-`
version = "0.1.0-1" -- TODO: renumber, must match the info in the filename of this rockspec!
-- The version '0.1.0' is the source code version, the trailing '1' is the version of this rockspec.
-- whenever the source version changes, the rockspec should be reset to 1. The rockspec version is only
-- updated (incremented) when this file changes, but the source remains the same.
supported_platforms = {"linux", "macosx"}
source = {
-- these are initially not required to make it work
url = "git://github.com/sfhardma/kong_plugin_zipkin",
tag = "0.1.0"
}
description = {
summary = "Kong is a scalable and customizable API Management Layer built on top of Nginx.",
homepage = "http://getkong.org",
license = "MIT"
}
dependencies = {
}
local pluginName = "zipkin" -- TODO: rename. This is the name to set in the Kong configuration `custom_plugins` setting.
build = {
type = "builtin",
modules = {
["kong.plugins."..pluginName..".handler"] = "kong/plugins/"..pluginName.."/handler.lua",
["kong.plugins."..pluginName..".schema"] = "kong/plugins/"..pluginName.."/schema.lua",
["kong.plugins."..pluginName..".zipkin"] = "kong/plugins/"..pluginName.."/zipkin.lua",
}
}