Marion Schleifer
e5db48af61
docs: add availability badge for cloud api ref
...
## Description
[Jira ticket](https://hasurahq.atlassian.net/jira/software/projects/DOCS/boards/19?selectedIssue=DOCS-273 )
This PR adds availability badges to the [API reference](https://hasura.io/docs/latest/api-reference/index/ ) in docs, so that they are in line with the feature docs.
I only found one instance where the badge was missing, which is the [Cloud API reference](https://hasura.io/docs/latest/api-reference/cloud-api-reference/ ). Everything else (except the [Source Health Check API](https://hasura.io/docs/latest/api-reference/source-health/ ) - which already has an availability badge) seems to be available in all editions.
Whoever reviews this, please let me know if I'm missing something here and if more badges are required.
## Quick links
[Cloud API Reference](https://marion-docs-add-availability.hasura-docs-mono.pages.dev/docs/latest/api-reference/cloud-api-reference/ )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7312
GitOrigin-RevId: 433c885d65597228039c993e29d38eee5cb140fa
2022-12-19 14:21:52 +00:00
Abby Sassel
a8500b44ed
server/fix: stringify-numeric-types
option in remote database relationships ( fix #8387 )
...
Fix bug where `stringify-numeric-types` option is not respected in remote database relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7302
GitOrigin-RevId: a649b00b45ca0f67dc84ad893d3d98529b064c77
2022-12-19 14:04:58 +00:00
Samir Talwar
07be94c4eb
server: Destroy metadata database connection pools on shutdown.
...
We currently let the garbage collector and/or the operating system clean up our mess. This is mostly fine in production (kind of) but a problem when we want to start many HGE servers in parallel for testing purposes.
Shutting them down should, in theory, ease the load.
There is more work to be done in the API test suite before this is very helpful. Right now the test suite actually runs the finalizers on the server context straight away and then uses the leaked resources. As there's no way to actually "close" a connection pool, it keeps working regardless. If we wanted to be strict about this we might want to add a "closed" flag to `Data.Pool` which would cause an exception on `withResource` after closing it.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7299
GitOrigin-RevId: ba02f96c7b5b06ba3ba7080a5583a56cb0efcfa7
2022-12-19 12:46:42 +00:00
Daniel Harvey
9c36e27090
[tooling] fix ghcid
commands in Makefile
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7311
GitOrigin-RevId: b1ef35807667a1c154bfe4282e65688bd2a40109
2022-12-19 11:43:29 +00:00
Stefano Magni
9ab0aecc06
console: Unify all the Analytics stories
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7274
GitOrigin-RevId: 8f9f3f750d564411385c4d74552554d8e8e54afb
2022-12-19 11:34:35 +00:00
Gil Mizrahi
b370ee55f1
remove references to MSSQL_DOCKER in dev.sh
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7316
GitOrigin-RevId: c562bb6a5a7d769620a4119837cfeb992ced4bda
2022-12-19 10:00:13 +00:00
hasura-bot
6270ff4d0d
[GQL-19] #8537 Move the scroll/count of rows facility to a position that is above the table, not below as currently
...
GITHUB_PR_NUMBER: 8708
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8708
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5127
Co-authored-by: GitStart <1501599+gitstart@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: e9fb1fb8e8ae272f6095a4bf4e1fda934a90026f
2022-12-19 04:32:04 +00:00
Luca Restagno
a7d34b030b
Create the hook to fetch the table rows from the server and download as CSV/JSON
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7292
GitOrigin-RevId: 65ee45e8b21b5bb4be23f046e69d0442f03559d7
2022-12-19 04:01:18 +00:00
Samir Talwar
9175ee3b33
Docker: Add explicit platform
s for databases.
...
Some databases don't provide `arm64` Docker images, leading to warnings when running `docker compose up` on macOS arm64.
We can suppress these warnings by explicitly stating that we want the amd64 images, even on arm64 machines. (They run through virtualization.)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7309
GitOrigin-RevId: 8e5edfd2508d5c5007162ad4056c7ec32793faef
2022-12-18 23:07:22 +00:00
Rob Dominguez
8b4374202f
docs: add docs devcontainer
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7296
GitOrigin-RevId: 68d9ac0bc8697aad0661480b33f65949ffdc8a80
2022-12-16 17:39:29 +00:00
Sean Park-Ross
47eeace9a6
Docs: Switch to SWC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7304
GitOrigin-RevId: c413cc5145b54ef89b16aef792332a85b681b3d7
2022-12-16 15:54:07 +00:00
Vijay Prasanna
32b56723a9
fix (console): Invalidate metadata global hook cache after tracking/untracking GDC tables
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7308
GitOrigin-RevId: bdb81c162bb6bf489464201907e75571920b129f
2022-12-16 15:13:59 +00:00
Nicolas Beaussart
55307f1797
ci: introduce frontend related ci
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6991
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: 88173064e50d3e05cd1606f7c2a5b9edf1d5857b
2022-12-16 14:37:27 +00:00
Daniel Harvey
2bfca9941d
[server] newtypes for BigQuery projectId and dataset
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7279
GitOrigin-RevId: 878367c073280111f381eec75c5b53e9e02bd3cd
2022-12-16 13:19:05 +00:00
Sean Park-Ross
6cc40a54e1
Docs: Remove response body analysis
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7303
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 66ed5829d498b871d30883a50cfdd52412aa01e4
2022-12-16 11:05:22 +00:00
Karthikeyan Chinnakonda
0a68d00422
server: remove a redundant argument passed to replaceMetadataV2
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7291
GitOrigin-RevId: 841144cdf9e70fb682cd27ea5f918b168f2a3bbd
2022-12-16 10:21:04 +00:00
Stefano Magni
9fd0a2a773
console: Skip some flaky E2E tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7284
GitOrigin-RevId: 045ad9e03f68d598255221d7253ad39659b8d876
2022-12-16 06:52:21 +00:00
Jesse Hallett
4d6604ba08
server: event trigger codecs
...
Codecs for event triggers, including webhook transforms. These are not hooked into the higher-up table metadata codec yet because some backend implementations implement event triggers with `error` which causes an error when codecs are evaluated. I plan to follow up with another PR to resolve that.
Ticket: https://hasurahq.atlassian.net/browse/GDC-585
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7237
GitOrigin-RevId: 8ce40fe6fedcf8b109d6ca50a505333df855a8ce
2022-12-15 20:38:21 +00:00
Daniele Cammareri
917d67154e
docs: add import from openAPI doc
...
This PR adds the documentation for the Import Action from OpenAPI feature
<img width="959" alt="image" src="https://user-images.githubusercontent.com/5709409/207611375-913d4eb2-9af0-4ac5-82e8-0a0709ce3b1a.png ">
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7276
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 981ab2e3df7d00fabd6963eb97ee477ca7bd2c5d
2022-12-15 18:39:56 +00:00
Tom Harding
1d0b466954
Run the DefaultRootFieldSpec
tests on all backends.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7293
GitOrigin-RevId: f7c22212badc11016e87a491bb0017642b3ac7c0
2022-12-15 18:18:29 +00:00
Jesse Hallett
c265e303f6
server: codecs for remote schemas metadata
...
These codecs should fully cover the `remote_schemas` property of the Metadata type.
Ticket: [GDC-522](https://hasurahq.atlassian.net/browse/GDC-522 )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6812
GitOrigin-RevId: 1b256f6829486295957c232b92ff184bd9a86469
2022-12-15 17:39:22 +00:00
Philip Lykke Carlsen
bd2e2080f8
server/tests: Port TestGraphQLQueryFunctions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7158
GitOrigin-RevId: a4b3ca8565df37905665303f96fd40ec4b9e76dd
2022-12-15 16:42:55 +00:00
Rob Dominguez
4d64644ae1
docs: add rules for tabs and include groupId prop
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7183
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 8647d3fcfd57c3419ef2be7864172d63861779c1
2022-12-15 16:09:53 +00:00
Tom Harding
ae33e34e2d
Implement permission checks in the API tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7264
GitOrigin-RevId: 55ff8ff31609b7598d2382ded5dd96f5825ee4fd
2022-12-15 16:02:31 +00:00
paritosh-08
9f99a40f2d
Revert "server: fix MSSQL event trigger next_retry_at
"
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7290
GitOrigin-RevId: 4cb461dd6f25e55ba1c9bd587d98a56f71ff8223
2022-12-15 15:31:40 +00:00
Varun Choudhary
0e9c7c4ab9
console: integrate new one-off scheduled event form with console
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7283
GitOrigin-RevId: f29c20b8b2f49415b948198086ff0aafa5b39e81
2022-12-15 14:44:10 +00:00
Sameer Kolhar
ebe94ea11d
console: fix issues with MRAU feature(s)
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7211
GitOrigin-RevId: 6dff9629b413f692e248582cd08e9ad2fb49a407
2022-12-15 13:44:43 +00:00
Nicolas Beaussart
6f5bd9cb63
frontend: re import code into new console code
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7280
GitOrigin-RevId: e403f0a05ee94ee0ddac0e263af44b15706a7d00
2022-12-15 10:04:26 +00:00
Naveen Naidu
282e94b2de
pro/server: add user_id of the collaborator in http_log
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7154
GitOrigin-RevId: 6f60a7c7be5b083e6adf6c3ab9991142f62434df
2022-12-15 07:49:37 +00:00
Tom Harding
f2dd4a5eb7
Remove *Source
fields from API test permissions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7275
GitOrigin-RevId: 44345ec361fdbb93f2c166825e5d78983759b5b0
2022-12-14 18:43:44 +00:00
Samir Talwar
beb20c7dab
server/tests-py: Remove a check for PostgreSQL 10.
...
We no longer support this and therefore don't run tests against it.
This also refactors the code a little so it doesn't have to skip running a PostgreSQL-specific test against MS SQL Server.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7201
GitOrigin-RevId: 307c2ab0052162c012f7b1c55866b57f2fa6d9a6
2022-12-14 16:57:28 +00:00
Abby Sassel
57f456a4cf
add run-new.sh docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7278
GitOrigin-RevId: 6c17cc846b39a4236f65dd5ab6baac4529b38f4c
2022-12-14 16:11:00 +00:00
Nicolas Beaussart
df7234fe7d
frontend: upgrade to jest 27
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7208
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: 52f4fb7e17a27bd181ad6bb030e5947c9ce4f819
2022-12-14 16:00:54 +00:00
Nicolas Inchauspe
1579e334cb
Fix/form component
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7124
GitOrigin-RevId: fbaaa9f2e4377ebefccacc399472ead6a64927c6
2022-12-14 15:13:14 +00:00
Sean Park-Ross
9006ddd2d7
Docs: Adds info about Monitoring > Operations enabling response body analysis and query variables
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7229
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 98b1ed714d99b0e474d990c9da007ec47b897b24
2022-12-14 13:47:01 +00:00
Rob Dominguez
e0113dca95
docs: update cli install instructions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7245
GitOrigin-RevId: 5c2274eb3b5e8187bd62a8ce2e5e62e4624a064f
2022-12-14 13:41:57 +00:00
hasura-bot
c190cbd344
Update neon.mdx
...
GITHUB_PR_NUMBER: 9274
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9274
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7197
Co-authored-by: danieltprice <10074684+danieltprice@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: e4c5f1c0f640f11ae095b01c12c666ad80a561ac
2022-12-14 12:11:20 +00:00
Varun Choudhary
cd3942f15e
console: refactor one-off scheduled event
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7252
GitOrigin-RevId: 4c463aa0c88879363c7a5d57c64f7444e2e59c15
2022-12-14 11:51:32 +00:00
Rishichandra Wawhal
82be6f0b3b
console: add control plane ws url to endpoints; minor refactor
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7233
GitOrigin-RevId: 62d92c9021030d6ae23116f9ef8f5a664e5750ff
2022-12-14 09:14:42 +00:00
Aravind K P
acf5ea4c7e
cli: fix CLI console not respecting offline mode configuration
...
fixes https://github.com/hasura/graphql-engine/issues/8482
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7257
GitOrigin-RevId: a398de5d4fccc670b9f6e25d3cdd92efb24a23f8
2022-12-14 08:32:37 +00:00
Divi
62708ca6bd
ci: update catalog version for v2.16.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7271
GitOrigin-RevId: a7978ae1c0dd4d402f6293a74cf45acba560a456
2022-12-14 07:14:24 +00:00
Vijay Prasanna
6648621fbe
fix(console): update read replica payload to contain ssl_configuration
, isolation_level
and use_prepared_statements
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7253
GitOrigin-RevId: d55fb3e6fbd98ce8f1031fa2292e030057b6b8f7
2022-12-14 05:40:03 +00:00
Mohd Bilal
62d997a590
cli: add support for opentelemetry
in metadata
...
closes https://hasurahq.atlassian.net/browse/PLAT-297
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7267
GitOrigin-RevId: d35f50b8abdc726446ee583a4abfabde2a496721
2022-12-14 04:23:12 +00:00
Daniel Harvey
2e7ea7e780
[pro/tests] add sample tests for api-tests-pro
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7180
GitOrigin-RevId: 65f8b5fefbb2341dad0cf73e6b1d2e9d604e6bfb
2022-12-14 03:47:32 +00:00
Brandon Simmons
3b0ad30757
server: don't compress small responses
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7216
GitOrigin-RevId: 20a94267eca42edf8e79470711766a3fecac0f50
2022-12-13 17:50:01 +00:00
paritosh-08
3397c041bc
server: fix MSSQL event trigger next_retry_at
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7173
GitOrigin-RevId: 862ab4136e0df6b7fa1e2db2c3edfffa318452de
2022-12-13 15:18:23 +00:00
Marion Schleifer
5b38518a64
docs: update yarn version in docs wiki
...
## Description
Tim (Head of Security) made me aware that we're linking to an [old version of yarn](https://classic.yarnpkg.com/lang/en/docs/install/#mac-stable ) in our [docs wiki](https://hasura.io/docs/wiki/contributions/#mise-en-place ). This PR updates to the [most recent docs](https://yarnpkg.com/getting-started/install ).
## Quick links
[docs/wiki/contributions](https://ae91bccf.hasura-docs-mono.pages.dev/docs/wiki/contributions/#mise-en-place )
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7239
GitOrigin-RevId: f48ef559a6f56dde0f35a444a8e3c92c8454b170
2022-12-13 13:11:08 +00:00
Gil Mizrahi
570e16efe7
Revert "[server/test] create new HGE per test"
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7255
GitOrigin-RevId: c971e9e227263b0956069c0687acacf4d3ff90a9
2022-12-13 12:37:27 +00:00
Auke Booij
51fc104793
server: don't let query collection validation prevent engine startup
...
Generate more Metadata Inconsistencies instead of startup failures. Specifically this means that
- errors retrieving the main query of an executable GraphQL document, and
- errors during fragment inlining
no longer fail irrecoverably.
This also makes more parts of `buildSchemaCacheRule` into pure code, which is always nice.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7234
GitOrigin-RevId: aebf636c2fb1aad1c2df9a37f7d0b67c1ee40c42
2022-12-13 09:56:27 +00:00
Rob Dominguez
5d4337778e
docs: fix cloud db links
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7244
GitOrigin-RevId: 351b0fcd2544c7b4b018b435698499d7540a4d57
2022-12-13 08:20:34 +00:00