Commit Graph

27 Commits

Author SHA1 Message Date
Luca Restagno
70ab0ec85b Fix default metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9801
GitOrigin-RevId: 54b8136df4800aea583f1ae11ccadbdac4f226d0
2023-07-07 15:45:25 +00:00
Brandon Simmons
440a8664de server: Upgrade the HGE server to GHC 9.4.5
Upgrade to GHC 9.4.5, and update any tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8954
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 5261126777cb478567ea471c4bf5441bc345ea0d
2023-06-06 13:29:30 +00:00
Tom Harding
a01dea9fa2 Add tags to .gitignore
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8878
GitOrigin-RevId: 7804026d09f09ba427f05d99e1a535ac1ccc40e0
2023-04-24 12:47:36 +00:00
Abhijeet Khangarot
d1b4472451 fix: add node modules to gitignore
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8181
GitOrigin-RevId: 5be080c804493f26e3edff09a54b1a06d2010ba1
2023-03-03 07:19:48 +00:00
Gil Mizrahi
f57786a22d remove .ToSource.hs.swp
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8025
GitOrigin-RevId: d041fa09cf2faacb12a4b5e3bdd238fdde8d1957
2023-02-17 10:19:38 +00:00
Daniel Chambers
0abfc97df7 Implemented datasets support in Data Connector agent test suite
[GDC-718]: https://hasurahq.atlassian.net/browse/GDC-718?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7654
GitOrigin-RevId: 1d036cd39f717fce1ce0176103e40a1309ded3af
2023-01-30 07:00:26 +00:00
Solomon
8607769e51 [Nix] Adds resource-pool overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7673
GitOrigin-RevId: f4f28c9d3e7f8f79a52fc3a4237ab989fa1096ed
2023-01-26 14:41:41 +00:00
Divi
1f29cb504a ci: connect gcp jobs directly to cloud release pipeline
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6856
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: a1324e21fa842748145f9d453da42302f9395907
2022-12-12 03:08:13 +00:00
Daniel Chambers
354ab2f7aa Use Sandwich test framework for Data Connector agent test suite
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7133
GitOrigin-RevId: 625dde70d1c594dcdfd377efac78710174a74efc
2022-12-05 02:16:01 +00:00
Daniel Chambers
a89104626a Run Data Connector agent test suite against Athena in CI [GDC-509]
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6536
GitOrigin-RevId: 819576c23f9d4e81191e532dbcf374d34945047e
2022-11-16 02:02:11 +00:00
nandhithakamal
fee4de93fc ci: do not build debian-based images
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6729
GitOrigin-RevId: 882fd6e000fbca928f04e2b7bf169c3c205a0f0d
2022-11-04 10:05:25 +00:00
Samir Talwar
4c5a00ab71 Update the .gitignore file to reflect the internal one.
As far as I can tell, there's no need to have two .gitignore files. We can just ship the same one.

The OSS .gitignore file was horrendously out of date anyway.

