diff --git a/build/openresty/wasmx/filters/variables.bzl b/build/openresty/wasmx/filters/variables.bzl index 10d44e52f93f..0afea9a308bd 100644 --- a/build/openresty/wasmx/filters/variables.bzl +++ b/build/openresty/wasmx/filters/variables.bzl @@ -2,17 +2,7 @@ A list of wasm filters. """ -WASM_FILTERS = [ - { - "name": "datakit-filter", - "repo": "Kong/datakit", - "tag": "0.3.1", - "files": { - "datakit.meta.json": "acd16448615ea23315e68d4516edd79135bae13469f7bf9129f7b1139cd2b873", - "datakit.wasm": "c086e6fb36a6ed8c9ff3284805485c7280380469b6a556ccf7e5bc06edce27e7", - }, - }, -] +WASM_FILTERS = [] WASM_FILTERS_TARGETS = [ "@%s-%s//file" % (filter["name"], file) diff --git a/changelog/3.9.0/kong/bump-datakit.yml b/changelog/3.9.0/kong/bump-datakit.yml deleted file mode 100644 index b3b0eb3bcd98..000000000000 --- a/changelog/3.9.0/kong/bump-datakit.yml +++ /dev/null @@ -1,2 +0,0 @@ -message: "Bumped the bundled `datakit` Wasm filter to `0.3.1`" -type: dependency diff --git a/changelog/3.9.0/kong/remove-datakit.yml b/changelog/3.9.0/kong/remove-datakit.yml new file mode 100644 index 000000000000..4997628b6aa2 --- /dev/null +++ b/changelog/3.9.0/kong/remove-datakit.yml @@ -0,0 +1,2 @@ +message: "**Wasm**: Removed the experimental datakit Wasm filter" +type: dependency diff --git a/spec/01-unit/03-conf_loader_spec.lua b/spec/01-unit/03-conf_loader_spec.lua index f0b8e492596c..355637185380 100644 --- a/spec/01-unit/03-conf_loader_spec.lua +++ b/spec/01-unit/03-conf_loader_spec.lua @@ -340,7 +340,7 @@ describe("Configuration loader", function() assert.is_not_nil(conf) assert.is_not_nil(conf.admin_gui_origin) assert.same({ "http://localhost:8002" }, conf.admin_gui_origin) - + conf, _, errors = conf_loader(nil, { admin_gui_url = "http://localhost:8002/manager, https://localhost:8445/manager", }) @@ -2062,12 +2062,7 @@ describe("Configuration loader", function() })) assert(conf.wasm_bundled_filters_path) - bundled_filters = { - { - name = "datakit", - path = conf.wasm_bundled_filters_path .. "/datakit.wasm", - }, - } + bundled_filters = {} end all_filters = {} @@ -2164,7 +2159,8 @@ describe("Configuration loader", function() assert.same(bundled_filters, conf.wasm_modules_parsed) end) - it("prefers user filters to bundled filters when a conflict exists", function() + -- XXX: we don't have any bundled filters to use for this test + pending("prefers user filters to bundled filters when a conflict exists", function() local user_filter = temp_dir .. "/datakit.wasm" assert(helpers.file.write(user_filter, "I'm a happy little wasm filter")) finally(function()