Commit Graph

6038 Commits

Author SHA1 Message Date
Daniel Harvey
06b284cf33 [server] metadata API for native access
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7476
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
GitOrigin-RevId: 781c29666e92004dc82918c2292fdacc27fded4c
2023-01-16 17:21:22 +00:00
Samir Talwar
4175b53395 server/api-tests: Add a Docker Compose file for the API tests.
We were previously using the Docker Compose file in the root directory
for manual testing _and_ the server API tests.

This splits them so we can e.g. add Yugabyte for easy manual testing.

In the future, this will also allow us to use ephemeral ports for API
test databases, while keeping the fixed ports for manual testing.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7524
GitOrigin-RevId: 7244e296b0ed0ace9782b6f44f321933a9d9a49d
2023-01-16 16:44:10 +00:00
Rikin Kachhia
e69b0599d3 console: set console page min-width
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7516
GitOrigin-RevId: 4a349630cbfef596f85b6fbdf43c02c79a031e82
2023-01-16 11:30:18 +00:00
Aravind K P
b906410b20 cli: fix missing usages of errors package
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7424
GitOrigin-RevId: 59fccdd90437fc39e4c2cd2581676b67dad87ac9
2023-01-16 09:42:31 +00:00
Vijay Prasanna
0bc363de6e feature (console): add GQL util function to generate insert mutations + tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7512
GitOrigin-RevId: 3e89bcd114a42c9e2fa97f1a05d5c871329c8dd9
2023-01-16 06:51:46 +00:00
Daniel Harvey
1280ca8533 [tooling] remove ghcid hacks from Makefile
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7491
GitOrigin-RevId: ffde0e86c33fbc8027091de21e0c762e60d50e1d
2023-01-13 13:43:45 +00:00
Varun Choudhary
443e4eaa38 console: call get_insonsistent_meatadata on successfully modifying the remote schema
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7500
GitOrigin-RevId: 85f42a364c7b594d172b7ecc109814c703290f16
2023-01-13 10:24:05 +00:00
Jesse Hallett
d6a354b71d server: codec for SourceCustomization
Small PR with a few easy codecs

