Samir Talwar
8435d7a5fb
server: Update the contributing guide.
...
* The versions for some tools were out of date; updated accordingly.
* The link to the Dockerfile was broken.
* Included instructions for Nix.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6403
GitOrigin-RevId: 3acbafe90e4bb9267dcdb2dce5e205773a14dfc9
2022-10-18 09:50:46 +00:00
Tom Harding
17ea024884
Add tests for query fragments
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6385
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 2cb3255cf9c1aea9e010affecc5f038ea6aa6ab9
2022-10-18 09:17:41 +00:00
Philip Lykke Carlsen
032c25240b
fix: Disable subscriptions in CockroachDB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6368
GitOrigin-RevId: b1434b830d3ef84e13c7abb64ecb6ef3c1878a55
2022-10-18 08:44:34 +00:00
Tom Harding
c1b66d7243
Add tests for query aliases
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6384
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 331baf9ec41bc6b2d618362e87defa44ca39da40
2022-10-18 08:11:06 +00:00
Solomon
1e8846d27d
Refactor GDC Fixture Modules for Hspec Tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6358
GitOrigin-RevId: 19b63d1db75998875463eb2a88e938eba688ecb0
2022-10-18 05:33:46 +00:00
Vijay Prasanna
2298c21ae0
feature (console): add storybook components for local relationships for GDC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6290
GitOrigin-RevId: aadac5dc29db2d1fa6550a604e04a6baa3b7c661
2022-10-18 04:58:13 +00:00
Daniel Chambers
5c51ff4288
Fix conflicting data connector comparison exp GraphQL types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6394
GitOrigin-RevId: c272e8aad426a18ccadfec005e03d5b2669e035c
2022-10-18 04:19:12 +00:00
Mohd Bilal
51424c0857
cli: use github.com/stretchr/testify/require
assertions in internal/hasura/pgdump
tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6364
GitOrigin-RevId: c6c99c092e6992d3905e1a1f58ea0373911238f8
2022-10-18 03:24:17 +00:00
Solomon
15ac95d446
Adds GDC Fixture to query specs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6352
GitOrigin-RevId: 2abba0743648e7f24baddd7591eee737ba795869
2022-10-18 02:48:33 +00:00
Solomon
5e85b0c534
Mutable Sqlite GDC Fixture - GDC-455
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6351
GitOrigin-RevId: bdcb3cfa694dda6a0d1473331bc689aae418a5bb
2022-10-17 22:53:14 +00:00
Abhijeet Khangarot
49a2822dbe
console: UI fixes for neon banner in connect db page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6376
Co-authored-by: Rishichandra Wawhal <27274869+wawhal@users.noreply.github.com>
GitOrigin-RevId: 8f2ec961be370097b48b684211606d34dbaa002d
2022-10-17 19:04:52 +00:00
Mohd Bilal
aa70c62bdd
cli: port internal/hasura/v2query
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6379
GitOrigin-RevId: 787e5cce03006b0d248a79797923efb8fe6fa7b4
2022-10-17 18:28:56 +00:00
Mohd Bilal
081b9163c4
cli: port internal/hausra/sourceops/postgres
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6374
GitOrigin-RevId: 8b52f7409799d7ac3b43937cc66837ab3861cd03
2022-10-17 17:56:02 +00:00
Mohd Bilal
7044bf194d
cli: port internal/hasura/v1graphql
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6322
GitOrigin-RevId: 1f1c8f13bd688881c48f3381dc9e3e7bacf5fc0c
2022-10-17 17:02:00 +00:00
Erik Magnusson
63ef6e722c
console: refactor the data pages edit tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6380
GitOrigin-RevId: 15a96fd2f743d84570026aeeb75efbcbd9386c2a
2022-10-17 16:10:42 +00:00
Tom Harding
a4a7d06000
Add (failing) remote relationship test for CockroachDB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6315
GitOrigin-RevId: dd15b1743343d8d1156cc18462b24535f5e05f56
2022-10-17 15:19:03 +00:00
Daniel Harvey
f4f4221d04
tests: Docker Compose healthchecks
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6282
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
GitOrigin-RevId: c2b1f958364ce5e1ef704fa1275d18ac810ca35b
2022-10-17 13:20:31 +00:00
Varun Choudhary
3757731228
console: Implemented batch_size
API limit to tackle GraphQL batching attacks
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6337
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 826bbbf33ad9608db7807d919ba685d1b15c4e32
2022-10-17 12:39:02 +00:00
Samir Talwar
ed4d948adf
server/tests-py: Make run.sh work on aarch64.
...
This helps with running the tests locally on a recent Mac.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6304
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: eb5c6a185f68b216c94df2581acf71906cce7872
2022-10-17 12:08:25 +00:00
Varun Choudhary
b60b38d70b
console: show total max connections
in pool settings fields for CE/EE/Cloud
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6080
GitOrigin-RevId: aafa8350f8d00d3f8ddb6e51964f06a25455aac5
2022-10-17 10:38:34 +00:00
Mohd Bilal
06138634bc
cli: use github.com/stretchr/testify/require
assertions in internal/hasura/catalogstate
tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6360
GitOrigin-RevId: 1c0f1666fb0ca70d7cf00e6584c549f1bf044c69
2022-10-17 09:57:59 +00:00
Vijay Prasanna
f15e3f0148
feature (console): use list_source_kinds
to get available drivers for the connect DB page
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6359
GitOrigin-RevId: 2d75899258d1581c840ef14b161532f0f10a7b5e
2022-10-17 09:05:34 +00:00
Rakesh Emmadi
5666161ac9
server/multitenant: resize sources' connection pools when a cloud project is scaled, global connection pooling
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5708
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: pranshi06 <85474619+pranshi06@users.noreply.github.com>
Co-authored-by: Puru Gupta <32328846+purugupta99@users.noreply.github.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: 513d497548d89b397d4a299355b11607daec3c7e
2022-10-17 08:06:12 +00:00
Solomon
4700ac44fb
Webhook Transforms: Move RequestCtx into a type family
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5975
GitOrigin-RevId: 08ad528b2600379deb4cef9d39968126c7c745d8
2022-10-16 03:55:06 +00:00
Shraddha Agrawal
60411b95e5
docs: update region migration docs
...
fix for Jira ticket: https://hasurahq.atlassian.net/browse/CPS-251
This PR adds more context why user's should change the region of their cloud project to a region closer to their database. This is part of the changes of the MRAU project.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6312
GitOrigin-RevId: 3868b0659bc6cfcdc4861bda8433ed342049c6b5
2022-10-14 13:11:36 +00:00
Solomon
011e7be360
Dispatch JSON serialization by BackendType for Table Names in Test Suite
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6350
GitOrigin-RevId: 736a41592c3acd018fa1777dafc0b2e8098d2dc6
2022-10-14 01:47:49 +00:00
Rob Dominguez
c326cf4637
docs: reformat links
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6331
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 6c059c65f3c260c15cc565d47e13a3a479ca766c
2022-10-13 19:48:32 +00:00
Daniel Chambers
6d8231903c
Reworked scalar type determination in SQLite agent [GDC-455]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6335
GitOrigin-RevId: baf7619a0c705bddcbd75f8842bf8fcfeeaa05c9
2022-10-13 19:03:25 +00:00
Jesse Hallett
c6bcf1cd76
server: codecs for object & array relationships, and computed fields
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5923
GitOrigin-RevId: e0c7584539998f5af16795f023640aa5c659b783
2022-10-13 17:57:23 +00:00
Rob Dominguez
35ce169821
docs: add tl;dr and improve page structure
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6345
GitOrigin-RevId: 0050ee4884713d67059145436cf8c5de64ded896
2022-10-13 17:00:17 +00:00
Krushan Bauva
63f90cc93c
server: add api limit - batch limit
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6183
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 517766e10a3e94a54b754df69c47c61232d8dbb2
2022-10-13 16:54:26 +00:00
Samir Talwar
0d4d7e6b1e
server/tests-py: Start helper services in the test harness.
...
This makes it possible for the test harness to start the test JWK server and the test remote schema server.
In order to do this, we still generate the TLS certificates in the test script (because we need to install the generated CA certificate in the OS certificate store), and then pass the certificate and key paths into the test runner.
Because we are still using _test-server.sh_ for now, we don't use the JWK server fixture in that case, as HGE needs the JWK server to be up and running when it starts. Instead, we keep running it outside (for now).
This is also the case for the GraphQL server fixture when we are running the server upgrade/downgrade tests.
I have also refactored _graphql_server.py_ so there isn't a global `HGE_URLS` value, but instead the value is passed through.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6303
GitOrigin-RevId: 06f05ff674372dc5d632e55d68e661f5c7a17c10
2022-10-13 15:45:24 +00:00
Aravind K P
2e0cd9267b
cli: port v1query
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6334
GitOrigin-RevId: 094745ed3c8e6aaab5f7f01236ddbebba0f043ba
2022-10-13 15:06:56 +00:00
Nicolas Inchauspe
c3578869be
console: fix frequently used columns dropdown
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6340
GitOrigin-RevId: 242b7c1e21d2d800697b8748b794a086a756d2ae
2022-10-13 14:37:46 +00:00
Philip Lykke Carlsen
10ae79173e
Mention all src-rsr files in 'extra-source-files' section
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6341
GitOrigin-RevId: 90d9a43304ab48caa67f2d0267a821ebb51a362c
2022-10-13 13:58:20 +00:00
Vijay Prasanna
ea1ed79280
fix (console): introspection type name with customization breaks getTableColumns
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6319
GitOrigin-RevId: eb2d33b564695285970ca5b07d526e96a749326c
2022-10-13 13:30:14 +00:00
Daniel Harvey
4e23afed8d
tests: disable stringifyNumbers in tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6338
GitOrigin-RevId: d3819dfda342af2b70df00d49edfc05dfa9582f5
2022-10-13 12:19:32 +00:00
Erik Magnusson
b2f89f6685
console: configure currently supported cockroach features
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6323
GitOrigin-RevId: 7c5929ef8f6d3d933c361c67dd99c7a5ce051f03
2022-10-13 11:28:19 +00:00
pranshi06
dccc2cea03
server: unauthenticated behaviour with Apollo ws
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4862
GitOrigin-RevId: 14db3fa732c7d6430795193e425769b63a221f19
2022-10-13 09:33:53 +00:00
Luca Restagno
cf672a1a59
console: Enable SSL Certificates Configuration in the Console for CDB
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6325
GitOrigin-RevId: 9f6e381dda3e2fcf60bb97c30732a46abb05242f
2022-10-13 08:04:32 +00:00
Daniel Chambers
da8533526c
Adds explicit main schema option to SQLite data connector agent [GDC-455]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6307
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
GitOrigin-RevId: 90433478867ffc21826f07df8587da86bd43dc88
2022-10-13 04:20:11 +00:00
Matthew Goodwin
ea6d9226d7
Sql lite testing revisions
...
As I have been onboarding, in order to get a working sqlite agent/db running locally, I got some helpful steps from @mattshardman which I adapted into this testing setup.
Hopefully this should ease the pain for the next person needing to do this!
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6261
GitOrigin-RevId: 03a3f04e38f118898bfd1d27de9305739dee5276
2022-10-12 20:28:24 +00:00
hasura-bot
fba98a8217
docs: update docker-compose spelling, close #8886
...
GITHUB_PR_NUMBER: 9046
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9046
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6157
Co-authored-by: Amit Kumar Sharma <91947037+amit-ksh@users.noreply.github.com>
GitOrigin-RevId: b2172918456617ce4da4856abb1325180b19ecdd
2022-10-12 19:23:12 +00:00
Samir Talwar
96a768e526
Upgrade HLint to v3.4.1.
...
This upgrades CI and anyone using Nix to HLint v3.4.1.
If you're not using Nix, this doesn't actually _do_ anything on your
local machine; it's just a suggestion.
It also applies a bunch of simple HLint refactors, using
`make lint-hs-fix`.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6324
GitOrigin-RevId: de8267e4909d6dcd3f83543188517f3aaeebc5f3
2022-10-12 19:14:56 +00:00
Jesse Hallett
332faabc24
server: codecs for remaining database configuration types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6062
GitOrigin-RevId: f1ba9fa30267d1825ba36480103cd973616f3079
2022-10-12 16:30:05 +00:00
Rob Dominguez
ac3c054b27
docs: add neon heroku-specific migration guide
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6302
GitOrigin-RevId: 5dfc0c6a194f42c48a5226902e02b80806cf35b3
2022-10-12 15:10:02 +00:00
Tom Harding
9242aea138
Add Delete
tests for Cockroach
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6283
GitOrigin-RevId: 25c075741afbc7730cf13cd79c8838e812eb8cff
2022-10-12 15:03:32 +00:00
Samir Talwar
e78dc7f4eb
server/tests-py: Remove checks for PostgreSQL 9.x.
...
We no longer run tests against these PostgreSQL versions.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6320
GitOrigin-RevId: 175ec5bd5db5fe0a96733f948a10b141aa40ba09
2022-10-12 14:27:48 +00:00
Tom Harding
97a9ce842a
Update documentation to stop supporting Postgres 9.5
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6317
GitOrigin-RevId: 6f098f26943d0e2cba1725aaf2e76aaf1f50ebef
2022-10-12 13:37:23 +00:00
Samir Talwar
bebff269a6
server/tests-py: If a port is busy, try to figure out why.
...
Every now and again, I see in CI that a test will abort early because port 8080 is busy. Given that we're running in a fresh Docker container, this makes no sense to me.
On failure, it will now run `lsof -i :$PORT` to try and figure out what's listening on that port.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6285
GitOrigin-RevId: 5eb58d016b2f43872e2c78a7d89d27cfc3e22312
2022-10-12 13:28:03 +00:00