Sandeep Raj Kumar
0ff034cb87
Add Batch Limits to API limits config
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10556
GitOrigin-RevId: a4ff69dfc0b1651e0376aa60545a0b0b7d6ee41d
2023-12-15 02:05:52 +00:00
Mohd Bilal
c7d1330389
cli: fix parsing of native databases and data connectors functions
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10260
GitOrigin-RevId: 41e80dfca4b20dddd4f2451f1aeaef8ca4547635
2023-09-05 06:11:52 +00:00
Manas Agarwal
bdd25f65a5
cli: Adding support for Snowflake UDF
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9545
GitOrigin-RevId: eda0546349a74d5827d924d83bde10b6ab720de4
2023-08-19 09:25:17 +00:00
Samir Talwar
f42f1111cc
CLI: Add test coverage for stored procedures.
...
This asserts that reading and writing metadata does not modify the stored procedures. We do not provide any support for working with them; this just ensures we do not accidentally corrupt them.
[NDAT-640]: https://hasurahq.atlassian.net/browse/NDAT-640?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9081
GitOrigin-RevId: 7c9b31f060325cbdffd8803ea085d4957dc1c680
2023-05-08 14:46:37 +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
Philip Lykke Carlsen
983fc2ad47
Rename "Custom Return Types" → "Logical Models"
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8800
GitOrigin-RevId: e5e10f31c6cc8953a8ee947441a7f80b0e9b5e5e
2023-04-19 09:05:25 +00:00
Philip Lykke Carlsen
0346224444
Rename "Logical Models" → "Native Queries"
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8769
GitOrigin-RevId: 66f2cbfb620d641e672a4074554d9d324a18c591
2023-04-13 16:12:20 +00:00
Samir Talwar
6747ee9872
cli: Add the custom_return_types
field.
...
This has been split out from logical models.
Name pending; it may change in the future.
[NDAT-593]: https://hasurahq.atlassian.net/browse/NDAT-593?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8712
GitOrigin-RevId: 25776af883e94bead05af7c97cdf258f4b65c5d1
2023-04-11 13:49:28 +00:00
Mohd Bilal
de128e726a
cli: add support for sources.logical_models
in metadata
...
[PLAT-394]: https://hasurahq.atlassian.net/browse/PLAT-394?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8426
GitOrigin-RevId: a9480c4b77a0ab016b7d5c66e589301bc03740ac
2023-03-27 08:00:27 +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
Mohd Bilal
e75edb0629
cli: Add support for data connectors metadata changes.
...
closes https://hasurahq.atlassian.net/browse/PLAT-181
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7178
GitOrigin-RevId: f4c1c39ac33586870e38623bb85f09d5c98a3817
2022-12-29 14:37:47 +00:00
Mohd Bilal
62d997a590
cli: add support for opentelemetry
in metadata
...
closes https://hasurahq.atlassian.net/browse/PLAT-297
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7267
GitOrigin-RevId: d35f50b8abdc726446ee583a4abfabde2a496721
2022-12-14 04:23:12 +00:00
Aravind K P
fbfea5437c
cli: support metrics_config
metadata object
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7225
GitOrigin-RevId: e0d6f940d4b62b520948ca179cac39474f4d6d84
2022-12-13 02:48:11 +00:00
Mohd Bilal
3353d77c50
cli: refactor internal/metadataobject/actions/cli_extension
and internal/metadataobject/actions/editor
packages to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6828
GitOrigin-RevId: 0f86da5c4a0bd0f3b6b49cc37cf7fc83279f9fb5
2022-11-15 08:24:15 +00:00
Mohd Bilal
1cb217725a
cli: fix response_transform
field missing from actions metadata object
...
closes https://github.com/hasura/graphql-engine/issues/9182
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6814
GitOrigin-RevId: 8d89610938bfc42191abce561affcef9cf2036db
2022-11-10 13:10:46 +00:00
Aravind K P
e73a8f74e4
cli: port metadataobject/inherited_roles
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6406
GitOrigin-RevId: 4dcf132634578a8defd3678e11c03fce94bfb827
2022-10-27 09:51:42 +00:00
Aravind K P
ca6605a036
cli: port metadataobject/apilimits
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6397
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: ff266638f767da75da584f366d1a464ba6b70f0c
2022-10-27 08:28:23 +00:00
Aravind K P
a19a0c4b30
cli: port metadataobject/actions
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6425
GitOrigin-RevId: 87cb9f0244874065ed862f73eef93cfe73b82852
2022-10-27 07:49:44 +00:00
Aravind K P
7669b01e3a
cli: port metadataobject/remoteschemas
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6413
GitOrigin-RevId: 3ffdf4076ba454bbbfe09cc61e401a64488637a8
2022-10-27 07:07:37 +00:00
Aravind K P
5217c5f0c1
cli: port metadataobject/network
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6408
GitOrigin-RevId: e3fb8e2b2bcef32b072818ac4c4a32124d7876d4
2022-10-27 06:18:50 +00:00
Aravind K P
5d759189d0
cli: port metadataobject/query_collections
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6410
GitOrigin-RevId: d82eb90669f3a915f2a2fc9d87347ff64f4ee97b
2022-10-24 03:22:47 +00:00
Aravind K P
1aa5cbb195
cli: port metadataobject/allowlist
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6396
GitOrigin-RevId: 180eaa60613985334681bd9011f910c3f3d6afb2
2022-10-21 16:57:31 +00:00
Aravind K P
3cec172f6f
cli: port metadataobject/rest_endpoints
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6424
GitOrigin-RevId: 3b210e6f6b47756e7941fcb14e960674718855a1
2022-10-21 14:51:38 +00:00
Aravind K P
754fb6e8b9
cli: port metadataobject/crontriggers
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6398
GitOrigin-RevId: 25f9964b3eecb2f89d482401d425752bd7d33708
2022-10-20 07:54:31 +00:00
Aravind K P
3d7effbcc1
cli: refactor metadataobject.WriteDiff
to use std error
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6389
GitOrigin-RevId: 731b74ae5bb1ad0479c141f1e66795d9fd21e9e3
2022-10-20 06:58:52 +00:00
Aravind K P
e89895b5f1
cli: refactor metadataobject.GetFiles
to use std error
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6388
GitOrigin-RevId: 4ae565fc7d7a9275473a736aac78a2da7d031260
2022-10-20 04:36:56 +00:00
Aravind K P
4b1ab8bf67
cli: refactor metadataobject.Object
interface to use std error
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6387
GitOrigin-RevId: 5a18fb9b26eaf9bc9a1b55ae79ce18e4147f4aa3
2022-10-19 12:52:46 +00:00
Mohd Bilal
c28ed6cc6c
cli: Fix query collection export missing definition object and queries array in yaml
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5954
GitOrigin-RevId: b7b29c43ca9c3b2934ea12e71bca2dadecc4c34b
2022-09-27 13:46:42 +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
Mohd Bilal
48a0a34a92
cli: add support for health_check
metadata object in sources
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5287
GitOrigin-RevId: be7e1d19b9875cf05a52a9894cf2bda58b209733
2022-08-03 13:17:36 +00:00
hasura-bot
92f601587c
cli: use 2-spaces indent for graphql query in metadata ( fix #8469 )
...
GITHUB_PR_NUMBER: 8519
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/8519
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4544
Co-authored-by: Yudai Shinnoki <2777896+shinnoki@users.noreply.github.com>
Co-authored-by: Divi <32202683+imperfect-fourth@users.noreply.github.com>
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 3d9f9d1bf940e528a1ad9fab67b6ae818927ffac
2022-06-27 05:27:19 +00:00
Divi
c668aa1158
cli: improve error reporting in metadata apply
command
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4454
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: ae66bdfdc140c1a2a7747fb0ff2acd6f7b577d3f
2022-06-15 15:45:38 +00:00
Aravind K P
ff255bd065
cli: support remote relationships metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4274
GitOrigin-RevId: 5a839a39cc47268e8da52d039b91fbc35fec8b13
2022-04-18 11:07:46 +00:00
Aravind K P
e46777b7ea
cli: fix formatting errors in query collection metadata
...
closes https://github.com/hasura/graphql-engine/issues/7616
closes https://github.com/hasura/graphql-engine/issues/8205
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3955
GitOrigin-RevId: dc97e23e78d522cb7ac4d57ad825526eaa90a4de
2022-03-31 14:02:49 +00:00
Aravind K P
649ef41e3c
cli: fix remote schema formatting errors in metadata
...
closes https://github.com/hasura/graphql-engine/issues/7608
closes https://github.com/hasura/graphql-engine/issues/7459
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3951
GitOrigin-RevId: bad3505c79fab10453580a6a43ad7e71bc2d3753
2022-03-31 08:28:30 +00:00
Vishnu Bharathi
2e04bd5ac2
cli: add support for customization field in sources metadata
...
closes https://github.com/hasura/graphql-engine/issues/8292
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3954
GitOrigin-RevId: cc27dcffbb71579136a3cae7d99ecd239eb37ed2
2022-03-10 16:47:03 +00:00
Aravind K P
2ff0f25e08
cli: refactor metadataobject package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3943
GitOrigin-RevId: 4cc8f67dd8b6ba0e78f1c35d415f89bd1b901705
2022-03-10 08:13:50 +00:00
Divi
d87b961378
cli: fix metadata version being set to 3 for v2 project
...
closes https://github.com/hasura/graphql-engine/issues/8148
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3619
GitOrigin-RevId: d10b715fc71dcc89bb0874f1c115ad9e562cfd6c
2022-02-23 10:53:22 +00:00
Kali Vara Purushotham Santhati
695164b176
cli: misc changes
...
- Hasura CLI shows metadata diff in YAML for type `json` in directory mode. The expected behaviour is to show the diff in JSON
- The unified-json shows diff in YAML, not in JSON.
- Add new diff type unified-yaml which shows the diff in YAML unified format.
- Check the flag value of type in `hasura metadata diff --type`
- The help text of `seed apply`( `hasura seed apply --file seeds/1234_add_some_seed_data.sql`) should be updated to `hasura seed apply --file 1234_add_some_seed_data.sql --database-name default` and similarly in docs.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3246
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1d16ad9ea4dd366af32498ce878ae132bd239be9
2022-01-12 13:25:22 +00:00
Aravind K P
96cfacb58b
cli: wrap errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3146
GitOrigin-RevId: 5dd78bf9145d3bfc9ff4281239d849e796a36246
2021-12-15 17:55:44 +00:00
Aravind K P
0c7e233125
cli: revert split remote schema permissions metadata into seperate files
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3123
GitOrigin-RevId: f327c7324edd66e1f57fafe7703c3318e1362049
2021-12-14 05:08:08 +00:00
Kali Vara Purushotham Santhati
8c41ff539a
cli: enhance metadata diff
command
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2581
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 327c26868102ea1c277b795b9f508847faa2ae8b
2021-12-09 17:26:53 +00:00
Aravind K P
bea2855b88
cli: support request_transforms in actions metadata
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2738
GitOrigin-RevId: b125043dbb9321aa8319a6dcd6e1cd6a21f4dfe1
2021-11-03 06:38:48 +00:00
Kali Vara Purushotham Santhati
1e5a48286f
cli: split remote schema permissions metadata into seperate files
...
closes https://github.com/hasura/graphql-engine/issues/7033
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1877
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 3764db9102d41f67a43f76aa79d28eb5485579ca
2021-10-14 06:52:57 +00:00
Kali Vara Purushotham Santhati
94a3be3e6e
cli: fix lint errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/1749
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 4515f7f2c58b7f28645b2c5a5d9842aa7a844eae
2021-10-13 14:39:15 +00:00
Aravind K P
5011955f73
cli: support query_tags in metadata
...
closes https://github.com/hasura/graphql-engine-mono/issues/2261
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2347
GitOrigin-RevId: 30d461c0b70f4a4924496d9c3f53cb73a658093a
2021-09-28 17:05:48 +00:00
Kali Vara Purushotham Santhati
4cf13762e2
cli: add support for network metadata object
...
Issue: https://github.com/hasura/graphql-engine/issues/7520
Problem: add support for network metadata object
Solution: add new network.yaml which consists of network metadata and in code add new network metadata object
Metadata.json
```
{
"resource_version": 6,
"metadata": {
"version": 3,
"sources": [
{
"name": "default",
"kind": "postgres",
"tables": [],
"configuration": {
"connection_info": {
"use_prepared_statements": true,
"database_url": {
"from_env": "HASURA_GRAPHQL_DATABASE_URL"
},
"isolation_level": "read-committed",
"pool_settings": {
"connection_lifetime": 600,
"retries": 1,
"idle_timeout": 180,
"max_connections": 50
}
}
}
}
],
"network": {
"tls_allowlist": [
{
"suffix": null,
"permissions": [
"self-signed"
],
"host": "www.google.com"
},
{
"suffix": null,
"permissions": [
"self-signed"
],
"host": "play.golang.com"
},
{
"suffix": null,
"permissions": [
"self-signed"
],
"host": "hasura.io"
}
]
}
}
}
```
network.yaml
```
tls_allowlist:
- suffix: null
permissions:
- self-signed
host: www.google.com
- suffix: null
permissions:
- self-signed
host: play.golang.com
- suffix: null
permissions:
- self-signed
host: hasura.io
```
https://github.com/hasura/graphql-engine-mono/pull/2343
GitOrigin-RevId: ef508ae946dc5c7c5bcb4a9a3ccb982394ae8639
2021-09-22 08:12:46 +00:00
Aravind K P
39f5d04ba8
cli: optimize state copy
...
https://github.com/hasura/graphql-engine-mono/pull/2176
GitOrigin-RevId: 71f72704c3097ee05f3adca954b4c283701cf5e9
2021-08-26 06:09:55 +00:00
Divi
80846d36b7
cli: add support for query_tags metadata object
...
- add support for query_tags metadata object
- fix filename for cron_triggers metadata object
https://github.com/hasura/graphql-engine-mono/pull/1901
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: d9266d723f06d11d92f156f70660e0122412e41a
2021-07-29 07:22:25 +00:00
Aravind K P
33d6025a20
cli: refactor metadata object interface
...
https://github.com/hasura/graphql-engine-mono/pull/1618
GitOrigin-RevId: f4559de4852f247de35604be3808f05fe5ed341a
2021-07-23 09:50:36 +00:00