Ticket: https://hasurahq.atlassian.net/browse/GDC-585

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7325
GitOrigin-RevId: 2495ad1a17e86625ac037a681beebb99f377eb03
2023-01-12 20:57:20 +00:00
Nicolas Beaussart
e58a550cc8 frontend: sync nx codebase again
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7523
GitOrigin-RevId: 0ade4563d4d189dd2c74c8fd6760bc2bd4c47b75
2023-01-12 18:18:38 +00:00
rishi-div
5617fc50a6 docs: added proactive vulnerability scanning and updated the enterpri…
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7494
GitOrigin-RevId: ceb20e65e4965f263605de8568b5d65186742f5a
2023-01-12 17:41:59 +00:00
rishi-div
e5c84fee8e docs: added section on Marketplaces
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7493
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 10333d7cdde7b1476c8e238dd9fb937f5e3f57e2
2023-01-12 17:38:31 +00:00
Stefano Magni
ec0996d56b console: Introduce the OpenTelemetry toggle in Storybook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7375
GitOrigin-RevId: e186eccd8d10d01769a789d1ae1512b34be9798e
2023-01-12 16:20:10 +00:00
Varun Choudhary
2385b6c6f7 console: fix typo in action type generator dropdown message
This PR fixes a small typo  in action type generator dropdown message.
<img width="296" alt="Screenshot 2023-01-12 at 3 40 22 PM" src="https://user-images.githubusercontent.com/68095256/212047378-05f5b6ad-306a-4709-9907-95a6d06cb2c7.png">

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7517
GitOrigin-RevId: cbc6e41b7cb06c8fda85160935056d48e6c46033
2023-01-12 12:27:13 +00:00
Daniel Harvey
b245e41630 [install-manifests] update CockroachDB to stable version
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7514
GitOrigin-RevId: a8cbb297437e4c2d9ba4cab5da1e464d4eac43e4
2023-01-12 11:46:24 +00:00
Rikin Kachhia
6adee5e0ff console: update connect db page styles
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7505
GitOrigin-RevId: b8c538022f411e9c180f072e8e2f0554b5c09670
2023-01-12 10:46:43 +00:00
Vijay Prasanna
ca07ec4236 feature (console): add delete mutations utils + tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7501
GitOrigin-RevId: a82606c5d08f1cdf1093967480237a16d7f2af93
2023-01-12 09:06:18 +00:00
Solomon
f786101922 Gardening: Code cleanup around config transformations for dataconnector backends
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7481
GitOrigin-RevId: d1605b8a03e65cd16fc98aa4bc046c0b21b370cc
2023-01-11 23:13:26 +00:00
Rikin Kachhia
7275b6e39a docs: miscellaneous fixes
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7503
GitOrigin-RevId: 9eebf9f1d10ca7a94bfb42770bc35c68add98817
2023-01-11 16:10:18 +00:00
Sean Park-Ross
af639392ce Docs: Feedback component v2.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7242
GitOrigin-RevId: 4398205fc74b0a9745d15ade4c78a21467b7475f
2023-01-11 14:52:07 +00:00
Mohd Bilal
f82eaf7ea5 cli: Add --console-hge-endpoint to hasura console command that allows CLI to be configured to run inside a container
Closes: https://hasurahq.atlassian.net/browse/PLAT-370

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7408
GitOrigin-RevId: 79ca71a1b711f993410e2dbaafa717c11b459dce
2023-01-11 14:10:18 +00:00
Rob Dominguez
9bde77ab36 docs: update cli long punctuation and update commands
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7504
GitOrigin-RevId: dec1f870b9049ccc5cb793e960fb4040d18a3834
2023-01-11 13:34:08 +00:00
Smit Shah
5595e85e27 cli: make update prompts non-intrusive
## Description
This PR makes the blocking update prompt when running Hasura CLI non-blocking. Further details of the change can be found here, [PLAT-376](https://hasurahq.atlassian.net/browse/PLAT-376).

## Changelog ✍️

__Component__ :  cli

__Type__: enhancement

__Product__: community-edition

### Short Changelog

cli: make the update notifications when running Hasura CLI non-blocking [#9367](https://github.com/hasura/graphql-engine/issues/9367)

### Kodiak commit message
Information used by [Kodiak bot](https://kodiakhq.com/) while merging this PR.

#### Commit title
Make the update prompt non-intrusive

[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[PLAT-376]: https://hasurahq.atlassian.net/browse/PLAT-376?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

closes https://github.com/hasura/graphql-engine/issues/9367

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7449
GitOrigin-RevId: 73cd019982b9355a8aaa9c6b2592f0413b17f410
2023-01-11 10:32:18 +00:00
Mohd Bilal
8cee3c53b9 cli: Use - instead of * in unordered list in docs and fix char cases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7492
GitOrigin-RevId: 5b76d0a970193da4412ff1b595caec23996f265c
2023-01-11 08:39:18 +00:00
Rob Dominguez
db28a7f90a docs: add icons to features
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7262
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: fe5eadde71bf247215ec8037a76114242363e34d
2023-01-11 03:23:06 +00:00
Rob Dominguez
2ad946df33 docs: update databases index tables styling
[DOCS-475]: https://hasurahq.atlassian.net/browse/DOCS-475?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7479
GitOrigin-RevId: 5a13c93c8dfc492b73f041e3755142272bcdf87b
2023-01-11 03:19:45 +00:00
Vijay Prasanna
30d477c72f feat (console): update native db DAL methods to include GQL types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7318
GitOrigin-RevId: 4e2e4f8647838a26672f75735037bcd5778c9355
2023-01-11 03:15:18 +00:00
David Overton
a9f77acb32 Remove builtin scalar types from Data Connector backend
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7167
Co-authored-by: Daniel Chambers <1214352+daniel-chambers@users.noreply.github.com>
GitOrigin-RevId: 926e7282b908e3a9669ac39d625aa54971e11c37
2023-01-11 02:37:26 +00:00
Gil Mizrahi
7393c152e3 add a temporary static flag for pqnp
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7485
GitOrigin-RevId: 482b0f11f21acb67c9fa95a93b88ac2e45df9430
2023-01-10 13:00:32 +00:00
Daniele Cammareri
0d9575a88a console: add tracking events for import from openapi
## Description 🔖

closes https://hasurahq.atlassian.net/browse/GS-323

This PR add a couple of hooks to properly track import from OpenAPI feature.

This is needed because we tried to track the events using "Target Text" but it doesn't seem to work.

<img width="959" alt="image" src="https://user-images.githubusercontent.com/5709409/209819331-25245f4b-5ec9-4f84-8a0b-daa4133db540.png">

[GS-323]: https://hasurahq.atlassian.net/browse/GS-323?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7406
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
GitOrigin-RevId: ac6c3da1b2c9c9fbf3ca7363595e34e93ef19d1e
2023-01-10 09:29:17 +00:00
Naveen Naidu
99fb6ac22f server/mssql: fix handling of special language characters in event trigger payload
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7448
GitOrigin-RevId: d87357fe2a54d755c893938db5fb6193316b0b79
2023-01-10 08:50:52 +00:00
ananya-2410
cccc0dc309 ci: update catalog version for v2.17.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7483
GitOrigin-RevId: af9a79e69a7a679ee4eea0756e58ec770bf7d7df
2023-01-10 07:28:40 +00:00
Luca Restagno
22e8ab7755 Implement multiple rows selection [GCU-48]
[GCU-48]: https://hasurahq.atlassian.net/browse/GCU-48?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7443
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: ac9725178f6f3b4cb8f14997bcdbd86e494af9a6
2023-01-10 06:16:04 +00:00
Daniel Chambers
57607f5295 Refactor Update IR to generalize Update vs Update Many across backends - compositional approach [GDC-687]
[GDC-687]: https://hasurahq.atlassian.net/browse/GDC-687?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[GDC-687]: https://hasurahq.atlassian.net/browse/GDC-687?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7355
GitOrigin-RevId: fa02a83c0c594abe05c1071d0de5054478c32e56
2023-01-10 01:56:14 +00:00
Julian@Hasura
aefdf0dd81 Change Snowflake text from Database URL to JDBC Connection string - GDC-676, GDC-686
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7385
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: e14d76c206212ce9510f6cb7ef63c5434a54d471
2023-01-09 23:14:43 +00:00
Julian@Hasura
a40e266a33 Change text to exclude call outs to GDC on the Console connection dialogs - GDC-675
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7322
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: 7fc9a639753cc2d2772d0b1234861dbfc9666e68
2023-01-09 22:36:33 +00:00
Jesse Hallett
a3d567f771 server: update sample.hie.yaml with db-specific test suites
This change allows HLS to process the graphql-engine-test-postgres and graphql-engine-test-mssql projects correctly.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7240
GitOrigin-RevId: f1ed587251094c63a668201d9bc455701a65f367
2023-01-09 18:04:40 +00:00
Auke Booij
d96203f602 server: bring graphql-parser-hs GHC options in line with main code
This is mainly about removing `StandaloneKindSignatures`.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7428
GitOrigin-RevId: 9b28c9b119f50c49a1b5c48391d537f1575700b4
2023-01-09 15:31:20 +00:00
Luca Restagno
126dfdde55 Fix: Alloydb connection form
[NDAT-457]: https://hasurahq.atlassian.net/browse/NDAT-457?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7462
Co-authored-by: Vishnu Bharathi <4211715+scriptnull@users.noreply.github.com>
GitOrigin-RevId: e4ca09f84b98ff5051eebdf31fdd00a11fdac2e0
2023-01-09 14:40:15 +00:00
Julian@Hasura
6717e0a936 Multi select - GCU-46
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7307
Co-authored-by: Julian <843342+okjulian@users.noreply.github.com>
GitOrigin-RevId: d32c4328c3270a370326ab77e0a0f8faa6a4a7fe
2023-01-09 13:28:13 +00:00
Abby Sassel
62eafe26b6 server: replace note about ignored _stringifyNumbers in MSSQL remote relationships plan
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7463
GitOrigin-RevId: d6be472f13cd30da3a5f0ace05190698c94e3347
2023-01-09 10:52:18 +00:00
Sameer Kolhar
5935110165 console: Check DB Latency button shouldn't be shown if there are no datasources connected
[CPS-613]: https://hasurahq.atlassian.net/browse/CPS-613?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7387
GitOrigin-RevId: 7a65171b7ad21161db17f961a6e0409032e31e7f
2023-01-09 10:48:30 +00:00
Nicolas Inchauspe
c78b9ea50e console: fix sidebar story for prometheus usecases
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7451
GitOrigin-RevId: 1d4cdc87331739a0d8bccb849e51719770667607
2023-01-09 10:13:23 +00:00
Daniele Cammareri
0ec4de1733 console: fix issues when generating actions from open API
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7414
GitOrigin-RevId: 381a8e0eaa658cb93bd2947fd167129469d715f8
2023-01-09 09:38:06 +00:00
Rikin Kachhia
4baf9542c1 console: send DB initial state telemetry
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7389
GitOrigin-RevId: 963673eeee6d2eee3b4ed0aa7c903004f1838005
2023-01-09 08:37:04 +00:00
Rikin Kachhia
50a5462857 cli: improve log messages to highlight database names
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7363
GitOrigin-RevId: 2b58511c374ee4d93a202e23c87c48b54ec363a6
2023-01-09 08:03:13 +00:00
Lyndon Maydwell
d34bea3e97 Metadata API for Suggesting Relationships from HGE
[GDC-629]: https://hasurahq.atlassian.net/browse/GDC-629?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7420
GitOrigin-RevId: 0bf69f8409d5141783f9cf5d8d54f798d9e05e65
2023-01-09 07:26:55 +00:00
Rob Dominguez
1128753069 docs: add links to feature docs for CLI commands
[DOCS-520]: https://hasurahq.atlassian.net/browse/DOCS-520?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[DOCS-520]: https://hasurahq.atlassian.net/browse/DOCS-520?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7419
GitOrigin-RevId: 52e8e54bf7068ee91fce19831db99d7a24afb00c
2023-01-09 04:27:34 +00:00
Stefano Magni
019e9ac20f console: Set the NPM version
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7436
GitOrigin-RevId: ea8475ef3c6afd86eea2f46d45e739ad1c313be4
2023-01-07 08:26:04 +00:00
Daniel Harvey
e58ebb10e0 [server/test] Postgres cross-schema tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7437
GitOrigin-RevId: f324fd4ede516238ec4904dd19c0094e21b69b7d
2023-01-06 15:36:19 +00:00
Varun Choudhary
5726ef56fe console/fix: creating async action from UI gets created as a sync action
[GS-347]: https://hasurahq.atlassian.net/browse/GS-347?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7432
GitOrigin-RevId: 4b27329ee84a51566b451e7a921d493f8659241d
2023-01-06 13:21:00 +00:00