Commit Graph

7341 Commits

Author SHA1 Message Date
Karthikeyan Chinnakonda
a0b2f29b93 server: generate streaming subscription field only when there is at least one cursor column accessible
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9399
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
GitOrigin-RevId: bd7f3fe3e95609c1634d531b95981c8ba15fba4e
2023-06-06 12:04:47 +00:00
Daniel Harvey
e7929f9661 chore(hedis): replace missing test/Main.hs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9431
GitOrigin-RevId: 24ddc07a7036ed3032fafebe3b39c698caf08ae0
2023-06-06 09:48:40 +00:00
Anon Ray
05862a4327 server: store collected source introspection to DB
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9237
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
GitOrigin-RevId: 77327742db2f8440fdf770db5ae1c034cbb06e3b
2023-06-06 08:51:51 +00:00
Rob Dominguez
792e7d9847 docs: add note about sticky sessions & add out-of-order subs use case
[DOCS-838]: https://hasurahq.atlassian.net/browse/DOCS-838?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[DOCS-840]: https://hasurahq.atlassian.net/browse/DOCS-840?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9425
GitOrigin-RevId: 2bd13aa325c4bc4a1677591fcf1858bf2963e3ea
2023-06-06 07:14:36 +00:00
Gil Mizrahi
15ce5196d0 throw an error on non-existing source in get_logical_model / get_native_query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9421
GitOrigin-RevId: 2839e587c2966aa4580a631c3eff389c98b275df
2023-06-05 15:17:24 +00:00
Daniel Harvey
0aeb48992e chore(testing): index all queries for Native Query tests by backend type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9416
GitOrigin-RevId: 7b10bd1f8e2cbb98ec86646d9f54b18ad42bf85c
2023-06-05 13:06:03 +00:00
Puru Gupta
328b7b793f server: add support for redis clusters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8867
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
GitOrigin-RevId: 6ab173b02f6b8bf97ccbcdb00110fe147771c751
2023-06-05 12:11:59 +00:00
Daniele Cammareri
58ff864b33 test: fix event trigger e2e test
## Description

Solving the issue raised here https://hasurahq.slack.com/archives/C049N7YU9EU/p1685109887435229

The event trigger test sometimes failed because the trigger created by previous tests was not cleaned up. An additional cleanup has been added to the `before` function that tries to delete the event trigger if exists.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9324
GitOrigin-RevId: 1bdc96312324cbad6d85a91a9ab827c0218290f4
2023-06-05 11:21:51 +00:00
Daniel Harvey
776a893eaa chore(server): non-nullable native query object relationships for SQLServer
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9405
GitOrigin-RevId: eda4fb38c9abc4a5d631964b8f80928d545a3694
2023-06-05 09:26:47 +00:00
Varun Dey
84ae7a0652 console: Refactor cloud console onboarding
[GT-639]: https://hasurahq.atlassian.net/browse/GT-639?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9344
GitOrigin-RevId: 9f135937075baf12d1370508fa6717b7bcdbe4ce
2023-06-05 08:48:26 +00:00
Gil Mizrahi
d8a4d254f6 chore(tests): add a flag to trace the graphql commands sent to the server during a test.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9409
GitOrigin-RevId: 46d0c48b519bf32ddb9869a8a7af81aad302532b
2023-06-05 08:22:53 +00:00
Lyndon Maydwell
6487a44546 Adding function permissions to UDFs for Dataconnectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9349
GitOrigin-RevId: 0b71d06a13ad78a55a205a5755260b060525d340
2023-06-05 05:29:53 +00:00
Luca Restagno
eeb879f7f3 UI fix on the Permissions for (GDC)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9402
GitOrigin-RevId: bdee9bb7a67ef604474b04a761ebd59fe5150b06
2023-06-02 15:53:26 +00:00
Daniel Harvey
22ff735370 chore(server): non-nullable native query object relationships for BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9361
GitOrigin-RevId: e2af5f1a9761da7346d5913fcb25305dce378a7b
2023-06-02 15:20:10 +00:00
Daniel Chambers
e2345fb3bb Fixes to HTTP request recording in the Data Connector agent test suite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9394
GitOrigin-RevId: 873dc4e8ec744013f8303d197a91ec499e6a9c66
2023-06-02 14:34:49 +00:00
Sameer Kolhar
f04d2950f2 server: remove "__" prefixed types for schema-registry in the GQL Introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9339
GitOrigin-RevId: d6d098ab8e126d0d64a83e3ddb0d22eb512b2d60
2023-06-02 12:46:59 +00:00
Rob Dominguez
b8f8fea568 docs: update operators
[DOCS-836]: https://hasurahq.atlassian.net/browse/DOCS-836?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9175
GitOrigin-RevId: 6f3804890d862c7efe522352ff29d5b047a2e704
2023-06-02 11:41:27 +00:00
Tom Harding
b124c943a9 chore(server): allow recursive native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9373
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: b998da0e2725f687a00c2c6c993435e44df4f70f
2023-06-02 10:37:55 +00:00
Samir Talwar
dd46aa6715 server: Preserve ordering when possible, and sort when it's not.
When upgrading to GHC v9.4, we noticed a number of failures because the sort order of HashMaps has changed. With this changeset, I am endeavoring to mitigate this now and in the future.

