Skip to content

insights: add GraphQL resolvers + extensive tests

Warren Gifford requested to merge sg/insights-resolvers into main

Created by: slimsag

This change adds the GraphQL resolvers + extensive tests for them. I used my autogold package for some of the tests as I've seen some other folks here use it already (otherwise I wouldn't out of bias.)

The resolvers here pull information from the global settings, with user/org settings (which requires some auth handling) deferred to later.

The resolvers are not yet hooked up to the DB store / TimescaleDB for pulling information, that will come next.

Fixes #17221 (closed) Helps #17218 (closed)

Signed-off-by: Stephen Gutekanst [email protected]

Merge request reports

Loading