Commit Graph

6164 Commits

Author SHA1 Message Date
Sean Park-Ross
ee18dbe8c2 Docs: Heading pill CSS fix
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7660
GitOrigin-RevId: 37a4b9dbb6f97ced3f751717024b7290e2de799e
2023-01-25 14:11:35 +00:00
Nicolas Beaussart
2c3d91b033 frontend: switch cli and server to use the new nx assets
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7533
GitOrigin-RevId: 8adde90a90115c2782dc77b9f30297499f22acab
2023-01-25 12:07:01 +00:00
Nicolas Beaussart
b893460759 console: fix cypress tests not running
GitOrigin-RevId: ca208e2248fcce9aa75da00ec06558aa1a49b983
2023-01-25 11:25:03 +00:00
Nicolas Beaussart
152cc6151c frontend: modify the code to have it work in nx
GitOrigin-RevId: e564d86de44bf81e708ca2c40bb505dec01076ce
2023-01-25 11:24:54 +00:00
Nicolas Beaussart
6849237a58 frontend: make a archive copy of the console files just in case
GitOrigin-RevId: a4074a537809b256caff6a16ef4b1d3853fcb16c
2023-01-25 11:24:46 +00:00
Nicolas Beaussart
bdcbda5f54 frontend: migrate console to the new frontend folder
GitOrigin-RevId: bde5a5e36ff0093d141f666b9183caafefa39cf8
2023-01-25 11:24:38 +00:00
Nicolas Beaussart
6203a280db frontend: prepare nx migration by removing the old copied files
GitOrigin-RevId: 07e74dcd87e84610efab22c1645d82db378df31f
2023-01-25 11:24:27 +00:00
Rakesh Emmadi
f2a5d7cef3 server/pro/multitenant: Postgres connection routing using kriti templates
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6822
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
Co-authored-by: Naveen Naidu <30195193+Naveenaidu@users.noreply.github.com>
Co-authored-by: Sooraj <8408875+soorajshankar@users.noreply.github.com>
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 61cfc00a97de88df1ede3f26829a0d78ec9c0bc5
2023-01-25 07:14:31 +00:00
Solomon
6c7882aa3e GDC Snowflake Integration Tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7528
GitOrigin-RevId: f90ee61899349735dc2fc0fbe6ed499614630a0f
2023-01-25 05:54:31 +00:00
awjchen
12fdac004f server: fix tracing bug where some errors prevent spans from being emitted
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7450
GitOrigin-RevId: 23f6c9cfea8e7ca64b39866d15d2e6187aaaa0d9
2023-01-25 03:38:21 +00:00
Daniele Cammareri
787c8b2b50 console: storybook component for import from OpenAPI beta version
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7618
GitOrigin-RevId: b9cefcca2b78f3dfb73dc76bd0ce320a87e00c57
2023-01-24 18:23:17 +00:00
Nicolas Beaussart
57e62c3d40 frontend: fix storybook not running
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7646
Co-authored-by: Nicolas Inchauspe <710410+nicoinch@users.noreply.github.com>
GitOrigin-RevId: cc26aff8d9241bfbec1c019da9f681ec62a76ea3
2023-01-24 17:17:33 +00:00
Daniele Cammareri
bd0533fcf3 console: add support for array as query param in import from OAS
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7630
GitOrigin-RevId: ce8a374b055c4ced7bb6fddebdc11016a5787d23
2023-01-24 15:31:55 +00:00
Varun Choudhary
9138a09d3e console: remove cleanup_config from create event trigger metadata call for oss
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7571
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
GitOrigin-RevId: 8d5127bb98e9f990640324d73851c320530cd3f8
2023-01-24 12:39:28 +00:00
Luca Restagno
ab8623243f Create the streamlined table selection component
[GCU-75]: https://hasurahq.atlassian.net/browse/GCU-75?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[GCU-81]: https://hasurahq.atlassian.net/browse/GCU-81?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7610
GitOrigin-RevId: 7d364df245c931824f7eec9e4a90256f2d8827f4
2023-01-24 12:05:05 +00:00
Nicolas Inchauspe
7fc825d428 console: Lab/notifications
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7459
GitOrigin-RevId: b42671a75e93b74c0ccfa29c74de31d98bd6ba18
2023-01-24 11:09:00 +00:00
Lyndon Maydwell
615fd64c04 Add constraint_name key to *_suggest_relationships Metadata API and increase sensitivity of tables argument
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7625
GitOrigin-RevId: d764f1664b63abbe4a4ff166e0bc7224bcb0dc57
2023-01-24 10:27:35 +00:00
Varun Choudhary
d15af96f10 storybook: create an initial modal component for action creation page
This PR adds an initial modal component for action creation page.
[Design](https://www.figma.com/file/wHKOcVhCt1BktXyKgQUqvs/123---REST-Endpoint-Importer?node-id=317%3A59573&t=08WyCA6Zps6n1TIq-0)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7634
GitOrigin-RevId: 88300a4483e3a36173bdd2bdf6b5ab5de8edafa0
2023-01-24 07:28:07 +00:00
Daniel Chambers
b3a4855fbb Data Connectors Delete Mutations Support [GDC-714]
[GDC-714]: https://hasurahq.atlassian.net/browse/GDC-714?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7623
GitOrigin-RevId: 676682343bc9aa54e1ed6553ebdf39756cfd7b5d
2023-01-24 04:18:47 +00:00
Nicolas Beaussart
9e04135f98 frontend: pre sync console into nx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7638
GitOrigin-RevId: 8866a609e83e6330786ddc741afcba9d45e1f42e
2023-01-23 22:22:02 +00:00
Sean Park-Ross
8259567d22 Docs: Document unavailability of subscriptions in remote schemas
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7475
GitOrigin-RevId: 60e5c30bac6f6f5633780ab56d1b535c95e7faa6
2023-01-23 20:57:32 +00:00
Matthew Goodwin
97fb7b95e8 console: big query modify tab read only support GCU-91
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7619
GitOrigin-RevId: 10722caad2128878ab6f9a95c9c0367122ff07f4
2023-01-23 18:48:25 +00:00
Rob Dominguez
23e232eedd docs: update getting-started docker
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7146
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 7e5a35d3a9f78ab10feafdcfe6549eda6f033f90
2023-01-23 15:08:20 +00:00
Stefano Magni
24cba66344 console: Add OpenTelemetry to Metadata
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7401
GitOrigin-RevId: 13b768e4a3d940bf2acf8fbc1fe38f89a6c10f05
2023-01-23 14:11:08 +00:00
Abby Sassel
85cda65261 server: introduce Native Query Interface prototype feature flag
[NDAT-490]: https://hasurahq.atlassian.net/browse/NDAT-490?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[NDAT-491]: https://hasurahq.atlassian.net/browse/NDAT-491?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[NDAT-468]: https://hasurahq.atlassian.net/browse/NDAT-468?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7487
Co-authored-by: Solomon <24038+solomon-b@users.noreply.github.com>
GitOrigin-RevId: ba679fc69df4b669fc7936cd359b8268e8e1a23a
2023-01-23 13:37:13 +00:00
Erik Magnusson
e86d24b1fb console: add root field permissions to GDC permissions tab
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7536
Co-authored-by: Matt Hardman <28978422+mattshardman@users.noreply.github.com>
GitOrigin-RevId: eaa788e45e12900ac5237c4fb1c98d19f64778ed
2023-01-23 11:29:06 +00:00
Vishnu Bharathi
a6f81a7208 ci: update graphql-engine-base image to use latest ubuntu focal
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7626
GitOrigin-RevId: 0bceaf98f9f84066a2f130bf17688010ccd88c4b
2023-01-23 10:57:12 +00:00
Varun Choudhary
e321eb89c2 console: add console support for string query parameters in actions, events and cron triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7486
Co-authored-by: Daniele Cammareri <5709409+dancamma@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 70eb20e8b88eef3281809748d08661a5b9cf269a
2023-01-23 08:08:47 +00:00
Erik Magnusson
c0c3fb9ec0 added default root source handling
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7608
Co-authored-by: Vijay Prasanna <11921040+vijayprasanna13@users.noreply.github.com>
GitOrigin-RevId: 7064199bbed3ac3b2835d4929b9dd2dece22845a
2023-01-23 07:30:33 +00:00
Krushan Bauva
5ec99aab03 docs: remove status parameter from get_scheduled_event_invocations Metadata API reference
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7585
GitOrigin-RevId: 76983ab1612c8d7be013caf9409ca7746252b07a
2023-01-23 06:32:34 +00:00
Daniel Chambers
0b35798fa7 Fix get_source_tables integration data connector config transformation test
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7605
GitOrigin-RevId: 02b33784375888854c3f663c3cf0a84b049682a6
2023-01-23 01:06:56 +00:00
awjchen
cc5ee8474a server: always validate the open telemetry metadata configuration
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7446
GitOrigin-RevId: a66bcf654f3b973da0ab1a6f4b956446cd7a10d0
2023-01-22 03:42:20 +00:00
hasura-bot
ab8096c83d Update docs data-validations.mdx refs #2599
GITHUB_PR_NUMBER: 8529
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8529

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4560
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 475ffaf8d5d37869a59ea002b4861cd91baaa090
2023-01-20 21:09:44 +00:00
Marion Schleifer
61336d8a7f docs: add note to alloy db guide
## Description

Add a note on permissions to AlloyDB guide.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7611
GitOrigin-RevId: 4f96af8483b62007e977aa67426ff952dcfc23c2
2023-01-20 18:28:26 +00:00
Nicolas Beaussart
63d4f97f3f frontend: make the scriptLoader works with gz files
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7616
GitOrigin-RevId: ae2c8db13ba3b9cea42fb31780e37102ea1b1a44
2023-01-20 18:24:37 +00:00
Stefano Magni
661f2ac245 console: Add OpenTelemetryConfig to Storybook
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7390
GitOrigin-RevId: 181d86c31dbcab8297b7f2d60407d2966e4526a1
2023-01-20 17:50:47 +00:00
Sean Park-Ross
4c3f2884a5 Docs: Fix span animation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7613
GitOrigin-RevId: d0c19eb840948b23b2972188ecfab9363defe336
2023-01-20 17:13:51 +00:00
Nicolas Beaussart
41d5bf2a19 frontend: setup internal executor to create the assetLoader
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7612
GitOrigin-RevId: 4da8b7a642af3795ef9c31939e2d14ef7a755013
2023-01-20 16:05:52 +00:00
Auke Booij
83ea4a254d server: plumb StoredIntrospection while building the Schema Cache
We'd like to be able to build a Schema Cache from only serializable data. We already have Metadata. The data that's missing to build a Schema Cache is referred to as "stored introspection", and this includes:
- DB introspection
- User-defined enum values (i.e. contents of specific DB tables)
- Remote schema introspection

This PR introduces a new `StoredIntrospection` container that holds that data, and plumbs it through to the right parts of the schema cache building process, so that stored introspection can be used as a substitute for fresh introspection requests against live data sources.

The serialization of `StoredIntrospection` is intended to be straightforward: just take the serialized source introspection results, and put them in an appropriate JSON object. Though I don't think that this PR achieves that entirely.

In order for `StoredIntrospection` to be deserializable (through `aeson` instances), while keeping the required code changes low, this piggy-backs off of the `ResolvedSource` data type. `ResolvedSource` is _almost_ exactly what we want, and _almost_ deserializable, so this PR brings it across the finish line by moving a few things out of that type, and adding a `FromJSON (RawFunctionInfo b)` context to the `Backend` type class.

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

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7053
GitOrigin-RevId: 5001b4ea086195cb5e65886747eac2a0a657b64c
2023-01-20 14:52:36 +00:00
pranshi06
ae5f3fe593 server: fix next_retry_at for MSSQL event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7376
Co-authored-by: Karthikeyan Chinnakonda <15602904+codingkarthik@users.noreply.github.com>
GitOrigin-RevId: 3a287271320fbb489dbabcd163b1b474fa5132b6
2023-01-20 11:16:30 +00:00
Daniel Harvey
0270dbf4b4 [server/tests] use fresh HGE for stringify numeric types tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7582
GitOrigin-RevId: 7c7832d322024b01987f1568a87793a7c0a969db
2023-01-20 10:40:01 +00:00
pranshi06
a5769645fa docs: update methods to remove event triggers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7518
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sean Park-Ross <94021366+seanparkross@users.noreply.github.com>
GitOrigin-RevId: 42fce71de2349d8fcafcb4bcd66f343e7d58246f
2023-01-20 07:49:25 +00:00
Daniel Chambers
d6cbbe3e49 Data Connectors update mutations support [GDC-713]
[GDC-713]: https://hasurahq.atlassian.net/browse/GDC-713?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7604
GitOrigin-RevId: e0d496b425bed48f2d53a66584f4c7ecd40b485e
2023-01-20 06:17:59 +00:00
Rikin Kachhia
ded69b361e server: serve local console assets even if console is disabled
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7568
GitOrigin-RevId: ef1548c80280f91aabd94075b658de7d04b8b7a3
2023-01-19 20:08:44 +00:00
Rishichandra Wawhal
37a15c25e8 console: fix HTTPS websocket protocol for subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7592
GitOrigin-RevId: 02b4e8df7ed64fbc9ec8a0d3fca64681285d6d5d
2023-01-19 13:14:07 +00:00
Philip Lykke Carlsen
cd5186be90 Implement Schema Parsers for Native Query Interface
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7574
GitOrigin-RevId: 0cb4638a7dd79abf6ccb05092c0c663c84675bbd
2023-01-19 11:27:24 +00:00
Mohd Bilal
094b5e6db2 cli: Support migrations for Cockroach DB in CLI Console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7550
GitOrigin-RevId: eb9d6c8dae1c1f7980df45f5080f8d7cab8791c9
2023-01-19 10:51:17 +00:00
Daniel Harvey
0dfeea2c5a [server/tests] de-dupe Postgres harness code
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7581
GitOrigin-RevId: 09f83190e0095d471d7aca6025c43026270d7b58
2023-01-19 10:09:30 +00:00
Vijay Prasanna
f5e17e6161 feature (console): adding consoleDataType to the table column type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7547
GitOrigin-RevId: 13967c84b3ab09b918e94d60ce4f8aa0244fce25
2023-01-19 08:22:24 +00:00
Vijay Prasanna
42a536a8ab feature (console): add DAL method to get defaultQueryRoot for a database based on driver type
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7569
GitOrigin-RevId: 22e86bece0c66b9a0a3af9d8085e493a311d1139
2023-01-19 06:01:26 +00:00