Kali Vara Purushotham Santhati
ca567bf8cb
cli: enhance e2e tests
...
- actions use-codegen
- Assert if starter kit files are created
- metadata apply
- Assert server metadata after apply
- assert that --dry-run flag will not modify metadata on server
- metadata clear
- Assert with server metadata that operation was successful.
- metadata inconsistency drop
- Assert with server metadata that operation was successful.
- metadata inconsistency status
- Assert for all possible states
- metadata reload
- Assert effect of operation with server
- migrate and seed subcommands
- Add tests for MSSQL sources
- Structure tests in such a way that it’s easy to add tests for new sources
https://github.com/hasura/graphql-engine-mono/pull/1693
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: fcdbb806d105978a07487a40f7fa6e16b3ab8816
2021-07-28 06:45:03 +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
Divi
4ed8ba8bb3
cli: fix inconsistent metadata object list rendering
...
closes https://github.com/hasura/graphql-engine/issues/7202
https://github.com/hasura/graphql-engine-mono/pull/1781
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: bcbdf74773aa8f653ebe62c5bf00bcbda1aa51ee
2021-07-16 05:26:47 +00:00
Kali Vara Purushotham Santhati
379b812674
cli: add e2e tests for metadata and migrate commands
...
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: d63e0452fdb97a8f6c4e921467fc2a1de50639a1
2021-04-05 14:01:35 +00:00
hasura-bot
a398d3b190
cli: support datasources
...
GITHUB_PR_NUMBER: 6111
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6111
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 1f6517acfacb58c566bb5e48f74ea0dfa5c6f063
2021-01-18 17:12:09 +00:00
hasura-bot
2f7f2eb32d
cli: force update local plugin index ( close #6219 ) ( #70 )
...
Co-authored-by: scriptonist <aravindkp@hasura.io>
GITHUB_PR_NUMBER: 6231
GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6231
Co-authored-by: scriptonist <aravindkp@hasura.io>
GitOrigin-RevId: c34d88b64fe8ad34ae23692a6513f1e7ca7c571a
2020-11-20 07:59:58 +00:00
Aditya Vats
9332521f95
cli: fix lint errors in cli/util/git.go ( fix #5831 ) ( #5932 )
...
https://github.com/hasura/graphql-engine/pull/5932
2020-10-22 06:35:05 +00:00
Shraddha Agrawal
d95d6378e8
cli: add support for servers with self-signed certs ( fix #4564 ) ( #4582 )
...
Co-Authored-By: Marion Schleifer <marion@hasura.io>
2020-04-28 17:29:57 +05:30
Aravind Shankar
aca11f0944
cli: spinner bug, add cli_environment in global config ( #4459 )
...
close #4456
close #4436
close #4496
2020-04-22 14:45:42 +05:30
Rishichandra Wawhal
8a5cc73ae6
cli, console: actions dx improvements ( close #4306 , #4311 ) ( #4308 )
2020-04-16 13:40:47 +05:30
Aravind Shankar
5081a2969f
cli: update makefile to set plugins branch ref ( #4421 )
2020-04-16 06:54:50 +05:30
Aravind Shankar
995e198d0a
cli: show env vars for the flags in command help ( close #4263 ) ( #4326 )
2020-04-08 17:25:42 +05:30
Aravind Shankar
d5e61716f8
cli: add support for multiple versions of plugin ( close #4105 ) ( #4135 )
2020-04-07 19:42:14 +05:30
Aravind
de41438e8a
cli: refactor console command ( #4150 )
2020-04-07 14:53:20 +05:30
Aravind Shankar
bb63d7e60e
cli: allow managing actions ( #3859 )
...
Co-authored-by: Rishichandra Wawhal <rishichandra.wawhal@gmail.com>
Co-authored-by: Rikin Kachhia <54616969+rikinsk@users.noreply.github.com>
Co-authored-by: Aravind <aravindkp@outlook.in>
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
Co-authored-by: Shahidh K Muhammed <muhammedshahid.k@gmail.com>
2020-02-24 21:44:46 +05:30
Shahidh K Muhammed
f6a43fe3ba
fix various version-related issues with cli ( close #3706 ) ( #3709 )
...
- do not quit on server-cli version mismatch, show warning
- fix a bug in update-cli command which prevets updates to pre-release
versions
- if a console template for a particular version is not found, use the
latest template
2020-01-16 09:23:18 +05:30
nizar-m
f83a8e591f
rename access-key to admin-secret ( close #1347 ) ( #1540 )
...
Rename the admin secret key header used to access GraphQL engine from X-Hasura-Access-Key to X-Hasura-Admin-Secret.
Server CLI and console all support the older flag but marks it as deprecated.
2019-02-14 15:07:47 +05:30
Shahidh K Muhammed
11e7c3f9d6
add anonymous telemetry ( #1401 )
2019-01-28 19:25:28 +05:30
Shahidh K Muhammed
0ed3ff6418
remove manifests directory from init ( close #254 ) ( #258 )
2018-08-06 17:03:17 +05:30
Aravind Shankar
1bff452cb4
handle server endpoints that contains a url path ( #64 )
2018-07-09 19:17:38 +05:30
Aravind Shankar
1998e211af
cli: update tests ( #47 )
...
* remove docker from migrate cmd test
* export migration status
* [cli] add fake writer for spinner
* Update console.go
* Update migrate_test.go
2018-07-06 10:36:27 +05:30
Aravind Shankar
260d565e6e
cli: tests for metadata commands ( #18 )
...
* [cli] added urlPrefix, consoleMode
* [cli] fix: down=all should throw error if down migration is missing
* [cli] added tests for metadata
2018-06-29 15:32:33 +05:30
Aravind Shankar
048c067fa1
[cli] add tests for migrate commands ( #9 )
2018-06-28 14:06:57 +05:30
Shahidh K Muhammed
6d0d75fbe3
[cli] add comments ( #4 )
...
Especially for godoc
2018-06-28 14:06:25 +05:30
Shahidh K Muhammed
776c550654
[cli] add docs and build tools ( #3 )
...
Includes version command and makefile integration along with docs command
2018-06-28 11:10:18 +05:30
Shahidh K Muhammed
24b656b282
[cli] add tests for some packages ( #2 )
2018-06-27 17:34:09 +05:30
Shahidh
8e41d75aa3
refactor most of the code
2018-06-26 21:39:32 +05:30
Shahidh
f7409ef2eb
add hasura cli package
2018-06-24 19:10:48 +05:30