mirror of
https://github.com/infinition/Bjorn.git
synced 2026-03-15 17:01:58 +00:00
Add Loki and Sentinel utility classes for web API endpoints
- Implemented LokiUtils class with GET and POST endpoints for managing scripts, jobs, and payloads. - Added SentinelUtils class with GET and POST endpoints for managing events, rules, devices, and notifications. - Both classes include error handling and JSON response formatting.
This commit is contained in:
3
utils.py
3
utils.py
@@ -22,6 +22,9 @@ class WebUtils:
|
||||
"action_utils": ("web_utils.action_utils", "ActionUtils"),
|
||||
"rl": ("web_utils.rl_utils", "RLUtils"),
|
||||
"debug_utils": ("web_utils.debug_utils", "DebugUtils"),
|
||||
"sentinel": ("web_utils.sentinel_utils", "SentinelUtils"),
|
||||
"bifrost": ("web_utils.bifrost_utils", "BifrostUtils"),
|
||||
"loki": ("web_utils.loki_utils", "LokiUtils"),
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user