Commit Graph

6929 Commits

Author SHA1 Message Date
Gil Mizrahi
e010781098 chore(refactor): rename NativeQueryArgumentName to ArgumentName
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9012
GitOrigin-RevId: fa45f7a01f4fa1f3f1bb6c3057f32839bab453ca
2023-05-02 12:55:57 +00:00
Aaysha
9374698edf console: Remove Data Federation from usecase onboarding
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8991
Co-authored-by: Varun Dey <9202135+varundey@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 0e84131fb7fe48bc6428a462068b25aa7db3aea6
2023-05-02 12:28:45 +00:00
Rob Dominguez
5b89d3562e docs: add admonition for db-access to use cases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9019
GitOrigin-RevId: b7c5e01d5f93a68c344f68b925583ef4e260715d
2023-05-02 12:04:56 +00:00
Karthikeyan Chinnakonda
fc4f0256fb Docs: Add a guide on subscriptions multiplexing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8912
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 9537c340e5f9e604e18c0eb5b4158b55ae6ba33a
2023-05-02 11:43:01 +00:00
nevermore
64e8ab51f9 docs: change in usecase title
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9017
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: 3027c5243da2347b489d653fb699276ba54e72e4
2023-05-02 10:46:52 +00:00
awjchen
650137dc00 server: respect X-B3-Sampled header when X-B3-TraceId is not present
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9009
GitOrigin-RevId: 7a4565bcada4f6249927ed0cbfbe42401a9a7968
2023-05-02 07:22:53 +00:00
Sean Park-Ross
ee006b45a2 Docs: Credential Security
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8584
GitOrigin-RevId: b2d088360fa6e0d440db19ba05c95ea11f566d84
2023-05-01 09:45:48 +00:00
Rob Dominguez
821b0ab0d6 docs: add mariadb to ee overview
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9008
GitOrigin-RevId: 90f8e7dabc1ac293c9f83a0b7f92e6379ac47ca0
2023-05-01 09:43:41 +00:00
Tom Harding
6f7458a7c5 Add documentation for *_get_source_tables
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8986
GitOrigin-RevId: 1caa507a41bbc5066cd5ae475c669af4cb2f3020
2023-05-01 09:41:28 +00:00
Rob Dominguez
8bf1d9cd4d docs: refactor use cases
[DOCS-854]: https://hasurahq.atlassian.net/browse/DOCS-854?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8667
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 77d502f0f1ad64f7b5ce3895077baf241abf7e42
2023-04-29 17:13:07 +00:00
Gil Mizrahi
990fd54e8c Stored Procedures schema parsers and codegen
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9000
GitOrigin-RevId: 951a8b949359db11df183964b4ce217ae02a301c
2023-04-29 08:05:37 +00:00
Gil Mizrahi
f6fd9f071d refactor(cleanup): extract interpolated query
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9002
GitOrigin-RevId: 2e2a499f5035adf1493a2d675ee52abb7c87a8c8
2023-04-28 19:25:32 +00:00
Daniel Harvey
6178a1fd82 chore(server): split Logical Model lenses into files
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8989
GitOrigin-RevId: f0f6e75732408f21ebe5fdc5af3f680cd96ae789
2023-04-28 18:47:38 +00:00
Samir Talwar
53749aa796 CI: Use "12345" for the server version instead of generating one.
We bake the version number into the binary, which means that changing it causes a lot of files to rebuild (also thanks to Template Haskell). We can avoid this by simply using a dummy value which does not change.

When releasing, we still use the Git tag.

