Commit Graph

7461 Commits

Author SHA1 Message Date
Tom Harding
7d62a7035f Expand bulk_atomic docs.
[NDAT-721]: https://hasurahq.atlassian.net/browse/NDAT-721?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9520
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 8cd88bfb27a2cc8f632926c7d9fda745a68295ec
2023-06-14 19:35:42 +00:00
nevermore
9e5795ec0f console: schema change alerts UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9443
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: a4eb6bd7922792743fe21bb6a806a5a3e3379ede
2023-06-14 19:30:10 +00:00
Philip Lykke Carlsen
44dd00fc37 fix: Improvements to makefiles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9547
GitOrigin-RevId: b02e586662b92ad085fa7ff6e19606a93098ed3f
2023-06-14 18:40:00 +00:00
Vijay Prasanna
07cefed779 console: enable logical model & native query features on OSS console (only for postgres)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9540
GitOrigin-RevId: e414ba07d32d457d51bcd6f2179256c4d57234d8
2023-06-14 17:57:08 +00:00
Daniel Harvey
32fd3b4be0 chore(api-tests): enable Jaeger tracing in all Native Database test setups
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9549
GitOrigin-RevId: c3a583bec1d02e23bd340b646ab6c7c1a72f931b
2023-06-14 17:19:06 +00:00
Abhijeet Khangarot
ad5b499d06 frontend: fix neon error on database already exists
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9542
GitOrigin-RevId: ffca4699d298dfc00d711661ab6705881e1fbecf
2023-06-14 16:27:56 +00:00
Gil Mizrahi
1d9fd51779 docs: unmark logical models and native queries as pro-only in postgres
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9546
GitOrigin-RevId: c01652e4af7f19b426324262696a3ab089a81037
2023-06-14 14:35:51 +00:00
Philip Lykke Carlsen
5d76f9cabf Feat: No feature flags for Native Queries and Stored Procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9541
GitOrigin-RevId: 81a33de3a35405c6e45cb5bad160ad00871745eb
2023-06-14 13:21:37 +00:00
Toan Nguyen
0dea43add9 docs: pre-built observability dashboards for Hasura EE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9524
Co-authored-by: Shahidh K Muhammed <4124733+shahidhk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: f1df3abefb7f31b311907fd95026be5a167c6011
2023-06-14 12:39:22 +00:00
Varun Choudhary
37db1aa777 console: storybook modal component to show Create RESTified endpoints from a Table
This PR has a storybook Modal component to create a rest endpoint from a table.

## Related Issue

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

## Design

<img width="661" alt="modal" src="https://github.com/hasura/graphql-engine-mono/assets/68095256/958f958d-ae49-4e6b-a81b-d3b22ca9f51c">

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9518
GitOrigin-RevId: f43248b1666d1af909255e1f5af90fa7967b3328
2023-06-14 11:27:06 +00:00
Nicolas Inchauspe
107ad406f8 console: add build task before serve
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9539
GitOrigin-RevId: e3812e29ff0788b60a43c6dab909be1486742066
2023-06-14 10:39:38 +00:00
Daniel Chambers
331e4e3d5d Stop swallowing data connector connection errors during schema cache building
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9533
GitOrigin-RevId: ce81cd4b7449db4f9f62caa98c888641aa27b3c7
2023-06-14 09:45:29 +00:00
Varun Choudhary
c867a47552 console: fix security tab visibility when login with admin secret on EE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9397
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 686863dfaa31d9c88f6affae93cdf94ccadbbb5f
2023-06-14 06:55:02 +00:00
Varun Choudhary
ea840f9520 console: export button to download open api spec from rest endpoint
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9418
GitOrigin-RevId: a4d81f13cdec4302be45bed2eb21051b5868d2b3
2023-06-14 06:25:51 +00:00
Samir Talwar
e16e70760a server/upgrade-tests: Avoid Docker host networking.
Instead, we update the metadata to point to the correct database URL each time we start HGE.

This means we can run the tests on macOS (and any other environment where Docker runs inside a VM).

