Commit Graph

7050 Commits

Author SHA1 Message Date
Gil Mizrahi
db5370bb62 test-harness: if server fails to start, throwTo main
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9206
GitOrigin-RevId: 0663121db8ee546799a4de6deae861740614afc5
2023-05-18 10:02:15 +00:00
Tom Harding
34a46c7f23 Remove any/all hlint rules
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9208
GitOrigin-RevId: fb7fddcedf35acd9e360824399c932a61c9bb18b
2023-05-18 09:21:20 +00:00
Aaysha
369bfb73cf Fixing the Trigger of Heap Event : Console Load Onboarding Wizard
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9193
GitOrigin-RevId: 922940c5c3fbfb08efe0dd838d1e0e2c63459e53
2023-05-18 08:52:31 +00:00
Matthew Goodwin
07c08e7e84 console: add navigation back to list view when tracking stored proc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9204
GitOrigin-RevId: ced848934f9ad8eab86def81fcef5a9e6a8278d2
2023-05-18 00:15:14 +00:00
Matthew Goodwin
aaff7236b1 console: adjust docker setup to use template for compose file
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9200
GitOrigin-RevId: 7e1be7cf34d2df6b3345652f95d3ae3bb9b88a93
2023-05-17 18:37:54 +00:00
Matthew Goodwin
1d91f633c3 console: fix data types issues in native queries forms
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9198
GitOrigin-RevId: 07932129503b4941c21e99bf11d5eac32ea6fa11
2023-05-17 17:13:48 +00:00
Daniel Chambers
605f0281dc Add untrack_tables metadata API
[GDC-1198]: https://hasurahq.atlassian.net/browse/GDC-1198?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9181
GitOrigin-RevId: 0ff4acae990476f93d11829173e0e4f31e8db04e
2023-05-17 15:31:56 +00:00
Philip Lykke Carlsen
3c7fa7cca1 feat(tests-harness): Support api-tests using postgres-agent data connector
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9188
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 3eda64bcfcaebfb3fcef6783a88a1a4d36dade43
2023-05-17 14:44:06 +00:00
Samir Talwar
428613d3f3 docs: Logical Model + Native Query documentation for SQL Server and BigQuery.
This adds Logical Model + Native Query documentation for SQL Server and BigQuery. It is very similar to the documentation for PostgreSQL.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9194
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 84c003ad4a836c16590c1eccccef02279937fc10
2023-05-17 14:16:06 +00:00
Daniel Harvey
42817af958 chore(server): split NamingCase type from functions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9184
GitOrigin-RevId: caf36bdaa6c739855153b33a0f130b3f2dda6c0a
2023-05-17 14:03:40 +00:00
Luca Restagno
ee2258288e Add feature flag to enable the new permissions UI for native sources
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9167
GitOrigin-RevId: 23a5ef0f6a0987312a85301f6f89af94422f009d
2023-05-17 11:52:30 +00:00
Vijay Prasanna
de04bf49f3 console: fixes issue when renaming databases in the new connect DB UI
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9183
GitOrigin-RevId: 638fa3d8e4c8a62c448fbd49acadfb5849e00104
2023-05-17 09:51:07 +00:00
Auke Booij
a6eaeceabe server: support caching when forwarding client headers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9021
Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: d82eaee50d6bb5bbb2c01f2900875ba8ab73a1b0
2023-05-17 09:22:52 +00:00
Daniel Harvey
8f4692d871 chore(server): move table related things to Hasura.Table.*
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9174
GitOrigin-RevId: d440647ac04b9c1717ecf22a2dbfb8c5f22b7c7a
2023-05-17 08:55:32 +00:00
Samir Talwar
c8a417406f docs: Add documentation for Logical Models and Native Queries.
This adds four pages to the documentation:

  * GraphQL Schema → Postgres → Extend with Logical Models
  * GraphQL Schema → Postgres → Extend with Logical Models → Native Queries
  * API Reference → Metadata APIs → Logical Models
  * API Reference → Metadata APIs → Native Queries