This should speed up the server build a lot, most of the time.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8916
GitOrigin-RevId: 7e5f9d4d582dba3eecab52fd37a216cadefba941
2023-04-28 18:19:40 +00:00
Tom Harding
912a03ec23 Remove reference to custom types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9005
GitOrigin-RevId: 8fa120187b6e351fbf10f4b80adf4d01c291fc30
2023-04-28 17:54:49 +00:00
Rikin Kachhia
cfc7b8a29d ci: update latest stable release as v2.24.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9003
GitOrigin-RevId: 6ecabfa29ac3213c04ccbc104c6999b16543c289
2023-04-28 17:23:45 +00:00
Daniel Harvey
cb00535693 chore(server): add link-type to Logical Model references
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9004
GitOrigin-RevId: f361ca5f3b82995096f9289f8e90c7c20920a744
2023-04-28 16:48:19 +00:00
Gil Mizrahi
7aef17863a refactor(cleanup): extract nullablescalartype
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9001
GitOrigin-RevId: 5053e4c881f0d037b9170b434bcf533284a827a6
2023-04-28 16:16:08 +00:00
Daniel Harvey
5b2465f22a chore(server): move template haskell out of more Hasura.RQL folders
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8994
GitOrigin-RevId: a7aec36c87fe6a53d704c7a7fb6d625853914dda
2023-04-28 15:41:56 +00:00
Daniel Harvey
2e9b0ad3f2 chore(server): remove TH aeson, separate lenses, in Hasura.RQL.DDL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8993
GitOrigin-RevId: dda6b7b915236c4f013b28ce98aa34c48e9a53db
2023-04-28 15:13:32 +00:00
Daniel Harvey
d0d80e621d chore(server): add telemetry for Stored Procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8999
GitOrigin-RevId: 985cd0598f3fdc068bc06a0880d279ebc95e6930
2023-04-28 14:43:13 +00:00
Daniel Harvey
9a0c761b4a chore(server): remove Template Haskell from Hasura.Function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8992
GitOrigin-RevId: a06cf33a96d6ef8ad2234a385016b5e68c46b8f2
2023-04-28 14:14:26 +00:00
Gil Mizrahi
930df62de7 Stored procedures api commands
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8975
GitOrigin-RevId: c71a9f74bf01bb8c0bc8c8cd4b744b530d99476a
2023-04-28 13:38:34 +00:00
Samir Talwar
e3b46b78a9 server/upgrade-tests: Tests that ensure that HGE upgrades successfully.
These tests ensure that upgrading HGE preserves the GraphQL schema.

They do this by running two different versions of HGE against the same metadata, and ensuring that the GraphQL schema doesn't change.

We might find that in the future, we make an additive change that makes these tests fail. Improving the tests to allow for this is left as an exercise to whoever triggers it. (Sorry.)

Currently, we do this with:

  * an empty database (zero tracked relations)
  * the Chinook dataset
  * the "huge schema" dataset

The base version of HGE tested against can be overridden with an option. The version must be available on Docker Hub.