I was hoping this would solve the issues we're seeing on CI too, but no such luck.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9528
GitOrigin-RevId: 32cbf65430462b4b0e59f5d644260f7c26c7135c
2023-06-13 22:30:26 +00:00
Matthew Goodwin
86b602edb5 console (bugfix): Native Query detail page does not show associated logical model
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9492
GitOrigin-RevId: 5cf8b6b61dad29d7deaa218cac66b487ac2c8914
2023-06-13 21:30:33 +00:00
Varun Choudhary
35d9c059db console: open api to graphql library
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9420
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
GitOrigin-RevId: 31d983ae8573c91ac5bf11066770f776941c3a11
2023-06-13 19:58:02 +00:00
Luca Restagno
23057b6d4a Fix tracking of tables created with Run SQL with SQL comments
[DSF-420]: https://hasurahq.atlassian.net/browse/DSF-420?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9442
GitOrigin-RevId: 94fcb5e8a6073f359ee64cd7cbb0fdaf7218782b
2023-06-13 18:52:13 +00:00
Daniel Harvey
d49c476176 chore(postgres-agent): implement dataset API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9326
GitOrigin-RevId: 55f3e63dfcbc79474800b4a3dac00e0e9c82871f
2023-06-13 18:10:39 +00:00
Gil Mizrahi
e6ee9db169 trim a nq end to remove spaces and then semicolons
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9515
GitOrigin-RevId: 95e93d017ac9757a8088aea3015836b5d8236d66
2023-06-13 17:23:07 +00:00
Mihir A Khandekar
81bb636069 console: add tooltip to db latency badge
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9525
GitOrigin-RevId: e4bd2629946ccb24d609d2643e8032e5d8a1992c
2023-06-13 15:43:40 +00:00
pranshi06
45f2d8f52d server: forward null value to the remote schema when field type is nullable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9460
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
GitOrigin-RevId: 9449a679d66817d7bf9f401009a638b57cb58695
2023-06-13 15:04:40 +00:00
hasura-bot
0a418040c3 feat(server): optional args GQL argument
GITHUB_PR_NUMBER: 9497
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9497

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8340
Co-authored-by: Wsevolod <31807671+kraftwerk28@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: e436b171d88991b814cc6c7b3ed47df75795ac64
2023-06-13 14:16:40 +00:00
Tom Harding
d48493ff24 Move stored procedure validation into the schema cache builder
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9521
GitOrigin-RevId: a7fdfa67271df7477950ed0f2b3a68cdb38cc106
2023-06-13 13:31:06 +00:00
Anon Ray
72ada6b0fc docs: add guide on tuning cache parameters (EE only)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9261
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 96ccf1d54903f62d20dfb7f41f7c3ba112bbbcb3
2023-06-13 11:26:24 +00:00
Gil Mizrahi
9458893bc1 test stored procedures dont work in oss
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9517
GitOrigin-RevId: a33f9a0f0ad2ae82715269256fe997ad98bb1b72
2023-06-13 10:42:33 +00:00
Tom Harding
1ffdf73583 Roll back broken schema caches when using atomic_bulk
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9486
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Julian <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: ananya-2410 <107847554+ananya-2410@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: fa5a292a9a9e2e7d8477f72979ad172244f1ef23
2023-06-13 10:01:39 +00:00
paritosh-08
14b4de37f7 server: close subscriptions (with 1012) on metadata change
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9159
GitOrigin-RevId: 5ab25ef57782c126de8852f3546809feb66a9d44
2023-06-13 09:24:19 +00:00
Daniele Cammareri
4a269b84fc chore: remove isProLiteConsole function
This PR reports back to main the changes discussed here: https://hasurahq.slack.com/archives/CKATHV1J7/p1685348635635059?thread_ts=1684879014.661199&cid=CKATHV1J7

TL;DR
- we created a isProConsole function and used it in isDynamicDBRoutingEnabled. We merged this on main
- we opened a cherry pick PR
- we figured out that the isProConsole misses the license key validation feature, so the function was not doing what the function name suggested.
- in the cherry pick PR we removed the generic isProConsole function (whose name was misleading) and replaced it with an inline console type check in the isDynamicDBRoutingEnabled. (the console type-only check is ok in that particular feature)

