Commit Graph

7058 Commits

Author SHA1 Message Date
Lyndon Maydwell
cb8e6feb2e Adding UDF (user-defined-functions) support to Data Connectors - GDC-820
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8121
GitOrigin-RevId: ceb3e29e330bba294061f85c1f75700974d01452
2023-05-19 04:48:46 +00:00
Julian
6caf33bf27 console: Refactor duplicated logical model and add native query wrappers into one
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9199
GitOrigin-RevId: 87ded79e4130a9622b6733055882cee9096088ba
2023-05-18 20:53:42 +00:00
Sooraj
62304a9182 docs: update product badge on Import OAS feature doc page
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9215
GitOrigin-RevId: 7a8df6fd11e839cdebba2e632938a90315bbcbee
2023-05-18 17:46:54 +00:00
Sean Park-Ross
6e43df386b Docs: Data Connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9015
GitOrigin-RevId: 5ed2c619456b9cbe26ee89d0cecf1adc013cb9f9
2023-05-18 15:01:58 +00:00
Anon Ray
daf5607695 docs: add a note on refresh argument for caching
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9207
GitOrigin-RevId: dbc778c47399db2644e40f6ffd829720c095bcad
2023-05-18 14:45:16 +00:00
Vishnu Bharathi
70c230277a ci: tag release v2.26.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9213
GitOrigin-RevId: 81927bd7cfe8c743543d81ab33aa864e4e5f6fe4
2023-05-18 14:04:39 +00:00
Matthew Goodwin
573c3e3093 console: remove old metadata hooks
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9118
GitOrigin-RevId: dc1e2131d647be60c43bdffebebe0e116c834764
2023-05-18 13:59:14 +00:00
Naveen Naidu
770407110c server: add total time, db exec time subscription metrics
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8899
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: c8c4a89576ae95265a8e4f4e6803a12ba7e840d4
2023-05-18 12:57:26 +00:00
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