-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkong-plugin-moleculer-bridge-0.1.0-1.rockspec
33 lines (28 loc) · 1.17 KB
/
kong-plugin-moleculer-bridge-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
33
package = "kong-plugin-moleculer-bridge"
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.
local pluginName = package:match("^kong%-plugin%-(.+)$")
supported_platforms = {"linux"}
source = {
url = "https://github.com/OutdatedVersion/kong-plugin-moleculer-bridge",
}
description = {
summary = "Basic proof-of-cocept for a Moleculer protocol/HTTP compatibility layer",
homepage = "https://github.com/OutdatedVersion/kong-plugin-moleculer-bridge",
license = "MIT"
}
dependencies = {
"uuid",
"nats",
}
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 .. ".moleculer"] = "kong/plugins/" .. pluginName .. "/moleculer.lua",
}
}