Since the last point happened only on the cherry-pick PR, we opened this PR to do the same on the main branch.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9368
GitOrigin-RevId: e358862e479ac2efa7268787ab2ca32d5a0994b5
2023-06-13 08:22:26 +00:00
Varun Dey
d3fd27d9db console: fix neon DB connection error due to env var propagation delay
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9430
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
GitOrigin-RevId: ea407dae924ef2e88c4cb27b2207f52dc0fdf125
2023-06-12 18:00:53 +00:00
Daniel Harvey
aeb8bc4c7a chore(server): fix types of BigQuery parameters
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9511
GitOrigin-RevId: f291814fab80060d83fabc34af918682c8108b7c
2023-06-12 17:13:12 +00:00
Tom Harding
be658e532c Fail to track logical models with invalid child logical models
[NDAT-719]: https://hasurahq.atlassian.net/browse/NDAT-719?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9474
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 0234548c5fc56e3e9e2d5d291735d132c5963a14
2023-06-12 16:27:56 +00:00
Tom Harding
d864fff13f Move query validation into the schema cache building code
[NDAT-707]: https://hasurahq.atlassian.net/browse/NDAT-707?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9510
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 11474498c75bfe1eb1173fed1073cc0206d290a1
2023-06-12 14:57:41 +00:00
Rob Dominguez
9e3c813b7e docs: add sanity bearing additions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9423
GitOrigin-RevId: 7ba96b5fb1431267530673f86ac6685d4a408b0d
2023-06-12 12:19:36 +00:00
Auke Booij
a53ab33330 server: hotfix for wrong PG conn pool, broken metrics, etc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9481
GitOrigin-RevId: 58aa470b94cc578ae86fff0ef49ceb9e479199d1
2023-06-12 12:14:57 +00:00
Luca Restagno
00c822e439 docs: add documentation for logical models in the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9395
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 2d26c9f7700e17de3b2248fcf6b944f1576caa7b
2023-06-12 11:18:20 +00:00
Rob Dominguez
7fde2f4973 docs: add note and pointer to restified api docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9458
GitOrigin-RevId: aa90396975c1cf78adb3da8d08bcdc170a05ec48
2023-06-12 09:52:30 +00:00
Anon Ray
c23320054d server: emit logs when stored introspection is used
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9472
GitOrigin-RevId: 9be2eaa9ebc5f39a7bb44a1fc2340acbd4074bcd
2023-06-12 08:53:05 +00:00
Vijay Prasanna
31c6699013 console (tests): add unit and interaction tests for ConnectPostgresWidget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9478
GitOrigin-RevId: 1fbfca3839b488fc46d774d8883cc74e44d22abe
2023-06-12 08:52:56 +00:00
Daniel Harvey
d5467d8d3a chore(server): add track_logical_model and untrack_logical_model to bulk_atomic command
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9484
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: d10490be355e859396e20e2a4a66361ed9d01893
2023-06-12 06:52:39 +00:00
Philip Lykke Carlsen
42916ad6c2 docs: Port Postgres docs of Native Queries and Logical Models to other supported backends
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9483
GitOrigin-RevId: e2e52c14cdde2eabb7f23b5d4991fd467609b313
2023-06-09 13:58:31 +00:00
Rakesh Emmadi
89ca064db5 server: update the logic of fetching stored introspection and fix evaluating partial stored introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9489
GitOrigin-RevId: e18a6d32c7dcf4d4af077c72cffb6e4498ef838f
2023-06-08 20:33:16 +00:00
Julian
77786f2a6d Re-add Neon dashboard link to manage DBs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9482
GitOrigin-RevId: 58a739c0cce943f9922fe0e3d4251a8ac19ced63
2023-06-08 19:37:44 +00:00
Rishichandra Wawhal
db1b6cf424 frontend: Schema registry UI improvements
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9479
GitOrigin-RevId: 306df780cfb9cc39a335abd98706ae2fe4293700
2023-06-08 18:33:10 +00:00
Anon Ray
c3527e3c98 server/pro: increase the defaults of cache params in EE
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9470
GitOrigin-RevId: aa565de9d9876ae381e791a30c747fbefd96f69a
2023-06-08 16:57:36 +00:00
Philip Lykke Carlsen
e3ba41324b docs: logical model references, native query relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9462
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 29a40ebf19c60fa182449c3721bf1d8d9f2d999f
2023-06-08 14:04:09 +00:00
Rikin Kachhia
5601e1bd1f update install manifests with v2.27.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9480
GitOrigin-RevId: e41a50f9d3144a8306e16de458d06d3683b80cce
2023-06-08 13:57:55 +00:00
Julian
3e6b7816df Improve loading UX on permissions editor
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9457
GitOrigin-RevId: 548c4ccadd4672d7cbdb12e637e919243edb0f2a
2023-06-08 13:22:38 +00:00
Daniel Harvey
be252cddf7 chore(ci-info): fix various compiler warnings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9461
GitOrigin-RevId: 2160bd10c5464fad34bb5b9057beaa718c58a2ae
2023-06-08 12:25:22 +00:00
Rob Dominguez
b9b9ce361d docs: add missing explanations on logging page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9436
GitOrigin-RevId: 08bd33be10aa35e363b0bc665e2ee656c2178cb2
2023-06-08 11:44:24 +00:00