Please take a look at [the current .gitignore file](https://github.com/hasura/graphql-engine-mono/blob/main/.gitignore) to verify you're happy with this change.

(No open-source commit message.)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6628
GitOrigin-RevId: b47d6a8cfa9affe6c06b8945e6861de5546ad53c
2022-11-02 13:28:59 +00:00
hasura-bot
a886da2f21 server: address recent graphql-ws related bugs
GITHUB_PR_NUMBER: 7730
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/7730

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2685
Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com>
GitOrigin-RevId: 55bafd4eb1576e95803350f3ba9c7920a21de037
2021-11-04 12:40:02 +00:00
Swann Moreau
c2261e3bb8 [server] ignore hie.yaml at the root of the repo
with #1983, `hie.yaml` goes at the root of the monorepo, but it's not in the gitignore

not sure if any other fixes will be required to mirror stuff to oss though

https://github.com/hasura/graphql-engine-mono/pull/2092

Co-authored-by: awjchen <13142944+awjchen@users.noreply.github.com>
GitOrigin-RevId: b96c0bfd92113d131ed2265fcf03fe08f068f014
2021-08-16 07:32:33 +00:00
A K
c4e812e2fb
docs: add cloud docs header (#5171) 2020-06-22 21:48:04 +05:30
Brandon Simmons
9e0e42444b Add 'venv' to top gitignore, as standard name convention lsfor python venv's in this project 2019-11-14 18:53:33 -05:00
Brandon Simmons
da78a77fb2 In tests/dev.sh: upgrade ruamel to support python 3.7. Closes #3312
Tested on python 3.5 and 3.7

We make light use of pyenv to set an appropriate python version if
installed. We could easily install a correct version too if we wanted
but that seemed invasive.

The newer ruamel was an annoying upgrade but also offers some
improvements that exposed some test suite issues (fixed later).
2019-11-14 18:53:33 -05:00
José Lorenzo Rodríguez
c7a2320456 Implemented graceful shutdown for HTTP requests (close #2698) (#2717)
* Listens for SIGTERM as the termination signal
* Stops accepting new connections once the signal is received
* Waits for all connections to be drained, before shutting down
* Forcefully kills all pending connections after 30 seconds

Currently this does not send a close message to websocket clients, I'd
like to submit that change as a separate pull request, but at least this
solve my biggest concern which is not getting confirmation for mutations
while restarting the server.
2019-08-26 00:31:27 -05:00
Brandon Simmons
bc4456eccc Add local development swiss army knife script scripts/dev.sh
At the moment we can...

...run tests in isolation, generating coverage report:

    $ dev.sh test

You can pass args to pytest as well. e.g. to run a specific test:

    $ dev.sh test -k "test_jsonb_has_all"

Launch a postgres container with useful dev defaults, with PostGIS,
cleaning up afterwards:

    $ dev.sh postgres

Build and launch graphql-engine in dev mode, connecting with a
`postgres` launched above

    $ dev.sh graphql-engine
2019-07-26 01:17:35 -04:00
Anon Ray
199a24d050 add support for multiple domains in cors config (close #1436) (#1536)
Support for multiple domains (as CSV) in the `--cors-domain` flag and `HASURA_GRAPHQL_CORS_DOMAIN` env var.

Following are all valid configurations (must include scheme and optional port):
```shell
HASURA_GRAPHQL_CORS_DOMAIN="https://*.foo.bar.com:8080"
HASURA_GRAPHQL_CORS_DOMAIN="https://*.foo.bar.com, http://*.localhost, https://example.com"
HASURA_GRAPHQL_CORS_DOMAIN="*"
HASURA_GRAPHQL_CORS_DOMAIN="http://example.com, http://*.localhost, http://localhost:3000, https://*.foo.bar.com, https://foo.bar.com"
```

**Note**: top-level domains are not considered as part of wildcard domains. You have to add them separately. E.g - `https://*.foo.com` doesn't include `https://foo.com`.

The default (if the flag or env var is not specified) is `*`. Which means CORS headers are sent for all domains.
2019-02-14 11:28:38 +05:30
nizar-m
916caf1575 add flag to disable prepared statements (close #1392) (#1396) 2019-01-18 19:50:41 +05:30
Anon Ray
512ee6fb9f adds basic support for remote schemas/schema stitching (#952) 2018-11-23 18:32:46 +05:30
nizar-m
0ffb0478b9 Tests for server with access control, and some more tests (#710)
* 1) Tests for creating permissions
2) Test for constraint_on with GraphQL insert on_conflict

* Run tests with access key and webhook

* Tests for GraphQL query with quoted columns

* Rewrite test-server.sh so that it can be run locally

* JWT based tests

* Tests with various postgres types

* For tests on select queries, run setup only once per class

* Tests for v1 count queries

* Skip teardown for tests that does not modify data

* Workaround for hpc 'parse error when reading .tix file'

* Move GeoJson tests to the new structure

* Basic tests for v1 queries

* Tests for column, table or operator not found error cases on GraphQL queries

* Skip test teardown for mutation tests which does not change database state, even when it returns 200.
2018-10-28 23:57:49 +05:30
Karthikeya Viswanath
64286f69ed add clear access key button (close #486) (#675) 2018-10-08 19:50:33 +05:30
surendran82
17cbdbd970 add github and social media buttons to docs page (#540) 2018-09-26 19:42:55 +05:30
Anon Ray
acd62c3bf8 add community boilerplates and examples (#430) 2018-09-13 12:00:07 +05:30
aswinmprabhu
2cab15ede4 console: more tests (#35) 2018-07-04 18:27:56 +05:30