Backend for ClusterCockpit Monitoring Framework. GitHub Mirror
Go to file
2021-03-31 08:54:14 +02:00
graph Fix path errors. Fix data schema. 2021-03-31 08:50:53 +02:00
utils Introduce new golang job-archive backend 2021-03-31 07:23:48 +02:00
go.mod Fix path errors. Fix data schema. 2021-03-31 08:50:53 +02:00
go.sum Introduce new golang job-archive backend 2021-03-31 07:23:48 +02:00
gqlgen.yml Fix path errors. Fix data schema. 2021-03-31 08:50:53 +02:00
LICENSE Initial checkin. 2019-04-29 10:21:48 +02:00
README.md Update README.md 2021-03-31 08:54:14 +02:00
server.go Fix path errors. Fix data schema. 2021-03-31 08:50:53 +02:00

Run server

  • go run server.go

Debugging and Testing

There is a GraphQL PLayground for testing queries at http://localhost:8080/ .

Changing the GraphQL schema

  • Edit ./graph/schema.graphqls
  • Regenerate code: gqlgen generate
  • Implement callbacks in graph/schema.resolvers.go