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
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
pranshi06
2011f4cf37
server: time related modelling in Event Triggers for Postgres sources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8846
GitOrigin-RevId: f9d99e3368f5722a8dbfc8aa037cd1f3971c4b98
2023-05-11 09:01:29 +00:00
paritosh-08
ae49a3f9db
server: add the env var for toggling metric granularity
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9034
GitOrigin-RevId: 24a4ae932b7467a53060025e2772edbebaf94b5b
2023-05-11 05:21:16 +00:00
Daniel Harvey
bccab82398
Expose launch darkly feature flags in v1alpha1/config endpoint
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9109
GitOrigin-RevId: b4f95139c6d85638fe5c301a7466bd318445aabf
2023-05-10 15:51:50 +00:00
Daniel Harvey
2aca76f0cc
chore(server): native query postgres array relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9037
GitOrigin-RevId: c47ed4bd2fb7102ceed0159c4717d1555080cfd5
2023-05-10 15:20:23 +00:00
Vishnu Bharathi
171c680793
ci: tag release for v2.11.6 and v2.25.0
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9102
GitOrigin-RevId: 6dea49930c2fe3d5ab0ab50a87f2dcc9f976f224
2023-05-10 10:45:56 +00:00
Daniel Harvey
3ce9c0f4c3
chore(server): Replace Aeson TH with generics in Hasura.Backends.*
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9097
GitOrigin-RevId: 0cbca27f4535358f86438b74c7e871c4fe03f2c2
2023-05-09 18:21:00 +00:00
Daniel Chambers
89e3cca8b3
Use sets instead of lists in the Data Connector API types where the order of the list is irrelevant
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9089
GitOrigin-RevId: 292f68a4b44ed75ae6e336da57f02f40e6ded26f
2023-05-09 16:51:10 +00:00
Daniel Harvey
0da011f272
chore(server): move Lenses into RQL.IR.Select.Lenses
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9096
GitOrigin-RevId: 09d69af150f66309b523133c70364f96de40d9cb
2023-05-09 16:22:53 +00:00
Daniel Harvey
a51856c159
chore(server): resolve Native Query object relationships in schema cache
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9092
GitOrigin-RevId: 9c46188f0bc613e553c9e9c267a189efb1de8464
2023-05-09 15:50:13 +00:00
Daniel Chambers
09d14cfc9d
Disable Snowflake agent's relationships capability
...
[GDC-1189]: https://hasurahq.atlassian.net/browse/GDC-1189?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8934
GitOrigin-RevId: 2fa754f1a38b1b7c00ef1754354172f78eb18590
2023-05-09 01:15:47 +00:00
paritosh-08
a81010d36d
server: ignore null form encoded value in action
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9072
GitOrigin-RevId: d89812ad9f32d65b39137f0213ba91e7eae97be3
2023-05-08 08:28:22 +00:00
Samir Talwar
bc8c7406df
Remove native MySQL dependencies and code wherever I found it.
...
This includes:
- CI scripts
- Cabal dependency lists
- Dockerfiles
- Docker Compose files
- server test harness code
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9066
GitOrigin-RevId: 509d7931693c4755509d5b8e5bcf50b42cc24769
2023-05-05 22:20:55 +00:00
Gil Mizrahi
181f780273
WIP IN PROGRESS Query for postgres dc
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9071
GitOrigin-RevId: 863417976f6c2483ba092a8e8d660dfea8aca0a4
2023-05-05 16:31:13 +00:00
Tom Harding
457127a6e2
Remove TemplateHaskell
Aeson instances from RQL.Types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8997
GitOrigin-RevId: 741318f65281af7b26a616260baf3a9953707007
2023-05-05 14:38:00 +00:00
Anon Ray
c8df4ec8fb
server/caching: collect all remote joins for caching check
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9064
GitOrigin-RevId: 6ad2bfacd2c02e496c7348ec90d281ab8eb84b01
2023-05-05 13:52:07 +00:00
Daniel Harvey
285a200a87
chore(server): delete MySQL native backend
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9050
GitOrigin-RevId: 1515fb0efdb1baa05ffe3ff7cf6f230acd0cde29
2023-05-05 10:32:56 +00:00
kodiakhq[bot]
2d839548af
server/benchmarks/ci: benchmark graphql-engine-pro instead of oss
...
pro is a superset of the functionality of oss, so it's a better target,
and we expect benchmark results to be indicative of oss.
also tweak regression report view, tune highlighting of throughput benchmarks to be more lax
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8897
GitOrigin-RevId: c2d89cb61a841c9b5c76203bdcb4756ae9d7381f
2023-05-05 09:30:35 +00:00
Daniel Harvey
1181ca78a3
feature(server): metadata for native query -> native query object relationships
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9026
GitOrigin-RevId: 5a0528ed48f6e0d2e9a3e7f5d3090a0208dad3e1
2023-05-04 14:33:06 +00:00
Gil Mizrahi
d432eb4d3d
Use a separate feature flag for stored procedures
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9040
GitOrigin-RevId: f577f34fd773cbc886546d7866e5a77603087a37
2023-05-04 12:45:37 +00:00
Tom Harding
7617355aa9
Remove feature flag on logical models
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8998
GitOrigin-RevId: 2cde88c5d595860aa97a5c8480442a1ff64a4360
2023-05-04 12:09:39 +00:00
Samir Talwar
397e95fc6a
Upgrade Citus to v11.3.0 in tests.
...
Upgrades Citus to v11.3.0 in tests.
This breaks an assumption made by the tests for the `get_source_tables` metadata API, in which data is expected to be ordered. We fix it by explicitly ordering rather than relying on the goodwill of the database.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9039
GitOrigin-RevId: ee86db7e1c264d5009bb0203ac2f3fb2cda7b39f
2023-05-04 11:40:10 +00:00
Daniel Harvey
e62339d20c
feat(postgres data connector): Adding initial support for /Schema
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9018
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 4330c1201bac790b370d3d53d915f8ffe00ba0c9
2023-05-03 21:12:45 +00:00
Samir Talwar
c1705a09df
api-tests: Fix the error messages to match those reported by Citus v11.3.0.
...
I also pinned Citus to v11.3. This should hopefully stop us from being surprised with random test failures in the future. We will need to bump this every now and again.
I have updated the Makefile to standardize Docker commands, and made sure we start all the containers even when running tests for a single database, as we need to test cross-DB remote joins. This ensures `make test-citus` actually works and runs all tests.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9035
Co-authored-by: Daniel Harvey <4729125+danieljharvey@users.noreply.github.com>
GitOrigin-RevId: 9c36ab65eb05206bfddd639c257d6c5c5cedd2bd
2023-05-03 20:22:26 +00:00
Philip Lykke Carlsen
c7d4117964
fix: Properly scope root-table references in relations
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8976
GitOrigin-RevId: bbb54468f04e1df1d595691ccb21a9d28a4eb010
2023-05-03 10:30:23 +00:00
Gil Mizrahi
56e3bd182a
chore(refactor): extract common functionality between stored procedures and native queries
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9028
GitOrigin-RevId: ab5c1ca9c08600a758f07aa81370930c305d6b40
2023-05-03 10:00:56 +00:00
Vishnu Bharathi
0cf55739ba
ci: tag release v2.25.0-beta.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9027
GitOrigin-RevId: da6af09586664d9f5bc2919f109a9361efc036a6
2023-05-03 09:15:17 +00:00
pranshi06
1de2bf7d70
server: improve logging around HTTP Exception errors for Actions and Remote Schemas
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8937
GitOrigin-RevId: fb6b3a4786cf5ffd42bf608c7743d5b8852cbf47
2023-05-03 07:56:37 +00:00
Daniel Chambers
f445c34997
Reimplement MySQL/MariaDB dataset support in the Super Connector and enable mutation API tests in CI
...
[GDC-1064]: https://hasurahq.atlassian.net/browse/GDC-1064?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8962
GitOrigin-RevId: 64c18f52291d98859e273a238e2b1f567444c058
2023-05-03 03:27:41 +00:00
Rakesh Emmadi
4937444142
server/multitenant: accept connection parameters for introspection storage database
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8996
GitOrigin-RevId: 302745a90ecfdad10d87d0be63e6010edfca508b
2023-05-02 14:00:38 +00:00
Gil Mizrahi
e8d2d4f364
Refer to a stored procedure by name in commands interface
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9014
GitOrigin-RevId: 64f51811770d88ad6d5b298fc4c71170ffd7182c
2023-05-02 13:32:01 +00:00
Gil Mizrahi
e010781098
chore(refactor): rename NativeQueryArgumentName to ArgumentName
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9012
GitOrigin-RevId: fa45f7a01f4fa1f3f1bb6c3057f32839bab453ca
2023-05-02 12:55:57 +00:00
awjchen
650137dc00
server: respect X-B3-Sampled
header when X-B3-TraceId
is not present
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9009
GitOrigin-RevId: 7a4565bcada4f6249927ed0cbfbe42401a9a7968
2023-05-02 07:22:53 +00:00
Gil Mizrahi
990fd54e8c
Stored Procedures schema parsers and codegen
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9000
GitOrigin-RevId: 951a8b949359db11df183964b4ce217ae02a301c
2023-04-29 08:05:37 +00:00
Gil Mizrahi
f6fd9f071d
refactor(cleanup): extract interpolated query
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9002
GitOrigin-RevId: 2e2a499f5035adf1493a2d675ee52abb7c87a8c8
2023-04-28 19:25:32 +00:00
Daniel Harvey
6178a1fd82
chore(server): split Logical Model lenses into files
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8989
GitOrigin-RevId: f0f6e75732408f21ebe5fdc5af3f680cd96ae789
2023-04-28 18:47:38 +00:00
Tom Harding
912a03ec23
Remove reference to custom types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9005
GitOrigin-RevId: 8fa120187b6e351fbf10f4b80adf4d01c291fc30
2023-04-28 17:54:49 +00:00
Daniel Harvey
cb00535693
chore(server): add link-type to Logical Model references
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9004
GitOrigin-RevId: f361ca5f3b82995096f9289f8e90c7c20920a744
2023-04-28 16:48:19 +00:00
Gil Mizrahi
7aef17863a
refactor(cleanup): extract nullablescalartype
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9001
GitOrigin-RevId: 5053e4c881f0d037b9170b434bcf533284a827a6
2023-04-28 16:16:08 +00:00
Daniel Harvey
5b2465f22a
chore(server): move template haskell out of more Hasura.RQL folders
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8994
GitOrigin-RevId: a7aec36c87fe6a53d704c7a7fb6d625853914dda
2023-04-28 15:41:56 +00:00
Daniel Harvey
2e9b0ad3f2
chore(server): remove TH aeson, separate lenses, in Hasura.RQL.DDL
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8993
GitOrigin-RevId: dda6b7b915236c4f013b28ce98aa34c48e9a53db
2023-04-28 15:13:32 +00:00
Daniel Harvey
d0d80e621d
chore(server): add telemetry for Stored Procedures
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8999
GitOrigin-RevId: 985cd0598f3fdc068bc06a0880d279ebc95e6930
2023-04-28 14:43:13 +00:00
Daniel Harvey
9a0c761b4a
chore(server): remove Template Haskell from Hasura.Function
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8992
GitOrigin-RevId: a06cf33a96d6ef8ad2234a385016b5e68c46b8f2
2023-04-28 14:14:26 +00:00
Gil Mizrahi
930df62de7
Stored procedures api commands
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8975
GitOrigin-RevId: c71a9f74bf01bb8c0bc8c8cd4b744b530d99476a
2023-04-28 13:38:34 +00:00
Samir Talwar
e3b46b78a9
server/upgrade-tests: Tests that ensure that HGE upgrades successfully.
...
These tests ensure that upgrading HGE preserves the GraphQL schema.
They do this by running two different versions of HGE against the same metadata, and ensuring that the GraphQL schema doesn't change.
We might find that in the future, we make an additive change that makes these tests fail. Improving the tests to allow for this is left as an exercise to whoever triggers it. (Sorry.)
Currently, we do this with:
* an empty database (zero tracked relations)
* the Chinook dataset
* the "huge schema" dataset
The base version of HGE tested against can be overridden with an option. The version must be available on Docker Hub.
Further information is in the Haddock documentation.
[NDAT-627]: https://hasurahq.atlassian.net/browse/NDAT-627?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8982
GitOrigin-RevId: 97b4deda1e6fe1db33ce35db02e12c6acc6c29e3
2023-04-28 12:54:51 +00:00
Daniel Harvey
3a254ec471
chore(server): add Logical Models count to telemetry
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8977
GitOrigin-RevId: 933961ec1079231b728c3595392b2ff1e37b9fbc
2023-04-28 12:25:41 +00:00
Vishnu Bharathi
22329db168
ci: tag release v2.24.1
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8995
GitOrigin-RevId: 928241e63e921b7869ed888fc20747e31cd321ff
2023-04-28 11:37:18 +00:00
Puru Gupta
832ba38b5f
multitenant: fix to dynamically update the metrics endpoint
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8972
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: 474ce2351e715476ac8dcc08d43b9758cf8e7b33
2023-04-28 11:18:37 +00:00
Tom Harding
a1512b1bde
Remove RQL.Types
-> RQL.DDL
dependencies
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8913
GitOrigin-RevId: 32b62ff7c1083161c96af98c3a4ec1a2e01af9ab
2023-04-28 10:48:15 +00:00