Commit graph

34 commits

Author SHA1 Message Date
Ronald Henderson
356bfcdedc
Added rest script for custom host data with docs and test scripts (#4186)
Co-authored-by: root <root@vortex.rwh.shop>
2020-07-21 08:43:39 +02:00
Alfredo Cardigliano
b6e057d41b Test get_interface_data_01 fix 2020-07-06 18:17:13 +02:00
Alfredo Cardigliano
b139eb0888 Test results update 2020-07-06 17:35:30 +02:00
Simone Mainardi
1702eb7b96 Adjusts REST API tests 2020-06-25 19:36:33 +02:00
Simone Mainardi
2d0b3f1a55 Implements REST API endpoint to get all ntopng active interfaces
Implements #4082
2020-06-25 19:28:48 +02:00
Simone Mainardi
22db534616 Adds mem_total and mem_ntopng_virtual to the test ignores 2020-05-29 18:08:23 +02:00
Simone Mainardi
1d22c3c232 Adjusts naming conventions for rest/v1/get/alert/type/counters.lua 2020-05-29 18:05:35 +02:00
Simone Mainardi
f780152f89 Adjusts naming conventions for rest/v1/get/alert/severity/counters.lua 2020-05-29 18:02:29 +02:00
Alfredo Cardigliano
c12ad4a341 Ignore selected lines from the diff 2020-05-29 17:55:16 +02:00
Simone Mainardi
6ea0531be0 Adjusts types and severities returned by rest/v1/get/alert/data.lua 2020-05-29 17:52:55 +02:00
Simone Mainardi
0d8012d9ec Adjusts naming convention for rest/v1/get/flow/l7/counters.lua 2020-05-29 17:42:31 +02:00
Alfredo Cardigliano
502156c0c9 Add more tests 2020-05-29 17:08:16 +02:00
Alfredo Cardigliano
2e2abf9cd8 More tests 2020-05-29 15:36:12 +02:00
Alfredo Cardigliano
03eb61e724 Test updates/fixes 2020-05-29 15:20:45 +02:00
Alfredo Cardigliano
0c1eff4dfd Use local datadir (no privileges) 2020-05-29 10:26:08 +02:00
Simone Mainardi
0b27f52b4a Adds test for get_alert_severity_consts 2020-05-28 18:59:11 +02:00
Simone Mainardi
e2d5497d52 Implement endpoint to list all interfaces of an host
Implements #3955
2020-05-28 18:57:08 +02:00
Simone Mainardi
0e6bb77433 Implements multi-interface tests; rename test files 2020-05-28 18:38:23 +02:00
Simone Mainardi
fba483b869 Implement getter for protocol constants
Implements ##3945
2020-05-28 17:13:19 +02:00
Simone Mainardi
3afb189336 Shortens category_id to cat_id in a rest json response 2020-05-28 17:01:04 +02:00
Simone Mainardi
38067e4ef8 Adds category id to the rest application consts getter
Implements #3944
2020-05-28 16:58:19 +02:00
Simone Mainardi
04945cc72f Implement getter for categories constants
Implements #3944
2020-05-28 16:51:57 +02:00
Simone Mainardi
8b85f0dd9e Implement getter for application constants
Implements #3944
2020-05-28 16:44:59 +02:00
Simone Mainardi
63628af5bd Simplifies getter for alert constants 2020-05-28 15:54:07 +02:00
Simone Mainardi
699ec1e2fb Implement getter for alert severity constants
Implements #3946
2020-05-28 15:51:39 +02:00
Simone Mainardi
1375efb05e Adds tests for rest/v1/get/alert/type/consts.lua 2020-05-27 15:29:59 +02:00
Simone Mainardi
db43a57c3b Implements better JSON comparison in tests and allows for custom dir and redis 2020-05-27 15:25:38 +02:00
Alfredo Cardigliano
7335b3b2c9 Add v1/get/pool/config v1/get/scripts/config REST API 2020-05-18 18:54:58 +02:00
Alfredo Cardigliano
2073d1d24f Add test 5 2020-05-18 17:47:13 +02:00
Alfredo Cardigliano
b266ab9335 Add v1/get/system/stats v1/get/host/mud REST API 2020-05-18 17:46:50 +02:00
Alfredo Cardigliano
5ebd5ad5c1 Add v1/get/interface REST API 2020-05-18 17:15:17 +02:00
Luca Deri
db7fc18466 Added test pcap 2020-05-18 16:57:47 +02:00
Luca Deri
e69ad5dc7e Removed old code 2020-05-18 09:12:30 +02:00
Luca Deri
e37862fd09 Added REST tests 2020-05-17 21:26:04 +02:00