Commit Graph

6959 Commits

Author SHA1 Message Date
Daniel Harvey
285a200a87 chore(server): delete MySQL native backend
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9050
GitOrigin-RevId: 1515fb0efdb1baa05ffe3ff7cf6f230acd0cde29
2023-05-05 10:32:56 +00:00
Daniele Cammareri
3f113802cb console: add support for x-www-form-urlencoded payload in import from OpenAPI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8781
GitOrigin-RevId: 81b79b1fe0e16024703c2cbc9df53ebb81f9cfb4
2023-05-05 09:51:33 +00:00
kodiakhq[bot]
2d839548af server/benchmarks/ci: benchmark graphql-engine-pro instead of oss
pro is a superset of the functionality of oss, so it's a better target,
and we expect benchmark results to be indicative of oss.

also tweak regression report view, tune highlighting of throughput benchmarks to be more lax

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8897
GitOrigin-RevId: c2d89cb61a841c9b5c76203bdcb4756ae9d7381f
2023-05-05 09:30:35 +00:00
Nicolas Beaussart
8b447a5880 frontend: switch to yarn berry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9052
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
GitOrigin-RevId: d9c8bc29f9309247944d130d545c6dcaccff366a
2023-05-05 08:57:54 +00:00
Rikin Kachhia
b4ca49fc8d docs: fix broken link in migrations docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9058
GitOrigin-RevId: ebedd041877cac8dc59cb62d2c405860b643be2b
2023-05-05 08:06:39 +00:00
Daniel Harvey
1181ca78a3 feature(server): metadata for native query -> native query object relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9026
GitOrigin-RevId: 5a0528ed48f6e0d2e9a3e7f5d3090a0208dad3e1
2023-05-04 14:33:06 +00:00
Sean Park-Ross
69556fe721 Docs: Event Trigger Delivery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8307
GitOrigin-RevId: 8dc024d5eb185e789ddf97e95ff4c355ef554dc4
2023-05-04 14:06:52 +00:00
Vijay Prasanna
38349f89ea console: add storybook component to create a logical model
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8908
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 7ec452b3787f191f11d02c846b9a0080fa918667
2023-05-04 14:03:56 +00:00
Daniel Harvey
cb9056ab8a chore(postgres-agent): introspect table names from database
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9042
GitOrigin-RevId: de2412ee2511d4cd0b72a660a85ac26a3214d735
2023-05-04 13:13:12 +00:00
Gil Mizrahi
d432eb4d3d Use a separate feature flag for stored procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9040
GitOrigin-RevId: f577f34fd773cbc886546d7866e5a77603087a37
2023-05-04 12:45:37 +00:00
Tom Harding
7617355aa9 Remove feature flag on logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8998
GitOrigin-RevId: 2cde88c5d595860aa97a5c8480442a1ff64a4360
2023-05-04 12:09:39 +00:00
Samir Talwar
397e95fc6a Upgrade Citus to v11.3.0 in tests.
Upgrades Citus to v11.3.0 in tests.

This breaks an assumption made by the tests for the `get_source_tables` metadata API, in which data is expected to be ordered. We fix it by explicitly ordering rather than relying on the goodwill of the database.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9039
GitOrigin-RevId: ee86db7e1c264d5009bb0203ac2f3fb2cda7b39f
2023-05-04 11:40:10 +00:00
Aaysha
a20c67da30 console: Add IDs for tracking clicks on buttons during one click deploy
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9043
GitOrigin-RevId: 1bb728e7da36448fc829a29f2784a1d61133e0e8
2023-05-04 11:13:42 +00:00
Daniel Harvey
e62339d20c feat(postgres data connector): Adding initial support for /Schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9018
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 4330c1201bac790b370d3d53d915f8ffe00ba0c9
2023-05-03 21:12:45 +00:00
Sean Park-Ross
3126f0b568 Docs: New What's New Notification
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8966
GitOrigin-RevId: 5bdc8c0b095e18d0b74a8afb7226bed74fd5ba55
2023-05-03 20:50:32 +00:00
Rob Dominguez
f9c55a2a04 docs: refactor metrics table for EE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9013
GitOrigin-RevId: f867dc5daa22a9a76357280f5079eae5942963eb
2023-05-03 20:27:22 +00:00
Samir Talwar
c1705a09df api-tests: Fix the error messages to match those reported by Citus v11.3.0.
I also pinned Citus to v11.3. This should hopefully stop us from being surprised with random test failures in the future. We will need to bump this every now and again.

