Raju Sunny
b69bd09ba4
docs: Adds observability best practices 1.0 to own branch
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5944
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 341f5362eb424098fe51d73d045a9381bacc31ef
2022-09-22 02:31:06 +00:00
Daniel Harvey
f80ec1d543
server: Rename AltJ to ViaJSON
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5911
GitOrigin-RevId: bd4dec9792f2137b2f4e3169e19109a3d3f63b50
2022-09-21 18:42:30 +00:00
Tom Harding
e71496efa5
Replace Hasura.RQL.Types.Numeric
with refined
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5913
GitOrigin-RevId: 96e218229a08dfbc5a598d709be1ee2083d41ec6
2022-09-21 18:03:04 +00:00
paritosh-08
1c7e19c209
server/docs: event trigger log cleanup | remove default for clear_older_than
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5998
GitOrigin-RevId: 1376fd2192c7daaf73e8099cdb2f1aab4b8c3cd1
2022-09-21 17:29:55 +00:00
Samir Talwar
8b8d7ab96d
server/tests-hspec: Simplifying the steps required to run these on macOS on aarch64.
...
This makes a few changes to the test scripts and makefiles in order to make things simpler for the average Apple user.
First of all, we change the `wait_for_mysql` function to use "localhost", not "127.0.0.1", as this fixed an issue on my system when attempting to connect to the MySQL server.
Secondly, we split the SQL Server test image into two:
* The first is the server itself, which now automatically uses `azure-sql-edge` as the image if you are on an aarch64 chip and using the `make` commands.
* The second is the initialization script. Because `sqlcmd` is not available in the `azure-sql-edge` image on aarch64, we use a separate container based on `mssql-tools` to initialize the server.
The README has been updated.
Tested on both macOS/aarch64 (with other changes) and Linux/x86_64.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5986
GitOrigin-RevId: b16e079861dcbcc66773295c47d715e443b67eea
2022-09-21 16:48:21 +00:00
paritosh-08
8053de81ac
docs: event trigger log cleanup | update image
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5994
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 146b267ecdbc2646359b68849aa0bcdda215c5fb
2022-09-21 16:13:38 +00:00
Rob Dominguez
0646b8ef86
docs: remove custom-docker-images from deployment and references
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5993
GitOrigin-RevId: f0d406fa2b4ee269cf87b6d3c2c4b0c4429b7e1a
2022-09-21 15:46:52 +00:00
Rob Dominguez
d88453194e
docs: add heroku migration page to cloud db guides
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5970
GitOrigin-RevId: 838702312ef30704a70da220870bcda1de928fad
2022-09-21 15:30:28 +00:00
Varun Choudhary
a7c0b02296
console: add auto clean form on events tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5956
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: febb6ae707c9ac9c1e77a25aa01c2d2283c0d7d9
2022-09-21 15:24:48 +00:00
Rikin Kachhia
e369f567c3
docs: add support for showing section local TOC
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5941
GitOrigin-RevId: e05b5d60624d755dc38d662919bde55826cde434
2022-09-21 14:38:40 +00:00
Daniel Harvey
231de5166a
server: bump CockroachDB image and un-skip fixed tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5967
GitOrigin-RevId: 28a2f8e94d091c8ddd272b6abf3828c40662ef38
2022-09-21 14:11:06 +00:00
paritosh-08
35ddcbec31
docs: event trigger auto cleanup api docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5867
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 9c6c58ec97ca43a4d8b9c3a3d61cf8e60d7cc7ea
2022-09-21 13:37:59 +00:00
Varun Choudhary
633cfde310
console docs: add docs for role based allow list
...
Add docs for role-based allow list
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5907
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: b7a6af1e9da23dada7dc6edef7f93e954fafa611
2022-09-21 13:09:23 +00:00
Rob Dominguez
e7e19c7678
docs: remove beta references for ee
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5971
GitOrigin-RevId: 825da7bf073205cb290c5c7eedc914004ceb658a
2022-09-21 13:03:18 +00:00
paritosh-08
d5739c5e13
docs: event trigger auto cleanup usage docs
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5945
Co-authored-by: Tirumarai Selvan <8663570+tirumaraiselvan@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: a3448bce55074d089e7ffc6de3c67e59a34ed581
2022-09-21 12:18:14 +00:00
Daniel Harvey
e2ced4011d
server: import local Postgres modules as Postgres
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5962
GitOrigin-RevId: 862862c34b6c633c94ee8ae1f075afca2799fd2b
2022-09-21 11:35:50 +00:00
hasura-bot
e32bcb183c
docs: Clarify Cloud project time limit note
...
GITHUB_PR_NUMBER: 8987
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8987
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5973
Co-authored-by: dsandip <24300818+dsandip@users.noreply.github.com>
GitOrigin-RevId: 9cf4cc5598bb6f9c9511d59a678f1dfe6031b76d
2022-09-21 11:01:32 +00:00
Daniel Chambers
3365a18516
Rename DataConnector cross_table capability to subquery
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5980
GitOrigin-RevId: c289b2a7afb4d07214aac2b4d89c9b87a75e98aa
2022-09-21 10:48:05 +00:00
Rishichandra Wawhal
7365838f76
console: add hidden database creation flow for Neon integration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5938
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: b73a77e5c7d6be6befefa91e565ac9369c00297c
2022-09-21 08:58:15 +00:00
Aravind K P
451f252c0f
cli: [rfc] improve error handling
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4817
GitOrigin-RevId: 340f8d0cb3df496c1c0df1cc60fe3752dd58c75c
2022-09-21 08:29:37 +00:00
Daniele Cammareri
e065fd9ac7
console: add quick add to query collections modal
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5955
GitOrigin-RevId: a0da0ac017620c4bb6baa7e7c27fb77790237ce5
2022-09-21 07:38:45 +00:00
paritosh-08
876c906660
server: event trigger log cleanup | rename start_event_trigger_cleanups
API
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5976
GitOrigin-RevId: 752c905d31b3700aa49d816ec573df74715f6654
2022-09-21 06:00:39 +00:00
Daniel Chambers
dc9a86680c
Gardening: Clean up Data Connector API types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5977
GitOrigin-RevId: 1a6898d6416fff265a8add74d414c979f7fa3bc5
2022-09-21 05:13:03 +00:00
Brandon Simmons
fc9cc14943
ci/benchmarks: don't measure decompression in k6 (NOT REAL PERFORMANCE IMPROVEMENT)
...
See: https://github.com/grafana/k6/issues/2685
It might be interesting to think about taking into consideration decompression time when thinking about performance, but In general I think doing so is surprising and I wasted a lot of time trying to figure out why my optimizations to the compression codepath weren't improving things to the degree I expected
The downside here is we lose error reporting, so you'll need to only set
discardResponseBodies: true after the query has been tested.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5940
GitOrigin-RevId: 82a589a59b93f10ffb5391e4a3190459fb6e613b
2022-09-21 02:07:54 +00:00
Rob Dominguez
8bd343d67c
docs: update ERD for security best practices
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5943
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 81b1b8e308bbe8a78b3d63c61b08de4050311782
2022-09-20 20:51:58 +00:00
Auke Booij
4c8ea8e865
Import pg-client-hs
as PG
...
Result of executing the following commands:
```shell
# replace "as Q" imports with "as PG" (in retrospect this didn't need a regex)
git grep -lE 'as Q($|[^a-zA-Z])' -- '*.hs' | xargs sed -i -E 's/as Q($|[^a-zA-Z])/as PG\1/'
# replace " Q." with " PG."
git grep -lE ' Q\.' -- '*.hs' | xargs sed -i 's/ Q\./ PG./g'
# replace "(Q." with "(PG."
git grep -lE '\(Q\.' -- '*.hs' | xargs sed -i 's/(Q\./(PG./g'
# ditto, but for [, |, { and !
git grep -lE '\[Q\.' -- '*.hs' | xargs sed -i 's/\[Q\./\[PG./g'
git grep -l '|Q\.' -- '*.hs' | xargs sed -i 's/|Q\./|PG./g'
git grep -l '{Q\.' -- '*.hs' | xargs sed -i 's/{Q\./{PG./g'
git grep -l '!Q\.' -- '*.hs' | xargs sed -i 's/!Q\./!PG./g'
```
(Doing the `grep -l` before the `sed`, instead of `sed` on the entire codebase, reduces the number of `mtime` updates, and so reduces how many times a file gets recompiled while checking intermediate results.)
Finally, I manually removed a broken and unused `Arbitrary` instance in `Hasura.RQL.Network`. (It used an `import Test.QuickCheck.Arbitrary as Q` statement, which was erroneously caught by the first find-replace command.)
After this PR, `Q` is no longer used as an import qualifier. That was not the goal of this PR, but perhaps it's a useful fact for future efforts.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5933
GitOrigin-RevId: 8c84c59d57789111d40f5d3322c5a885dcfbf40e
2022-09-20 19:55:51 +00:00
Daniel Harvey
50a7b2ad17
server: use Postgres 15 for local testing
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5964
GitOrigin-RevId: bc97925c701805afeb8dbe8b84a906bc73a0352b
2022-09-20 17:01:53 +00:00
paritosh-08
f7115891f7
server: event trigger log cleanup | change metedata API field name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5965
GitOrigin-RevId: aa50006946e79fe4d9c971568221dc436040b738
2022-09-20 16:33:11 +00:00
Tom Harding
8dcc8f8fca
Implement aggregation tests for hspec
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5960
GitOrigin-RevId: bac9bae3ea39c005f0e7b9c5f7864f012d395ebb
2022-09-20 15:23:46 +00:00
paritosh-08
607b26362d
server: event trigger cleanup | fix query_timeout
field name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5953
GitOrigin-RevId: b80b6672db5a73cafca77ba06cf25f71c7dc8c10
2022-09-20 12:47:22 +00:00
Varun Choudhary
95e2fe270b
console: filter manual trigger via source name
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5935
GitOrigin-RevId: f020a07f48e3662343467a34a8297d1760969a36
2022-09-20 11:58:25 +00:00
Samir Talwar
0b3c8ccaca
server/tests-py: Support running BigQuery tests with run.sh.
...
This fixes a few issues so that we can run `./server/tests-py/run.sh backend-bigquery` to run the Python integration tests for BigQuery locally.
* We forward the relevant environment variables to the Docker container.
* We increase the HTTP timeout, as I'm seeing requests taking up to 90s locally.
* We rewrite the setup so that it avoids `INSERT INTO`, which is not available using the BigQuery free tier. Instead, we use `CREATE TABLE ... AS SELECT ...`. This is the same method used by the Haskell integration tests.
We also capture local server output in a volume so it's easier to figure out what went wrong later.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5921
GitOrigin-RevId: c628f8c08a84f2582958659ab6d6494832471f6f
2022-09-20 10:56:36 +00:00
Abby Sassel
89f9a5fdf2
server/tests: add permissionRows
field and Permission
constructor
...
Factoring out some minor cleanup from a PR which [tests aggregate filters and permissions](https://github.com/hasura/graphql-engine-mono/pull/5936 ). This PR adds a `permissionRows` field to the `Permission`s type, needed to test row permissions (https://github.com/hasura/graphql-engine-mono/pull/5936 ) and some default constructors.
Relates to https://github.com/hasura/graphql-engine-mono/issues/5888
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5949
GitOrigin-RevId: 89679a49496364473976cc73afa4d064a02bbf21
2022-09-20 09:17:32 +00:00
Daniel Chambers
5c06eb7a3e
Remove duplicated Data Connector API types
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5930
GitOrigin-RevId: 8c11387fa8556c3cdf8c92a0924ae53d31b953a5
2022-09-20 06:20:25 +00:00
Daniel Chambers
04ae6abf78
Exists support in filter expressions for Data Connector queries [GDW-133]
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5904
GitOrigin-RevId: 6bad4c29a7d14d3881f9c57fe983d14cc41bdc4b
2022-09-20 04:01:33 +00:00
awjchen
dcca0c6275
server: support 128-bit trace ids
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5905
GitOrigin-RevId: 48a981a432b2e979bc7b42b32f9c7f53ab9e2598
2022-09-20 02:50:06 +00:00
Samir Talwar
6c03eef990
server: Add test cases for inconsistencies upon reloading or replacing the metadata.
...
I am working on https://github.com/hasura/graphql-engine/issues/8807 , and wanted to write a Haskell integration test case to reproduce it.
We have Python integration tests somewhat covering this behavior in *test_inconsistent_meta.py*, but no Haskell tests, so I thought I'd shore up the coverage here by adding a few test cases for working behavior.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5897
GitOrigin-RevId: 21500e530e413feaede5cbd8b4a94b07d25a6260
2022-09-19 18:49:31 +00:00
hasura-bot
71bba3e3aa
Add X-Forwarded-Origin header
...
GITHUB_PR_NUMBER: 8728
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8728
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5246
Co-authored-by: Wsevolod <31807671+kraftwerk28@users.noreply.github.com>
GitOrigin-RevId: b8229786a2b14a8be49303f9a6da10231c8fb331
2022-09-19 14:55:23 +00:00
Daniel Harvey
559cc78b2d
server: optimise CockroachDB metadata fetch
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5910
GitOrigin-RevId: 09deef75576fc916138888819db6689b4b61da2b
2022-09-19 14:07:59 +00:00
Nicolas Inchauspe
fb4104115d
console: enable disabled tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5825
GitOrigin-RevId: 2f70b60b9ec993bd6bf859f8901e064266830f15
2022-09-19 12:56:24 +00:00
hasura-bot
df5e887098
cli: fix bug when exporting metadata to remote_schemas.yaml
...
GITHUB_PR_NUMBER: 8921
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8921
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5744
Co-authored-by: Ryohei KOMATSUYAMA <54347899+kmtym1998@users.noreply.github.com>
GitOrigin-RevId: cc0948b62c3caccfb2c814433bb1a84508e3c37e
2022-09-19 12:20:26 +00:00
Rishichandra Wawhal
37443b299d
console: adds hidden oauth flow for Neon Integration
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5855
Co-authored-by: Abhijeet Khangarot <26903230+abhi40308@users.noreply.github.com>
GitOrigin-RevId: 57c884b215ff278d9cec279ab6f802a1242d06b9
2022-09-19 11:44:54 +00:00
Gil Mizrahi
a3036be77b
tests-hspec readme: update m1 workaround fix
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5931
GitOrigin-RevId: 4aeefb430e8aa7c3a257b0cce440842c3ed156df
2022-09-19 09:54:38 +00:00
Erik Magnusson
fed59e2a6c
refactor (console/browse-rows): useRows hook that fetches table rows for a pg tables
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5732
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 136d6a79bf742805572a4874b64c393156f4c72f
2022-09-19 09:21:21 +00:00
Vijay Prasanna
854edd07c4
feature (console): update gdc methods to fetch config schema from metadata API
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5875
GitOrigin-RevId: e0f0a5c17251fbdab4955cfc1abc2ba3fc4e27b5
2022-09-19 08:24:51 +00:00
Daniele Cammareri
df06d5cb0c
console: new remote schema preview tab
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5896
GitOrigin-RevId: 43c2a1b1331c58ad502c3da1ea87e29df6d9ab8c
2022-09-19 07:48:16 +00:00
Abby Sassel
71597778c9
server/postgres: fix non-latin text elements in array literals (copy). close hasura/graphql-engine#8961
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5916
Co-authored-by: Gil Mizrahi <8547573+soupi@users.noreply.github.com>
GitOrigin-RevId: 9063f7ff39f684c4ab43f093706b872021b67b13
2022-09-18 16:08:15 +00:00
Daniele Cammareri
f34bd93e9c
console: remove allow list feature flag
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5889
GitOrigin-RevId: b9a3bab2bd83edb94137603850b405df1766e43b
2022-09-18 15:39:51 +00:00
Rikin Kachhia
30bc2185e6
install manifests: add offline console assets env var to docker-compose files
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5833
GitOrigin-RevId: 44007a91f06ea9a1abdfc98dd3ca512ab83b85a2
2022-09-17 22:49:33 +00:00
Philip Lykke Carlsen
26cdc03aa4
fix( #8904 ): Make BigQuery Computed Fields arguments optional
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5909
GitOrigin-RevId: 0d7c7de273c27bbd2338f42253754be0a06ea66e
2022-09-17 22:41:19 +00:00