Hi,
I am very keen to use this plugin in a db-less Kong setup.
How can I build this plugin to integrate it into a kong installation?
Trying to build it with $ luarocks make *.rockspec results in:
Error: File not found: *.rockspec
So I put a .rockspec file together with this content:
package = "kong-plugin-icap"
version = "1.0-0"
source = {
url = "git+https://github.com/Optum/kong-plugin-icap.git"
}
description = {
summary = "Kong plugin designed to scan http payload against an ICAP server.",
detailed = [[
Virus scanner plugin for Kong APIGateway leveraging ICAP protocol.
]],
homepage = "https://github.com/Optum/kong-plugin-icap",
license = "Apache 2.0"
}
dependencies = {}
build = {
type = "builtin",
modules = {
["kong.plugins.kong-plugin-icap.handler"] = "handler.lua",
["kong.plugins.kong-plugin-icap.schema"]= "schema.lua"
}
}
But I don't think, that I am on the right way. Something or some "glue code" is missing.
Unfortunately I am completely new to Lua, this is my first contact with this language.
Are you planing to release this plugin on Kong Plugin Hub?
Thanks,
Wahid
Hi,
I am very keen to use this plugin in a db-less Kong setup.
How can I build this plugin to integrate it into a kong installation?
Trying to build it with
$ luarocks make *.rockspecresults in:Error: File not found: *.rockspecSo I put a .rockspec file together with this content:
But I don't think, that I am on the right way. Something or some "glue code" is missing.
Unfortunately I am completely new to Lua, this is my first contact with this language.
Are you planing to release this plugin on Kong Plugin Hub?
Thanks,
Wahid