graphql-engine/server/src-lib/Hasura
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
..
Backends server: make /healthz action clearer 2021-11-17 17:59:39 +00:00
Base server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Cache server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Eventing server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
GraphQL Allow "extensions" field in remote schema response 2021-11-10 02:34:56 +00:00
Incremental server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Metadata server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
RQL Allow use of self signed for connections to lux logging and oauth flow 2021-11-16 08:15:25 +00:00
Server server: make /healthz action clearer 2021-11-17 17:59:39 +00:00
SQL server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
App.hs server: provide option to recreate event triggers of specific or all sources in reload_metadata 2021-11-10 14:35:21 +00:00
EncJSON.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
GC.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
HTTP.hs server: drop HasVersion implicit parameter (closes #2236) 2021-10-13 16:39:58 +00:00
Incremental.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Logging.hs server: log DB locking queries during source catalog migration 2021-11-09 14:22:44 +00:00
Prelude.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
QueryTags.hs server: add explicit export lists in OSS server and enforce with warning 2021-11-04 16:09:38 +00:00
Session.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00
Tracing.hs server: interpTraceT docs and small changes 2021-09-25 04:00:34 +00:00