Further information is in the Haddock documentation.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8982
GitOrigin-RevId: 97b4deda1e6fe1db33ce35db02e12c6acc6c29e3
2023-04-28 12:54:51 +00:00
Daniel Harvey
3a254ec471 chore(server): add Logical Models count to telemetry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8977
GitOrigin-RevId: 933961ec1079231b728c3595392b2ff1e37b9fbc
2023-04-28 12:25:41 +00:00
Rob Dominguez
06da81c8e8 docs: add pointers on mysql and mariadb index pages
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8979
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: 995afe0aad165b24e52a6c5fa0deed0f9e49e851
2023-04-28 11:41:18 +00:00
Vishnu Bharathi
22329db168 ci: tag release v2.24.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8995
GitOrigin-RevId: 928241e63e921b7869ed888fc20747e31cd321ff
2023-04-28 11:37:18 +00:00
Puru Gupta
832ba38b5f multitenant: fix to dynamically update the metrics endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8972
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 474ce2351e715476ac8dcc08d43b9758cf8e7b33
2023-04-28 11:18:37 +00:00
Tom Harding
a1512b1bde Remove RQL.Types -> RQL.DDL dependencies
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8913
GitOrigin-RevId: 32b62ff7c1083161c96af98c3a4ec1a2e01af9ab
2023-04-28 10:48:15 +00:00
Daniel Harvey
d663207f5e chore(tooling): fix make test-integration-mssql
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8987
GitOrigin-RevId: ad9c3bc6f1dcfe034f33260a151a3424cb7f433d
2023-04-28 10:23:09 +00:00
Toan Nguyen
ec4d3f4064 console: fix missing 3rd-party sso login buttons (#8985)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8985
GitOrigin-RevId: 180abd51ffac96c4d825fdc0e2c57df0d238051d
2023-04-28 10:05:39 +00:00
Matthew Goodwin
437223afe7 console: add debug prop to form to access dev tools
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8981
GitOrigin-RevId: 13c0340b24182fa5634e97f2f8d1a3a7675f922e
2023-04-27 22:06:37 +00:00
Matthew Goodwin
20c61909a3 console: add breadcrumbs component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8895
GitOrigin-RevId: e111124adfa0df66fb255056dff05880d62e2d2f
2023-04-27 15:16:42 +00:00
Daniel Harvey
a0b1d69392 chore(server): make native queries pro-only
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8926
GitOrigin-RevId: 68d2091c97ed80e86f851d656749eab865f73ec4
2023-04-27 14:31:53 +00:00
Daniel Harvey
800b6aa9be chore(server): copy pasta Stored Procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8969
GitOrigin-RevId: 2a33ab836fc26619acbe160278c87d036253388d
2023-04-27 14:04:28 +00:00
Varun Choudhary
ccff2ce87d console: : e2e snapshot testing for cron triggers
This PR has e2e snapshot testing for the cron triggers.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8461
GitOrigin-RevId: d247f331538dd960a15c505515175d18f991c9b1
2023-04-27 13:36:26 +00:00
Daniel Harvey
c5a1dacc35 chore(server): skeleton Postgres GDC agent
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8938
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: c120910b256d07ef2a4a88a8f79a8e1e412305c3
2023-04-27 13:05:03 +00:00
Abhijeet Khangarot
3d6eb08d14 fix: turn off window refocus queries on surveys
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8911
GitOrigin-RevId: 98eeecc714b3ce3b0e32e4ef4b6e1180232b166f
2023-04-27 11:47:01 +00:00
Matthew Goodwin
5a58823693 console: Track/Untrack functions (postgres only) from the new tracking UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8857
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: cdc2d12edb760d4528ba0f70ec8ba0cbc9a98bbb
2023-04-27 08:24:16 +00:00
Tom Harding
b6799f0882 Import InsOrdHashMap, not OMap, OM, Map, HM, ...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8946
GitOrigin-RevId: 434e7c335bc69119020dd35761c7d4539bc51ff8
2023-04-27 07:43:22 +00:00
Rishichandra Wawhal
d3a96dcf80 frontend: remove clientID check for cloud users
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8960
GitOrigin-RevId: eafbbcf6f2a3ee09df7298376a3b06489080e1e6
2023-04-27 06:22:59 +00:00
Rob Dominguez
2f337789ed docs: fix versionedlink on homepage
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8957
GitOrigin-RevId: 2408b129a3ac3ea0539ea7dd3c93e569e2c67302
2023-04-26 22:44:02 +00:00
Tom Harding
4885a3fd9a Import J, not Aeson, A, JSON, Yaml...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8948
GitOrigin-RevId: d70c4a50b94ffe7d42a1fb1017051d351f236acc
2023-04-26 17:30:24 +00:00
Tom Harding
fb92b78b5f Document concurrent_bulk
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8951
GitOrigin-RevId: 4a323bc2558a58265f47985a808f50761cc87c69
2023-04-26 16:55:29 +00:00
Tom Harding
566b8b018c Add documentation for bulk_keep_going
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8950
GitOrigin-RevId: cd730f2ac97daa4cdca46427cd452f981e52497e
2023-04-26 16:26:00 +00:00
kodiakhq[bot]
bb8f6a76cc PLAT-438: improve traces from OpenTelemetry
[PLAT-438](https://hasurahq.atlassian.net/browse/PLAT-438)

After this change the top level trace is is annotated with `request_id` and `parameterized_query_hash`. It looks like this,  in jeager:

![image](https://user-images.githubusercontent.com/210815/233206107-73682a85-3306-4d1d-8a6c-148890dc1a38.png)

 bulk queries should output a separate `parameterized_query_hash` for each query span

...after the last two commits, things look like this (remove pointless spans, more attributes):

![image](https://user-images.githubusercontent.com/210815/233476532-47521f35-2cdf-4f7d-af13-39c7ce15c9ec.png)

[PLAT-438]: https://hasurahq.atlassian.net/browse/PLAT-438?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8824
GitOrigin-RevId: 0fd105c879161587d41b729b9bac968e92efae95
2023-04-26 16:21:29 +00:00
Tom Harding
7e334e08a4 Import HashMap, not HM, Map, M...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8947
GitOrigin-RevId: 18e52c928e1df535579e2077b4af6c2ce92bdcef
2023-04-26 15:43:44 +00:00
Rob Dominguez
3bc9c23bc6 docs: add ee trials to gdc-backed databases
[DOCS-877]: https://hasurahq.atlassian.net/browse/DOCS-877?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8923
GitOrigin-RevId: 1e09d7f2fa030f1a8f99f78086163b5a2bed0caa
2023-04-26 15:10:30 +00:00
Rob Dominguez
776fa51ab5 docs: update overview pages' titles
[DOCS-913]: https://hasurahq.atlassian.net/browse/DOCS-913?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8929
GitOrigin-RevId: 64a733ec808d0e8723a5c1cbe5f754829b7c1388
2023-04-26 15:05:00 +00:00
Sean Park-Ross
923c8eeb80 Docs: Amend Cloud Version Upgrades Note
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8886
GitOrigin-RevId: 7cf4544598a32afe25d6e40ff2e147e3bc5388b0
2023-04-26 14:56:21 +00:00