Commit Graph

5970 Commits

Author SHA1 Message Date
Nicolas Inchauspe
eb0c9d563e console: fix wrong illustration is displayed for Prometheus enabled screen
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7383
GitOrigin-RevId: 78c4cc9a1fe95c7c889423ad85f853ba4f255379
2022-12-30 11:08:23 +00:00
Rob Dominguez
880182c805 docs: improve Long values for CLI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7399
GitOrigin-RevId: 6e848f6eae2e5418c386f814623c122646db12c7
2022-12-30 03:52:33 +00:00
Mohd Bilal
e75edb0629 cli: Add support for data connectors metadata changes.
closes https://hasurahq.atlassian.net/browse/PLAT-181

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7178
GitOrigin-RevId: f4c1c39ac33586870e38623bb85f09d5c98a3817
2022-12-29 14:37:47 +00:00
Mohd Bilal
06b7952149 cli: refactor migrate/migrate.go to use internal/errors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7232
GitOrigin-RevId: 51ed7ae004957d94568e16c8309920a5960cbc0d
2022-12-28 13:30:16 +00:00
paritosh-08
0b7ed96c46 server/telemetry: add experimental feature list
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7395
GitOrigin-RevId: f6a8c847c42c65616e816175135f0002e5f8c684
2022-12-28 07:16:35 +00:00
awjchen
1ec5efd5d3 server: replicate log-based data transfer metrics as prometheus metrics
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7354
GitOrigin-RevId: 3f49b8ebba515b42a9d7b22e83e6f39d9d6087c6
2022-12-28 03:49:33 +00:00
Meet Zaveri
3070470728 docs: document a new breaking change for v2 (related to extra GQL params)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7378
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 6dc830ed22e8e7196993f683c8cbed2c2bd2f4b5
2022-12-27 15:03:46 +00:00
Marion Schleifer
7dffbc6a0d docs: add bullet point on infinitive verb form in headings to docs wiki
## Description

This PR adds a bullet point on using the infinitive verb form in docs headings to the docs wiki.

## Quick link

