towerops/lib/towerops_web/graphql/resolvers
Graham McIntire 72f81c572d
add real-time GraphQL API with time-series queries and subscriptions
- add absinthe_phoenix for WebSocket subscription support
- create GraphQL WebSocket socket with API token auth at /socket/graphql
- add time-series queries: deviceSensors, sensorReadings, interfaceTraffic, checkResults
- add subscriptions: deviceStatusChanged, alertEvent, sensorReadingsUpdated
- wire subscription triggers into agent_channel and alerts contexts
- add org-scoped access control for sensors/interfaces via join queries
- add 17 tests covering queries, org isolation, empty data edge cases, and auth
- update GraphQL API docs page with time-series and subscription sections
2026-03-12 10:24:39 -05:00
..
activity.ex fix: resolve compilation errors, test failures, and credo issues 2026-02-14 12:23:10 -06:00
agent.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
alert.ex ux: improve PagerDuty integration clarity 2026-02-14 11:28:57 -06:00
device.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
escalation_policy.ex feat: add REST API and GraphQL for on-call schedules and escalation policies 2026-03-11 14:01:15 -05:00
helpers.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
integration.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
maintenance_window.ex add maintenance windows REST API and GraphQL support 2026-03-11 14:33:25 -05:00
member.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
organization.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
schedule.ex feat: add REST API and GraphQL for on-call schedules and escalation policies 2026-03-11 14:01:15 -05:00
site.ex perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
time_series.ex add real-time GraphQL API with time-series queries and subscriptions 2026-03-12 10:24:39 -05:00