mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Add endpoints for exporting pools (wip) and all configurations. Improve the import API to import modules in order. (#4475)
This commit is contained in:
parent
a6acd8e317
commit
50411c94e4
14 changed files with 340 additions and 15 deletions
|
|
@ -33,10 +33,12 @@ if not modules or not modules["notifications"] then
|
|||
end
|
||||
|
||||
local items = {}
|
||||
local notifications_import_export = notifications_import_export:create()
|
||||
items["notifications"] = {
|
||||
|
||||
local notifications_ie = notifications_import_export:create()
|
||||
items[#items+1] = {
|
||||
name = "notifications",
|
||||
conf = modules["notifications"],
|
||||
instance = notifications_import_export
|
||||
instance = notifications_ie
|
||||
}
|
||||
|
||||
import_export_rest_utils.import(items)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue