Commit Graph

6445 Commits

Author SHA1 Message Date
Gil Mizrahi
413d8d2bb4 name conflicts for logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8236
GitOrigin-RevId: e8edc914b34f362ee3391f0a70bfcbea6d6fa11f
2023-03-09 07:02:41 +00:00
Tom Harding
d0037e0f79 Remove redundant basic object query pytests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8240
GitOrigin-RevId: 1e700613b96c78805318519ca5593eca61b4a088
2023-03-08 17:07:38 +00:00
Erik Magnusson
109c700798 Dsf 151 allow users to create update permissions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8188
GitOrigin-RevId: a1a4d58abd52b4ef230adc4a904af9ef1c6ce443
2023-03-08 14:52:24 +00:00
Sean Park-Ross
639c4866d5 Docs: Small Changes 01
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8074
GitOrigin-RevId: a752acd8a71bec8495bb7c295f2a6151992e1720
2023-03-08 12:27:28 +00:00
surendran82
cffd64ee6a docs: update thin strip banner for snowflake webinar
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8235
GitOrigin-RevId: 50397fbec0fd9845384c9af60cbc0a06387c6561
2023-03-08 12:11:21 +00:00
Daniel Chambers
1727b5236a Block adding remote relationships where they are not supported by the Data Connector agent
[GDC-1015]: https://hasurahq.atlassian.net/browse/GDC-1015?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8232
GitOrigin-RevId: 0cc3b7b1f17b2e6d4cdfa713b1581357de62f359
2023-03-08 06:01:04 +00:00
Samir Talwar
650e17df3c CI: Add commentary on how the Python integration test scripts work.
And links to documentation for the various Buildkite plugins, while we're at it.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8099
GitOrigin-RevId: ead112ffbb0c04278b586520f1f349a5a8afbd99
2023-03-07 20:59:31 +00:00
Samir Talwar
1cd2891407 CI: Upgrade server-pytest-runner's dependencies.
Part of [NDAT-561](https://hasurahq.atlassian.net/browse/NDAT-561).

It's time for a refresh.

This upgrades Python and all the other dependencies. We mostly care about the Google Cloud CLI, as it's crashing sometimes.

I also upgraded the Python integration test dependencies themselves, as otherwise the image fails to build. I didn't look too much into it.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8216
GitOrigin-RevId: ce48a89df7e0ede2fbcf686b71e96182dc91ee58
2023-03-07 17:41:00 +00:00
Daniele Cammareri
0dc3073559 add dynamic db routing storybook component
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8152
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 89a15b336d85301308e18e82754f10f4ed856563
2023-03-07 16:33:28 +00:00
Tom Harding
061c6aa0f9 Test all simple queries with websockets
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8228
GitOrigin-RevId: a4aacb08892e489d5209aaf8efce8c7f3adb5b80
2023-03-07 15:50:24 +00:00
Matthew Goodwin
aa39203e13 console: fixes incorrect data type shown in GDC modify tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8180
GitOrigin-RevId: 0b4272f7161759541b28ae04bf0a517fb9e42823
2023-03-07 14:38:46 +00:00
Daniel Harvey
8064d6fe2b chore(server): fix logical models tests to parse raw number values
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8223
GitOrigin-RevId: 3a0b0b26b4295f00d84b0032e3c098502a295239
2023-03-07 10:49:23 +00:00
Daniel Harvey
e93d3d2735 feature(server): allow nullability in Logical Model arguments
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8214
GitOrigin-RevId: 1ecf4c9c362aad9eabad2134a70266ff1170577b
2023-03-07 10:04:58 +00:00
Priya Sharma
1f2212a82f cli : add a function to accept logger as parameter for deploy function
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8195
GitOrigin-RevId: 745bcae76e0f0c2a9ca2fc6dec06e39cd7b05f40
2023-03-07 08:31:57 +00:00
Daniel Chambers
116c290288 Added remote relationship target support to SQLite agent
[GDC-1010]: https://hasurahq.atlassian.net/browse/GDC-1010?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8218
GitOrigin-RevId: b0173d1dbeb4f71b079a90cbabd6ce48d05c1858
2023-03-07 07:16:40 +00:00
Varun Choudhary
e82c82b181 console: fix routing for Import OAS "Modify" button
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8203
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 8fa100f710ff2ebd034263ad2299ebe93c6ebfe8
2023-03-07 05:53:28 +00:00
Matthew Goodwin
d306eda79a console: if GDC source is only source, sidebar is showing "no data available" [DSF-178]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8217
GitOrigin-RevId: f046a262b5a8966ed2142c011fb4f2163baa8cb0
2023-03-07 05:15:35 +00:00
Daniel Chambers
dc83352863 Support for using Data Connectors as the target of remote relationships
[GDC-487]: https://hasurahq.atlassian.net/browse/GDC-487?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[GDC-488]: https://hasurahq.atlassian.net/browse/GDC-488?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8182
GitOrigin-RevId: 712953666e1a5ea07500f1e1aed669f27650f7a4
2023-03-07 01:33:26 +00:00
Samir Talwar
d4aa038d1d Nix: Update flake.lock.
It's been a while.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8158
GitOrigin-RevId: 3492e8fe579105b5888b155d2552ea15b6b04177
2023-03-06 22:13:25 +00:00
Sooraj
01a24add5d console/fix: headers are getting removed from ET while updating trigger options
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8202
GitOrigin-RevId: 2aa5d9ad2370af093b37c7a209571a2bced4076b
2023-03-06 17:52:37 +00:00
Daniel Harvey
ba5753e0cb feature(server): select permissions for Logical Models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8049
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 0e51ebfbf01e408f9a7a343edb5b3d9a7183140a
2023-03-06 16:40:48 +00:00
Luca Restagno
55d4d6728f [Insert row] Data type input fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8157
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: eca03f405a37aa8d3d2b1be17a784b0f125becc1
2023-03-06 15:55:57 +00:00
Tom Harding
df11036367 Resolve LogicalModelMetadata permissions into LogicalModelInfo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8191
GitOrigin-RevId: e7969b7dcbe70381fb227a5008eb75e4cdcbda51
2023-03-06 15:08:08 +00:00
Divi
c591f1b7a4 ci: catalog version update for v2.11.4 release
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8205
GitOrigin-RevId: cbb29ca609ec412e6eae8a27a35c12a508987c64
2023-03-06 13:55:47 +00:00
Julian@Hasura
cd953e5e7a Permissions: Support Column Comparison Operators
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8117
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: aff2b905fb82fef167267efe8130e55961c144e0
2023-03-06 12:41:07 +00:00
Tirumarai Selvan
79fb87adeb remove support block from caching docs
GitOrigin-RevId: c2b4f8036c86fb3a7ee57a0268f66267a66d8653
2023-03-06 12:06:14 +00:00
Divi
26febe9155 ci: set SERVER_TEST_MODE in get-version.sh if not set
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8196
GitOrigin-RevId: 9df9424e1c9ed34151be4805e1f51dbec1266dc0
2023-03-06 08:30:01 +00:00
paritosh-08
3ff4d1f015 rfc: warning in replace_metadata metadata API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7374
GitOrigin-RevId: e6f121bf9077503539aac055d6e770da6c84de4f
2023-03-06 06:32:24 +00:00
paritosh-08
96549b272b server: fix naming convention bugs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8016
GitOrigin-RevId: f3166f52a2b70d6998d71ebdcd222a7e008495fd
2023-03-06 06:23:20 +00:00
Vijay Prasanna
ade7b43e3b console (tests): refactor ConnectBigQueryWidget component + add interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8164
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
GitOrigin-RevId: 1bc3b8cc2acc7e5d14b0b36aa2f83e08537d775c
2023-03-03 18:36:41 +00:00
Tom Harding
769c25c7f3 Drop a logical model from the metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8189
GitOrigin-RevId: f82dbeaef8bd88ac2065e43661bb1480b340fea1
2023-03-03 17:59:57 +00:00
Vijay Prasanna
e2e8543400 console: refactor ConnectMssqlWidget component + add interaction tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8151
GitOrigin-RevId: c8f91f3cc608c8d9b720aa98d423a5f5c85d3bc9
2023-03-03 17:19:40 +00:00
Tom Harding
16dac48f0c chore(server): Factor out logical model metadata existence check
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8187
GitOrigin-RevId: c18b593c8dec68b655af369e83756c37a36f53f1
2023-03-03 16:46:07 +00:00
Tom Harding
6385b4b968 feat(server): Add metadata command to create logical model permissions in metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8184
GitOrigin-RevId: b38a39812acd4a0a5ced93945b476acf8480c792
2023-03-03 15:29:16 +00:00
Abhijeet Khangarot
d1b4472451 fix: add node modules to gitignore
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8181
GitOrigin-RevId: 5be080c804493f26e3edff09a54b1a06d2010ba1
2023-03-03 07:19:48 +00:00
Tom Harding
a8f1af21ca Remove incoherent pragmas in Network.URI.Extended
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8179
GitOrigin-RevId: 66a1c8d26ef2a4eecba8a49f906582e5f9eb871c
2023-03-03 06:02:57 +00:00
Tom Harding
dd24a29419 Handle docker when running make test-logical-models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8177
GitOrigin-RevId: 25faf2c94c5a605c49495e4da848683ae32c1927
2023-03-02 16:35:05 +00:00
Tom Harding
1574125f10 Separate the metadata and cache representations of logical models
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8176
GitOrigin-RevId: a1ead98ea9d07b30ee09298e7f27a139d87711fa
2023-03-02 16:04:18 +00:00
Gil Mizrahi
60bd355a99 test: logimo validation prepared statement is deallocated
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8175
GitOrigin-RevId: 35ec7e69b616ebd7a4a30760b1698bd379e07d74
2023-03-02 15:30:35 +00:00
Philip Lykke Carlsen
8d02c88c1a refactor(github, hlint): Add hlint white-list of modules that can import backend instances
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8133
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 2c8aded4e77003d176931432e33e6d4c8cccfc6c
2023-03-02 14:45:57 +00:00
Jigyasu Arya
d70603246c docs - update thin strip banners for snowflake, observability and security webinars
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8173
GitOrigin-RevId: 6b6b7d9fed85d5ff66cb7be23a9d723053bb51f1
2023-03-02 14:09:48 +00:00
Tom Harding
66c8b2d2c6 Encode logical models in ToJSON SourceInfo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8172
GitOrigin-RevId: cb8d5c8efa9017e725bba96de747a29909736eb8
2023-03-02 13:30:57 +00:00
Rikin Kachhia
29b5aee03a console: fix subscription protocol
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8166
GitOrigin-RevId: aa688d97c9d7f0217c628fcf2252e741ea61455d
2023-03-02 12:51:18 +00:00
Tom Harding
25a470b2fd Rename the logical model test example root fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8170
GitOrigin-RevId: fffa3f82f92326661b48d82144fe9fd8331916fe
2023-03-02 12:18:17 +00:00
Tom Harding
9091248a3a Run the API tests with WebSockets
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7802
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
Co-authored-by: hasura-bot <30118761+hasura-bot@users.noreply.github.com>
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
Co-authored-by: gneeri <10553562+gneeri@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Antoine Leblanc <1618949+nicuveo@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
Co-authored-by: Nicolas Beaussart <7281023+beaussan@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
Co-authored-by: Lyndon Maydwell <92299+sordina@users.noreply.github.com>
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
Co-authored-by: Julian@Hasura <118911427+julian-mayorga@users.noreply.github.com>
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 547786fa9ff8635aec6d62f9198df185f4ff6473
2023-03-02 11:36:55 +00:00
Philip Lykke Carlsen
b70b847207 feat: Add nullability and descriptions to custom return types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8135
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: cdde3795b32d56103c0bf5ebb31af2eab60665f2
2023-03-02 10:57:39 +00:00
Vijay Prasanna
0d49cf02f3 console: fix missing props in ConnectPostgresWidget's read replicas field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8147
GitOrigin-RevId: 12aedbb5a7960ccdf26205eb49e0ba48d0c0d4f9
2023-03-02 05:09:46 +00:00
Nicolas Beaussart
1e0fa95493 frontend: update nx to 15.8.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8162
GitOrigin-RevId: 7d008762530bb07439a024638fc1221aee677873
2023-03-01 14:17:47 +00:00
Samir Talwar
59ca6fe81e CI: Make get-version.sh fail if any of the git commands fail.
We are seeing errors emitted from get-version.sh in some PRs, but it proceeds anyway, generating a nonsense version of "dev--".

Instead, let's fail fast so we can diagnose the issue.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8115
GitOrigin-RevId: bb8d25f0f56c807dbb9928b82e31c94d23d9d1f5
2023-03-01 14:17:36 +00:00
paritosh-08
e9e5aab169 docs: add comments to prometheus metrics table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8124
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 90ea5729f1b506daa06ea5a3e30b52b724191f6e
2023-03-01 12:44:37 +00:00