Commit d0b3ce1
feat!: Dashboards v3 (#141)
* ci: Move Policy v2 from examples to tests
* chore: Expand imports
* ci: Add test to remove all policies
* ci: Add coverage for tests
* ci: Add error tests for policy v2
* ci: Add monitor alert tests
* ci: Add Dashboard V2 tests
* ci: Test with mamba while the agent is running for capture creation
* ci: Add Captures v1 tests
* ci: Increase the poll time to 1 minute and add Docker cache
* ci: Remove Monitor API script test
* ci: Add virtualenv folder to cache
* ci: Rename capture in tests
* ci: Remove .travis.yml
* ci: Increase the poll time to 5 minute
* ci: Remove docker cache due to permission errors
* feat: Split Monitor client into EventsClient clients
* ci: Move event_spec tests to events_v2_spec
* ci: Add Agent tests
* fix(ci): Wait for config changes to be propagated in the agents
* feat: Add list, add, delete and create default tests for policies v1
* fix(ci): Increase wait time after changing config
* feat: Add test listing policies priorities for policies v1
* feat: Add test to get a policy for policies v1
* feat: Add update policy test for policies v1
* refactor: Changed delete all policies test to use a single delete_all_policies() call for policies v1
* chore(ci): Deactivate Capture tests
Since we cannot control whether the agent is able to create
captures or not, and it's not our duty verify that, but offer
a Python API for the Backend API, we are disabling these tests
but maintaining them for future reference.
* feat: Add change evaluation order of policies test for policies v1
* fix: Add missing import to change the evaluation order of policies test for policies v1
* feat: Add get policy by id test for policies v1
* feat: Add delete single policy by id test for policies v1
* feat: Add delete single policy by name test for policies v1
* feat!: Add Dashboards v3 client and split Monitor
BREAKING CHANGE:
Splits the SdMonitorClient into a DashboardClient's,
both from version v2 and v3. By default now SdMonitorClient
inherits from DashboardClientV3 and therefore implements
all the interface, but the following methods have changed
the signature:
- add_dashboard_panel
- remove_dashboard_panel
This is required because the Dashboards V3 do not implement
the same kind of panels as V2 implemented.
Signed-off-by: Federico Barcelona <fede_rico_94@hotmail.com>
* chore: Add tatsu as dependency in setup.py
Co-authored-by: Vicente Herrera <vicenteherrera@vicenteherrera.com>1 parent 322be7e commit d0b3ce1
File tree
14 files changed
+2048
-838
lines changed- sdcclient
- monitor
- dashboard_converters
- specs/monitor
- dashboard_converters
14 files changed
+2048
-838
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
0 commit comments