[/docs/wiki/style/headings](https://marion-docs-update-wiki-to-u.hasura-docs-mono.pages.dev/docs/wiki/style/headings/)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7397
GitOrigin-RevId: 88b38d6c771f8e9fc7a70189cea15e6c9caf9f57
2022-12-27 14:49:31 +00:00
Rakesh Emmadi
9a3488920f docs: add an info note documenting known limitation with multiplexed subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7382
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: ce1a39d4ddb2f8500a5e2408acf6f3cfddcb44f6
2022-12-27 14:35:20 +00:00
Manas Agarwal
68f4f8a819 Docs: Add metrics_config metadata API docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7337
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Marion Schleifer <5722022+marionschleifer@users.noreply.github.com>
GitOrigin-RevId: e852f95917491504a44e425a6ee8176c3644416b
2022-12-27 14:27:24 +00:00
Rob Dominguez
3fc7320fbd docs: add hotfix links
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7391
GitOrigin-RevId: 836f7878bf169073f91af5524f13e19b3a75a046
2022-12-23 21:47:11 +00:00
Jesse Hallett
4f996fcb2f server: codecs for some health check types
Small PR with codecs for a few health check types. This adds a `HasCodec` implementation for `Seconds` to `hasura-prelude`.

Ticket: https://hasurahq.atlassian.net/browse/GDC-585

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7328
GitOrigin-RevId: 8da2d9115d76be7177e5cc72a333c5a9cf6f759a
2022-12-23 18:16:58 +00:00
Rob Dominguez
f27146dec4 docs: update EE quickstarts
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7388
GitOrigin-RevId: d90898f4e1e2ddb1ed33d6776a1731a2889acf09
2022-12-23 16:51:27 +00:00
Daniel Chambers
c7bb13a776 Add Data Connector agent by default in our sample Docker Compose files
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7379
GitOrigin-RevId: 90a33845c924b464ab3c2c10316f7665a575e520
2022-12-23 15:46:28 +00:00
Marion Schleifer
6fad57dc3b docs: update title / sidebar capitalization & use infinitive verb form in headings (close #8885)
## Description

Close: https://github.com/hasura/graphql-engine/issues/8885.

This PR introduces the following changes:
- Capitalize `#1` headings.
- Change sidebar labels to only capitalize features.
- Add missing 'Cloud & EE:' (example) information to title to show in browser tabs.
- Use infinitive verb form in sidebar and `#1` headings to make it consistent with the rest of docs and to save space.
- Updated the `data-federation/data-federation-types` page.

Question to the reviewer:
- `Use infinitive verb form in sidebar and #1 headings`: Should we add this to the wiki?

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7365
GitOrigin-RevId: 309156a0e7c945edaab950e347025b9e5e1ea9e7
2022-12-23 14:28:26 +00:00
Rob Dominguez
21900dde2d docs: fix vars and headers showing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7348
GitOrigin-RevId: 57ff08f3159b7e8e62a7c02d7f1a5f2949c81364
2022-12-23 13:44:24 +00:00
Julian@Hasura
523500ef97 console: Interaction tests for TrackedTables GDC-296
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7220
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: d6e96f813126802e384e13e7b824b29a87e64795
2022-12-23 13:06:17 +00:00
paritosh-08
825e256523 server: respect custom column name for graphql-default
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7289
GitOrigin-RevId: a1d0174034c9f2ee3577b05932db6a159aca4220
2022-12-23 11:03:48 +00:00
Stefano Magni
78936fd78b console: Add the OpenTelemetry banners in Storybook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7361
GitOrigin-RevId: 0a098000acf94b7957c67af6178d0b3d22ab46a6
2022-12-23 09:55:57 +00:00
awjchen
ee78e32c6e server: implement trace sampling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7300
GitOrigin-RevId: d96d7fa5aaf0c1e71d1c4c0fa8f0162abce39e18
2022-12-22 19:48:51 +00:00
Rakesh Emmadi
e1bf220b37 fix the issue with multiplexed queries, where a run-time exception caused by one subscription causes all subscriptions to fail (fix #9281)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7230
GitOrigin-RevId: e94764a4652e7ee99e0e39d64436aa05620086cb
2022-12-22 17:09:30 +00:00
Daniel Harvey
ebe8f72f25 [tooling] reduce CRDB sleep in docker healthcheck
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7373
GitOrigin-RevId: 12032bdd29ce59ac65eff9e79a0f2f4fd8c729bf
2022-12-22 16:34:39 +00:00
Julian@Hasura
082f83fc20 Allow user to view their table's foreign key info
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7130
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: f2e015ff317edd71d628b58f8eaebad3cf2a3c69
2022-12-22 15:12:32 +00:00
Luca Restagno
bcb46c863d [GCU-50] Export to CSV or JSON
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7359
GitOrigin-RevId: d0ebde91206e5ba750301151ddd2ee283fb31be4
2022-12-22 14:30:41 +00:00
Tom Harding
8490874eab Show instance for GlobalTestEnvironment
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7370
GitOrigin-RevId: 77dbcfb686219ce23e4d751c8d934f81c04a222d
2022-12-22 13:19:34 +00:00
Tom Harding
8325c03500 Update the fixture repl macro
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7366
GitOrigin-RevId: f34a42c4dfd2dc257ffe39f4a0db12beb2630629
2022-12-22 11:26:48 +00:00
Rikin Kachhia
73e333a412 clarify computed field fns need not be tracked
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6151
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: e5afbf12bdf2ed7439e535e168152e876a6260cb
2022-12-22 10:51:45 +00:00
Daniele Cammareri
a8a36bf7ee console: use new cron trigger form
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7236
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 2b32f418258d1cd6ba269de3e88fee939d1b640b
2022-12-22 09:36:29 +00:00
Rikin Kachhia
c256dcef7b cli: add option to apply seeds with the hasura deploy command
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7231
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 3cc7510bb16e8bceeb6cd2a678881a3459b6721f
2022-12-22 07:56:56 +00:00
Jesse Hallett
f4fa960ec6 server: safely signal backend support for event triggers
Hooks up event trigger codecs from #7237. This required fixing a problem where some backend types implemented `defaultTriggerOnReplication` with `error` which caused the server to crash when evaluating those for default values in codecs. The changes here add a type family to `Backend` called `XEventTriggers` that signals backend support for event triggers, and changes the type of `defaultTriggerOnReplication` to from `TriggerOnReplication` to `Maybe (XEventTriggers b, TriggerOnReplication)` so that it can only be implemented with a `Just` value if `XEventTriggers b` is inhabited. This emulates some existing type families in `Backend`. (Thanks to @daniel-chambers for this suggestion!)

I used the implementation of `defaultTriggerOnReplication` as a signal for event triggers support to prune the Metadata API so that event trigger fields will not appear in the OpenAPI spec for backend types that do not support event triggers. The codec version of the API will also not emit or accept those fields for those backend types. I think I could use `Typeable` to test whether `XEventTriggers` is `Void` instead of testing whether `defaultTriggerOnReplication` is `Nothing`. But the codec implementation will crash anyway if `defaultTriggerOnReplication` is `Nothing`.

I checked to make sure that graphql-engine-pro still compiles.

Ticket: https://hasurahq.atlassian.net/browse/GDC-521

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7295
GitOrigin-RevId: 2b2dd44291513266107ca25cf330319bf53a8b66
2022-12-21 17:15:31 +00:00
Samir Talwar
204ec89c61 server/tests-py: Get all tests passing with separate HGE binaries.
This rewrites the last couple of Python tests that were failing when run with a separate HGE binary per test class. The changes are as follows:

1. The event triggers tests, naming conventions tests, and subscriptions tests all generate a new source DB per test, so can run in parallel.
2. The scheduled triggers tests use the correct URL for the trigger service when the port is generated randomly.
3. Whitespace and trailing commas are added to the scheduled triggers tests.
4. Support for SQL Server is added to _hge.py_ so the naming conventions test that runs on SQL Server passes. (The other SQL Server tests do not pass and we're not going to bother with them for now.)
5. Container names are fixed in _run.sh_.
6. _run.sh_ and _run-new.sh_ don't pull images explicitly as it's annoying when running tests a lot. If you want to pull the latest versions, just run `docker compose pull` from the _server/tests-py_ directory, or the root directory. (If you don't have the images at all, they'll still be pulled automatically.)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7350
GitOrigin-RevId: db58f310f017b2a0884fcf61ccc56d15583f99bd
2022-12-21 15:56:41 +00:00
Manas Agarwal
905e5439c9 Docs: update API Limit related API reference docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7126
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 1f50ee674493856385f3686ad3c675daffcf41ad
2022-12-21 14:44:06 +00:00
Meet Zaveri
66b24014a6 docs: add limitations note to query filters nested objects section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7342
GitOrigin-RevId: 181159738f52555b0c8bdcc935da2ac45bb73799
2022-12-21 14:40:31 +00:00
Tirumarai Selvan
faf9be9d49 fix escapeUri syntax in rest connectors
## Changelog ✍️

__Type__: bugfix

__Product__: community-edition

### Short Changelog

Fix usage of `escapeUri` Kriti function in Rest Connectors for Actions and Event Triggers

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7305
GitOrigin-RevId: 8a66fb85b9386a0e4f1f9b5809d56c575a2f90ab
2022-12-21 14:37:24 +00:00
Daniel Harvey
9a59204525 [server/tests] Round trip tests for BigQuery types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7310
GitOrigin-RevId: aaff93e6288ca933770d9ecfa6c5350ebf8177b3
2022-12-21 13:58:58 +00:00
Matthew Goodwin
3e54787035 console: new drop down menu [GCU-49]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7269
Co-authored-by: Luca Restagno <59067245+lucarestagno@users.noreply.github.com>
GitOrigin-RevId: e3625001b4196171d2f62920f56451a1984f9377
2022-12-21 13:12:34 +00:00
Daniel Harvey
c10943f6cd [tooling] Increase sleep in healthcheck to avoid double restart issue
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7360
GitOrigin-RevId: 85260612f65beafd8a6dfe1eda35c3e57c75b118
2022-12-21 12:34:18 +00:00
Erik Magnusson
e94440f397 console: user notitications for slowly running queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7319
GitOrigin-RevId: 3ef719bb2097d744e39965a458466ceb184619bd
2022-12-21 12:28:26 +00:00
Daniel Harvey
dc99e919d9 server/tests: search for 'things containing db name' not just 'db name'
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7343
GitOrigin-RevId: 2c8be65c71eec1ada4a0ca716d0b95ba21325a0d
2022-12-21 11:58:32 +00:00
Tom Harding
aa63e58d79 Fix regression test for Yugabyte
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7347
GitOrigin-RevId: 073a5a121440b822b0b393ee3bf3fea640ffb47f
2022-12-21 10:32:58 +00:00
Stef Moreno
81a9e5318f docs: add default values to db matrix
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7327
GitOrigin-RevId: 9b4db597de62adfff17dc6715352a39068d391a1
2022-12-21 09:50:27 +00:00
Samir Talwar
8625228ab3 pool: Add test coverage to the resource pool.
Adds a bunch of tests to the _resource-pool_ code to try and track down a bug.

Not surprisingly, all tests pass, which means that this didn't help. I still think it's worth keeping them.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7330
GitOrigin-RevId: 6d4deb9af5b192b3a0aa34ac0751d28e12b22b48
2022-12-21 09:45:58 +00:00
Solomon
c081f6ac6e Fix integration test for get_table_info
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7353
GitOrigin-RevId: 91fa4e8be2d022f29d17985fa241f4ff14421462
2022-12-21 04:41:07 +00:00
hasura-bot
8eaaf810a0 docs: add Hasura logo (fix #5934 )
GITHUB_PR_NUMBER: 9059
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9059

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6174
Co-authored-by: Anand Bhat <65865566+anandgvb@users.noreply.github.com>
GitOrigin-RevId: eb33d434eae74b4a6996d0f9cbcfe72f047ca8bd
2022-12-21 04:03:48 +00:00
hasura-bot
f1be3b34b1 docs: fix typo in operations tab
GITHUB_PR_NUMBER: 9322
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9322

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7352
Co-authored-by: Shahidh K Muhammed <4124733+shahidhk@users.noreply.github.com>
GitOrigin-RevId: 5098613de6b5c1edce2fd4dcbb67128f4789d05d
2022-12-20 23:47:46 +00:00
Solomon
d4700283e7 Applies template transform in get_table_info metadata call
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7349
GitOrigin-RevId: c9e7dd70bf7ff27807028f99254ce8973acdc468
2022-12-20 23:39:49 +00:00
Solomon
ca6a46790c [GDC] Add Athena Test Fixture
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6934
GitOrigin-RevId: 31c9071b9e904fbe31034157d83605e0a625bef1
2022-12-20 18:47:07 +00:00
Daniele Cammareri
70e9d3c21b fix: fix actionWithTransform e2e test
## Description

This PR fixes the test `actionWithTransform.e2e.test.ts`, failing only on CI (not on local builds). I've added some timeout when clearing the text areas; this probably fixes some issues due to debounce time.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7254
GitOrigin-RevId: 98052fa8e4ffd261f1944845d7eef2fcc1c6db37
2022-12-20 11:45:00 +00:00
Sean Park-Ross
32f992d08f Docs: Add SSO docs to deployment/cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6346
Co-authored-by: Sandeep Raj Kumar <17796073+SandeepSamba@users.noreply.github.com>
GitOrigin-RevId: ad766187e34f3a1d96df40f23b6f03ffbd6ff47b
2022-12-20 10:37:41 +00:00
Daniele Cammareri
6d64c67b4a fix: fix performance issue for event triggers invocation logs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7155
GitOrigin-RevId: c72512a1638944d64354b36e57dd4ca77626f276
2022-12-20 09:48:50 +00:00