I have updated the Makefile to standardize Docker commands, and made sure we start all the containers even when running tests for a single database, as we need to test cross-DB remote joins. This ensures `make test-citus` actually works and runs all tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9035
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 9c36ab65eb05206bfddd639c257d6c5c5cedd2bd
2023-05-03 20:22:26 +00:00
Sean Park-Ross
b91c1f314f Docs: Small Changes 5
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8988
GitOrigin-RevId: 2abe5b949137fb5913d4197a6fa65d08797b0202
2023-05-03 13:46:54 +00:00
Sean Park-Ross
9fcc7f8ccf Docs: Add user ID for upcoming chatbot
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9020
GitOrigin-RevId: 10d9206d764abb33a059536b328f20fb3f03483d
2023-05-03 11:09:53 +00:00
Varun Choudhary
9e65da5429 console: : e2e testing for one-off scheduled triggers
This PR adds e2e testing for one-off scheduled triggers.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8965
GitOrigin-RevId: e2416376d8d5b7c339e32b232d657a5611158069
2023-05-03 11:05:54 +00:00
Philip Lykke Carlsen
c7d4117964 fix: Properly scope root-table references in relations
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8976
GitOrigin-RevId: bbb54468f04e1df1d595691ccb21a9d28a4eb010
2023-05-03 10:30:23 +00:00
Gil Mizrahi
56e3bd182a chore(refactor): extract common functionality between stored procedures and native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9028
GitOrigin-RevId: ab5c1ca9c08600a758f07aa81370930c305d6b40
2023-05-03 10:00:56 +00:00
Tirumarai Selvan
ee59a220e1 Update docs for rotating admin secret for Cloud
Since zero-downtime changes in multi-tenant (v2.23), no downtime admin secret rotation works on Cloud as well.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9030
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: ff87980218203c05872327295439640f3909db2a
2023-05-03 09:29:52 +00:00
Vishnu Bharathi
0cf55739ba ci: tag release v2.25.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9027
GitOrigin-RevId: da6af09586664d9f5bc2919f109a9361efc036a6
2023-05-03 09:15:17 +00:00
pranshi06
1de2bf7d70 server: improve logging around HTTP Exception errors for Actions and Remote Schemas
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8937
GitOrigin-RevId: fb6b3a4786cf5ffd42bf608c7743d5b8852cbf47
2023-05-03 07:56:37 +00:00
Varun Dey
824648b49a console: Add use case fields in ee trial registration form
[GT-620]: https://hasurahq.atlassian.net/browse/GT-620?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8964
GitOrigin-RevId: b8a207bc98b8bb557670e0a6cb03a768b38e8d20
2023-05-03 07:23:00 +00:00
Daniel Chambers
f445c34997 Reimplement MySQL/MariaDB dataset support in the Super Connector and enable mutation API tests in CI
[GDC-1064]: https://hasurahq.atlassian.net/browse/GDC-1064?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8962
GitOrigin-RevId: 64c18f52291d98859e273a238e2b1f567444c058
2023-05-03 03:27:41 +00:00
Varun Choudhary
c80242a1b6 console: use metadata api to fetch event trigger
## Description 🔖

This PR remove raw SQL written on console code-base to fetch event trigger, instead now we use metadata API to fetch event triggers (just like cron trigger)

Server PRs - https://github.com/hasura/graphql-engine-mono/pull/7587

## Related Issues 👾

https://hasurahq.atlassian.net/browse/GS-491

## Solution and Design 🎨

Use metadata API to fetch event trigger details on pending events, processed events, invocation logs and event details.
See the details of API in [server PR](https://github.com/hasura/graphql-engine-mono/pull/7587)

## Review Setup 💻

1. create a table for both DBs(mssql and pg)
2. create an ET for both tables
3. see the metadata call when you switch to pending events, processed events, invocation logs and event details.
4. take server image from this PR - https://github.com/hasura/graphql-engine-mono/pull/7587

## Review checklist. 📋

[ ] - PRO
[ ] - OSS

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8840
Co-authored-by: Krushan Bauva <31391329+krushanbauva@users.noreply.github.com>
GitOrigin-RevId: 18de692a6d994878acf120a5cad9cfe6de68a00d
2023-05-02 14:33:51 +00:00
Rakesh Emmadi
4937444142 server/multitenant: accept connection parameters for introspection storage database
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8996
GitOrigin-RevId: 302745a90ecfdad10d87d0be63e6010edfca508b
2023-05-02 14:00:38 +00:00
Gil Mizrahi
e8d2d4f364 Refer to a stored procedure by name in commands interface
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9014
GitOrigin-RevId: 64f51811770d88ad6d5b298fc4c71170ffd7182c
2023-05-02 13:32:01 +00:00
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