It only covers native queries in PostgreSQL. We will add documentation
for SQL Server and BigQuery after this has been approved.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9180
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 7b8f7b6c656074172bcb80472f7af88864d20159
2023-05-17 08:10:44 +00:00
Tom Harding
6695204d90 Implement get_table_info for GDC backends
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9176
GitOrigin-RevId: 88e75233b0c0fe2fa5077f1d1f4b2b2cbc0b6b37
2023-05-17 08:04:55 +00:00
Vijay Prasanna
7d397fcf73 console: integrate SQL server procedures to the console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9169
GitOrigin-RevId: 3daff76ae127a2727e6ece153e4b06e3c00a9a32
2023-05-17 07:38:27 +00:00
paritosh-08
67044e6675 docs: high cardinality label for metrics toggle
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9135
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 75932f6848c9df74f5d11023e29702b9ff124c35
2023-05-17 05:38:10 +00:00
Daniel Harvey
48d4882b6c chore(server): NQ -> NQ array relationships for SQLServer and BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9166
GitOrigin-RevId: ac713d50059737728796d89ee5bc8f907cf85ff8
2023-05-16 17:40:56 +00:00
Rakesh Emmadi
79d2e20e69 server: use stored introspection only when upstream remote schema unreachable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9074
GitOrigin-RevId: e0dcdbcab0691e680fa7c8e0df4afe38aa2a7504
2023-05-16 17:03:10 +00:00
Tom Harding
56a015fdfd Introduce Backend::getTableInfo
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9172
GitOrigin-RevId: 4c90f250d0172fd911eadbe5bbd6949770139cd0
2023-05-16 16:29:38 +00:00
Daniel Harvey
0fce0099b8 chore(server): use generics over TH in Hasura.Eventing
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9143
GitOrigin-RevId: ed11588db37f5336698fc33f50066e75fa7f73a1
2023-05-16 15:53:37 +00:00
Daniel Harvey
ce1e068813 chore(server): remove NQ -> table relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9170
GitOrigin-RevId: 01258fbcde8471c1b693b06d37c3242fe4909107
2023-05-16 15:09:18 +00:00
Vijay Prasanna
7ed2b0b282 console: add support for SQL server stored procedures
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9084
GitOrigin-RevId: a2b5d7012c171329834e905b34e5e9711e8beebb
2023-05-16 13:57:36 +00:00
Julian
3e6ea91770 Test Mongo nested relationships in console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9051
GitOrigin-RevId: 1727a8b4527f3a0d20285dcd66023b9586ffc80b
2023-05-16 13:23:05 +00:00
Auke Booij
3d77697664 server: Make StoredIntrospection hold EncJSON rather than structured data
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9157
GitOrigin-RevId: 788bd1012642164ec034e7c7c1059063671d6d75
2023-05-16 12:41:41 +00:00
Varun Choudhary
6436dbafd2 console: show detailed error message while importing inconsistent metadata
This PR fixes an issue with an error message while importing the inconsistent metadata.
The console shows the generic error message, not the detailed error.
More info - [slack thread ](https://hasurahq.slack.com/archives/C02G2M3C1T3/p1684223626357299)

## Related Issues 👾
https://hasurahq.atlassian.net/browse/GS-557

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9163
GitOrigin-RevId: 021f23aeac61ac5886549ee24e1a021946690cae
2023-05-16 11:56:09 +00:00
Varun Dey
1d2f1956cf console: Get delete project grants from neon while exchanging auth tokens
[GT-595]: https://hasurahq.atlassian.net/browse/GT-595?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9164
GitOrigin-RevId: cb01e1586b3591b046c80b29143aa3f114accf68
2023-05-16 11:06:12 +00:00
Philip Lykke Carlsen
e73f997284 feat(test-harness): Maintain pools of hge processes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9158
GitOrigin-RevId: 243e2d771cd8c31852b8b1959b006f27440f079d
2023-05-16 10:05:12 +00:00
Daniel Harvey
db8f3b4a28 chore(server): Native Query array -> array relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9152
GitOrigin-RevId: f6aceb4a86a782d72d836afd65fb6ad73d19e7d7
2023-05-16 08:37:05 +00:00
Anon Ray
af68742666 docs: add caching parameters to EE docs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9077
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: ca0456e6a2592e8b4269ecec046f0c1a4364c2cd
2023-05-16 08:09:01 +00:00
Puru Gupta
d55c664d83 server/pro: add prometheus metrics for caching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9140
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 945a6e650f8b8f1b04647d6f5a632ce767298229
2023-05-16 07:38:36 +00:00
Daniel Chambers
c664e1fbba Add track_tables metadata API
[GDC-1198]: https://hasurahq.atlassian.net/browse/GDC-1198?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9120
GitOrigin-RevId: bb86acaf8b06529a34113a80c3fe2409c3d69a63
2023-05-16 04:05:02 +00:00
Rob Dominguez
928a0c99bd docs: add relationships note to bq supported features
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9155
GitOrigin-RevId: 79df6405c5a29070b5e259b053d0452a65b022b8
2023-05-15 18:31:27 +00:00
Philip Lykke Carlsen
53841c98c9 refactor(test-harness): Make admin secret injectable
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9147
GitOrigin-RevId: e12138ad59fb690261e5b8e474d959623bce0826
2023-05-15 18:27:52 +00:00
Julian
29a10b1ae9 Create, list, and remove logical models and native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9086
Co-authored-by: Matthew Goodwin <49927862+m4ttheweric@users.noreply.github.com>
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 9405e716ee5e1f64a6d64bdd86967a97e5922151
2023-05-15 17:49:41 +00:00
Julian
ef9e5f55c0 Send database connect telemetry event DSF-345
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9010
GitOrigin-RevId: c0c0d32abd675c97d81019cb2860c09ae26df9a9
2023-05-15 17:12:05 +00:00
pranshi06
0e6811d9df server: add HTTP response status in the Kriti context for Actions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9125
GitOrigin-RevId: d0d35d1f9fa5ec04b42132007e2905087349fbd6
2023-05-15 16:35:22 +00:00
Anon Ray
c963b4b46f server: methods for loading and storing source introspection
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9087
GitOrigin-RevId: 702c29b09ea880c7b37b1979b60c18dae39ed8cf
2023-05-15 15:58:43 +00:00
Luca Restagno
d0acdcf414 Fix suggested object relationships are being tracked as array
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9145
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: f4f404ce7fab461ad62138ac7115e95a62bdbb13
2023-05-15 15:33:58 +00:00
Krushan Bauva
ca0f007bc3 server: add new metric hasura_events_fetched_per_batch
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9121
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 3b68c1ec192c55f1fb765a8887271276e22f7bdd
2023-05-15 15:06:39 +00:00
Daniel Harvey
2b1fe6fdf9 chore(server): remove nqArgs from Native Query IR
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9142
GitOrigin-RevId: 00e29847cd1e8c0562ac7d862bbc072389d40e3a
2023-05-15 14:36:55 +00:00
Rob Dominguez
38aca92458 docs: update EE overview language
[DOCS-899]: https://hasurahq.atlassian.net/browse/DOCS-899?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9127
GitOrigin-RevId: 4c47b71864076b5390ebd6dc4ae8b0c41f80fa30
2023-05-15 11:55:31 +00:00
Daniel Harvey
308948d6b4 chore(server): ensure correct introspection types for NQ relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9133
GitOrigin-RevId: 7d352aa5495098ff91d1bbc1a06c6b1e71ce660e
2023-05-15 08:12:45 +00:00
Luca Restagno
aa8d2d9642 Fix toast notification with long text
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9130
GitOrigin-RevId: 4c313a00b5a372858db0fc3be4d050c81e7fc26c
2023-05-15 07:44:56 +00:00
Matthew Goodwin
36b739c57f console: better handling for unavailable GDC sources on connect and form pages
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9139
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7fb0aeb07d13298bd420e25ca6b0408bdad9a029
2023-05-15 06:15:43 +00:00
Aaysha
06276b0055 Ensure all onboarding exit states are captured as details in the onboarding table
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9075
GitOrigin-RevId: fe44e8042c4663ffe8e5c26449b4757b1c4ebbbf
2023-05-12 07:44:48 +00:00
Rob Dominguez
426e8aed42 docs: add pointers to ee trial
[DOCS-896]: https://hasurahq.atlassian.net/browse/DOCS-896?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9138
GitOrigin-RevId: e340b5fbdb83cfc126ef16eb831caa16c389fb3f
2023-05-11 20:31:51 +00:00
Brandon Simmons
f500b837d8 server/benchmarks: remove introspection from throughput benchmarks
The results seem to vary wildly, and it's also not realistic usage.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9137
GitOrigin-RevId: 208abd919ae9786471a37452a9a0d34ae3c4df30
2023-05-11 17:50:03 +00:00
hasura-bot
ae14af3fa5 docs: fix typo in remote-schemas overview
GITHUB_PR_NUMBER: 9520
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/9520

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9128
Co-authored-by: Jahir Fiquitiva <10360816+jahirfiquitiva@users.noreply.github.com>
GitOrigin-RevId: 4e69199664540df711f6086c9f314e1b57bf5b0b
2023-05-11 12:19:42 +00:00