graphql-engine/server/src-lib/Hasura/Server
Robert 9d185ffa03 server: make /healthz action clearer
This is effectively a no-op, the `Left err` case can't actually happen.

- removes some unused logic
- refactors the /healthz endpoint to be clearer
- that includes logging the full QErr if checkMetadataHealth fails,
  but it actually can't because the existing Postgres implementation
  just lifts

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2849
GitOrigin-RevId: ac8abf51b6d869ad4048419e36012137c86e5abd
2021-11-17 17:59:39 +00:00
..
API server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Auth server: forward auth webhook set-cookies header on response 2021-11-09 12:01:31 +00:00
Init [pro, server] Multiple Admin Secrets 2021-11-17 07:33:33 +00:00
Migrate server: relocate some of the pre metadata separation source catalog migrations 2021-11-03 14:21:40 +00:00
Telemetry server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
App.hs server: make /healthz action clearer 2021-11-17 17:59:39 +00:00
Auth.hs [pro, server] Multiple Admin Secrets 2021-11-17 07:33:33 +00:00
CheckUpdates.hs server: drop HasVersion implicit parameter (closes #2236) 2021-10-13 16:39:58 +00:00
Compression.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Cors.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Init.hs [pro, server] Multiple Admin Secrets 2021-11-17 07:33:33 +00:00
Limits.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Logging.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Metrics.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Middleware.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Migrate.hs server: provide option to recreate event triggers of specific or all sources in reload_metadata 2021-11-10 14:35:21 +00:00
OpenAPI.hs fix OpenAPI for mutiple methods on same REST endpoint path 2021-10-14 10:32:18 +00:00
Rest.hs server: drop HasVersion implicit parameter (closes #2236) 2021-10-13 16:39:58 +00:00
SchemaUpdate.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Telemetry.hs server: drop HasVersion implicit parameter (closes #2236) 2021-10-13 16:39:58 +00:00
Types.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Utils.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Version.hs server: drop HasVersion implicit parameter (closes #2236) 2021-10-13 16:39:58 +00:00