This makes one of two changes in a few areas where we depend on the sort order of elements in a `HashMap`:

  1. the ordering of the request is preserved with `InsOrdHashMap`, or
  2. we sort the data after retrieving it.

Fortunately, we do not do this anywhere where we _must_ preserve order; it's "just" descriptions, error messages, and OpenAPI metadata. The main problem is that tests are likely to fail each time we upgrade GHC (or whatever is providing the hash seed).

[NDAT-705]: https://hasurahq.atlassian.net/browse/NDAT-705?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9390
GitOrigin-RevId: 84503e029b44094edbbc298651744bc2843c15f3
2023-06-02 09:31:26 +00:00
Luca Restagno
f6cb0d7310 Fix update_by_pk and delete_by_pk placeholders
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9375
GitOrigin-RevId: d73bc541f160e6f6f32dfa0f6b19cff730e73099
2023-06-02 09:00:01 +00:00
Luca Restagno
936134d157 Add tests interaction unit for the new relationship UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9354
GitOrigin-RevId: 0748d9db3695fe145b8a7813a7325fa98d1e71d5
2023-06-02 08:23:03 +00:00
Daniel Chambers
d421cdb726 Put the message property first when encoding error JSON
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9379
GitOrigin-RevId: 385035810190786f54a1db86e3a2e4a2c3bd5dee
2023-06-02 05:29:50 +00:00
Daniel Harvey
0034ae8892 chore(server): use new version of sandwich
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9386
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 008312c7550025cb44d515fa3d01796175b60e29
2023-06-02 02:00:41 +00:00
Julian
921b148dc8 Logical Model Permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9276
Co-authored-by: Erik Magnusson <32518962+ejkkan@users.noreply.github.com>
GitOrigin-RevId: ee1dddf813fac3f3a29c5444644e589a8e67d3cb
2023-06-01 18:31:37 +00:00
Sean Park-Ross
6102270f11 Docs: Feature Support Matrix for Oracle
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9079
GitOrigin-RevId: 472d09d5e0ff2743f0d071fab1d30f6a4beb3198
2023-06-01 17:31:18 +00:00
Sean Park-Ross
6eeea80089 Docs: Feature Support Matrix Table for MySQL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9078
GitOrigin-RevId: 0bc899c9450f835a5949d8ff79fe8cbd92ace4c4
2023-06-01 17:22:27 +00:00
Rakesh Emmadi
427ca18e85 server: collect remote schema and database introspections while building schema cache
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9297
GitOrigin-RevId: 143f50be2eba382d129669e26ef3a7eb24c921ca
2023-06-01 16:34:31 +00:00
Rishichandra Wawhal
800be3c915 schema-registry: fix lux endpoint and misc fixes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9388
GitOrigin-RevId: 883d0a59e5202c688e210eb624fd279f24ff1cfd
2023-06-01 14:56:37 +00:00
Rishichandra Wawhal
44aa0f00e8 frontend: ui for schema registry v1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9189
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
GitOrigin-RevId: 8a9091442967cb1603c04e5951e2dc2adf7d918b
2023-06-01 13:21:41 +00:00
kodiakhq[bot]
34e172d576 chore(tooling): import ci-info-hs into monorepo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9383
Co-authored-by: Shahidh K Muhammed <4124733+shahidhk@users.noreply.github.com>
Co-authored-by: Ajeet D'Souza <1777663+ajeetdsouza@users.noreply.github.com>
Co-authored-by: Brandon Simmons <210815+jberryman@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com>
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
Co-authored-by: Matthew Pickering <1216657+mpickering@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
GitOrigin-RevId: a7a210e2237f5adc63302b18403616c7c0aa39ca
2023-06-01 12:51:39 +00:00
Vishnu Bharathi
af6795da93 ci: tag release v2.11.7
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9385
GitOrigin-RevId: 72df47dfb1a55677843d43a9db7d39036d31a829
2023-06-01 11:57:26 +00:00
Gil Mizrahi
b87506e87c chore(tests): output hge stderr in api-tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9384
GitOrigin-RevId: 5d78b59e12bf870a3cba81829dcf4d3e0d2aebf9
2023-06-01 11:43:38 +00:00
Vijay Prasanna
0d347c1a32 console (fix): fix issue with permissions tab when metadata is in loading state
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9381
GitOrigin-RevId: 354d48fe69bfed42d4a4d4a8a1f8756c057cc8be
2023-06-01 09:52:52 +00:00
Gil Mizrahi
3ce1b414b4 NativeQueries: validate that there are no unused or undeclare arguments
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9357
GitOrigin-RevId: 9d0ac74c8a2780c6d1b3e7769c3d4775bacb2d8d
2023-06-01 09:15:48 +00:00
Rob Dominguez
81d74f095a docs: change quotes on getting started backend guide
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9378
GitOrigin-RevId: c602758e97b855c759028d9945a9288ce2e42a85
2023-06-01 05:46:56 +00:00
Matthew Goodwin
608e1bf29e console: Add edit/view for native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9307
GitOrigin-RevId: dddc9c2701a2f7958c423a5ddda6eb35163f425d
2023-05-31 21:04:31 +00:00
Aaysha
682af1e2b9 Integrating launch darkly sdk to console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9334
GitOrigin-RevId: 7a2168114e74ff09bb1abb170a2aa2e7f7e5effc
2023-05-31 20:30:11 +00:00
Philip Lykke Carlsen
df10ccf310 fix(pg): Support aliased fields for Native Query object relations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9374
GitOrigin-RevId: 073e51480e2be97e32938fa61a3547374e04ead8
2023-05-31 15:42:50 +00:00
Philip Lykke Carlsen
363e158bc4 refactor: Rename 'Provenance(Unknown)' to 'Provenance(FreshVar)'
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9376
GitOrigin-RevId: 3ef6572208ebc7770549d2b1cee16eb5086b56cf
2023-05-31 13:45:48 +00:00
Daniele Cammareri
5d3b0e0778 feat: add soft validation and 3.1 support
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9247
GitOrigin-RevId: 93bd2ae6c21e4d2cbc5b06aef0d1879cc0b23e9c
2023-05-31 11:09:50 +00:00
Daniel Harvey
36c4deb963 tooling(server): new .envrc.local.example items
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9371
GitOrigin-RevId: fad89c7a58403b642fdf7f55d1e185772e8722af
2023-05-31 10:39:49 +00:00
Daniel Harvey
7d011644ac chore(server): allow non-nullable NQ -> NQ object relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9353
GitOrigin-RevId: 9da95675d224f3045509592c2515b7afa2500d00
2023-05-31 10:34:28 +00:00
Luca Restagno
b19eff22e9 Fix: user defined functions UX interactions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9359
GitOrigin-RevId: 92fc049a396e6bd11ed9003b6d784e80e2290618
2023-05-31 08:54:29 +00:00
Vishnu Bharathi
7ecf9dafeb ci: tag release v2.27.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9369
GitOrigin-RevId: 5dc966791905d9e6d0db6bccb79b424b58049ea8
2023-05-31 08:28:53 +00:00
Vijay Prasanna
03daf994b5 console: tree nav storybook component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9225
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: b4772448e7ebceee49c0b49cd7fcf2091ddf88c9
2023-05-31 07:39:26 +00:00
Varun Choudhary
4c0a7cc46a console: fix scheduled trigger e2e tests
This Pr fixes the failing e2e test for scheduled triggers

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9366
GitOrigin-RevId: 600dad7a9b04e14027d9dd4f39c6e9ed81d14317
2023-05-31 07:04:56 +00:00
Daniel Chambers
bfd046b224 Add additional tracing spans to HGE GraphQL queries and the Super Connector
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9332
GitOrigin-RevId: ecde2383a42acf93fa8c6abb8bbd4c3b074b77fb
2023-05-31 05:49:12 +00:00
Daniel Harvey
9de3db4729 chore(server): respect logical model array nullability
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9303
GitOrigin-RevId: 4d38a125a6889e2b0be34905e21a78036a77881e
2023-05-31 00:15:47 +00:00
Daniele Cammareri
866ce9c3e7 fix: fix cron trigger invocation logs status
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9348
GitOrigin-RevId: 72ba393e7f945260397b337cec489224f86230fc
2023-05-30 14:52:10 +00:00
Rob Dominguez
b3393cc344 docs: add skip_onboarding query param
[DOCS-990]: https://hasurahq.atlassian.net/browse/DOCS-990?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9266
GitOrigin-RevId: 1dc772f6b4e1f6235b56f8a42e8b6a4120302334
2023-05-30 14:15:31 +00:00