Mohd Bilal
b44443941f
cli: refactor cli
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6662
GitOrigin-RevId: 3b9199ae80c587f8d763df4889f4f81c73ccd3d3
2022-11-03 08:09:07 +00:00
Aravind K P
e982a492d6
cli: port migrate squash
and migrate delete
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6548
GitOrigin-RevId: 21771cb44655788be71c61b7ee3b4159341907a1
2022-11-03 07:38:03 +00:00
Nicolas Inchauspe
b0d5238c3b
console: globally add missing <!DOCTYPE html>
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6661
GitOrigin-RevId: ee45e493c76ad81569731dcd5468c846ba01cd12
2022-11-03 07:06:06 +00:00
Aravind K P
061f6b96ed
cli: port migrate
, migrate status
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6547
GitOrigin-RevId: edef43331e06b227484e84a39f4b81b5fdaf1658
2022-11-03 05:56:00 +00:00
Mohd Bilal
24b98e1900
cli: refactor internal/projectmetadata
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6435
GitOrigin-RevId: d48b0412cb8f7d252018861cbbe65123eddfc412
2022-11-02 12:10:25 +00:00
Mohd Bilal
d63686f8d4
cli: refactor plugins
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6562
GitOrigin-RevId: 8ab6252bd5e3fa716f3c9d546418dfedefd837be
2022-11-02 11:11:54 +00:00
Mohd Bilal
52f21e7261
cli: refactor update
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6524
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 919262c2618a1319441ce3730802c06bd5bd450a
2022-11-02 07:20:53 +00:00
Mohd Bilal
1538490bdd
cli: refactor migrate/database/hasuradb
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6514
GitOrigin-RevId: c4d83b28d8550f61167b6f4270166b9513f89891
2022-11-02 06:14:46 +00:00
Mohd Bilal
5cffe3d723
cli: refactor migrate/source
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6512
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: ea3fd23e2783a2934eda061c31aed82a69f691f4
2022-10-31 10:17:15 +00:00
Mohd Bilal
27875e0260
cli: port internal/hasura/v1metadata
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6378
GitOrigin-RevId: 5551a12f19f492bd34de6bb56b44f33d9386b53d
2022-10-31 09:14:10 +00:00
Mohd Bilal
a8a37b246b
cli: port internal/hausra/sourceops/mssql
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6369
GitOrigin-RevId: a1dee4ec7bf2e3ef2d5b457e47cc4e0d1a6f7c07
2022-10-31 08:40:44 +00:00
Mohd Bilal
5a13c271f8
cli: port internal/hausra/sourceops/citus
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6367
GitOrigin-RevId: c71fdcf8c0422df899ca5054ae69eeedc157ac0d
2022-10-31 07:45:06 +00:00
Mohd Bilal
fa06d48b03
cli: refactor pkg/console
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6521
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: bf85f0561441360295fddaf6cda100c7b17af76a
2022-10-31 07:19:44 +00:00
Mohd Bilal
3760b377b1
cli: refactor version
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6509
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 56c534327883de52ee93eeb4a83c9329fde6ec94
2022-10-28 10:00:12 +00:00
Mohd Bilal
e814260ccc
cli: refactor util
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6508
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 41f4842593a7226966c53ffd6314809adbd72266
2022-10-28 09:32:21 +00:00
Aravind K P
22ec874069
cli: port statestore/settings
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6492
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 409b220908d773cc6b45bc7ebe11a6ea950e9d35
2022-10-28 07:51:58 +00:00
Aravind K P
f82fc6d420
cli: port pkg/metadata
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6490
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 10b2ddbd534895c28bc69a6cf1a68229f67e8e3d
2022-10-28 06:47:58 +00:00
Aravind K P
283866526f
cli: port pkg/migrate
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6491
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
GitOrigin-RevId: 37640b3f888f6ca68df6894fa1d0f9a5368136b6
2022-10-27 16:17:24 +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
Mohd Bilal
3394c97fdc
cli: refactor plugins/download
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6526
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: b12bbdf7bfac7eb3313b3e814aa6e1d73e77d3ce
2022-10-27 03:18:33 +00:00
Mohd Bilal
edc40ea7be
cli: refactor internal/scripts
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6458
GitOrigin-RevId: 579a7cba6780feee81f9ee06cab6ccb5f7a4cae3
2022-10-26 07:30:25 +00:00
Mohd Bilal
6ecf34ade6
cli: refactor seed
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6506
GitOrigin-RevId: cd7fbe3404b337e946022b351188f58b8bfbf6d3
2022-10-26 06:02:09 +00:00
Mohd Bilal
bf6f36a552
cli: refactor migrate/cmd
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6510
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: d34597728fdf2070bba35a8e85b5859e30f5c3e4
2022-10-26 05:28:42 +00:00
Mohd Bilal
e3fc8b6e27
cli: refactor migrate/database
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6511
GitOrigin-RevId: f8ed9c2f3cc5014d6e4b6258452109b452c17c39
2022-10-26 04:59:50 +00:00
Mohd Bilal
a34d610e6a
cli: refactor plugins/paths
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6527
Co-authored-by: Aravind K P <8335904+scriptonist@users.noreply.github.com>
GitOrigin-RevId: 044fb0c845f02dcaa3906b9a575f5bd8842b9056
2022-10-26 02:20:57 +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
Samir Talwar
c3afa0fdd7
Install and use ODBC Driver 18 for SQL Server (msodbcsql18).
...
This installs the ODBC Driver 18 for SQL Server in all our shipped Docker images, and update our tests and documentation accordingly.
This version supports arm64, and therefore can run natively (or via Docker) on macOS on aarch64.
`msodbcsql17` is still installed in production-targeted Docker images so that users do not _have_ to migrate to the new driver.
Nix expressions are packaged for the new driver, as it is not yet available in nixpkgs.
In this version, [the default encryption setting was changed from "no" to "yes"](https://techcommunity.microsoft.com/t5/sql-server-blog/odbc-driver-18-0-for-sql-server-released/ba-p/3169228 ). In addition, "mandatory" and "optional" were added as synonyms for "yes" and "no" respectively.
I have therefore modified all connection strings in tests to specify `Encrypt=optional` (and changed some from `Encrypt=no`). I chose "optional" rather than "no" because I feel it's more honest; these connection strings will work with or without an encrypted connection.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6241
GitOrigin-RevId: 959f88dd1f271ef06a3616bc46b358f364f6cdfd
2022-10-21 16:25:04 +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
Mohd Bilal
0c8b80ee71
cli: port commonmetadata
package to use internal/errors
package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6318
GitOrigin-RevId: 2274c535f5475d50fbfdf645572b8553625a87fc
2022-10-20 15:18:46 +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
51424c0857
cli: use github.com/stretchr/testify/require
assertions in internal/hasura/pgdump
tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6364
GitOrigin-RevId: c6c99c092e6992d3905e1a1f58ea0373911238f8
2022-10-18 03:24:17 +00:00
Mohd Bilal
aa70c62bdd
cli: port internal/hasura/v2query
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6379
GitOrigin-RevId: 787e5cce03006b0d248a79797923efb8fe6fa7b4
2022-10-17 18:28:56 +00:00
Mohd Bilal
081b9163c4
cli: port internal/hausra/sourceops/postgres
to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6374
GitOrigin-RevId: 8b52f7409799d7ac3b43937cc66837ab3861cd03
2022-10-17 17:56:02 +00:00
Mohd Bilal
7044bf194d
cli: port internal/hasura/v1graphql
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6322
GitOrigin-RevId: 1f1c8f13bd688881c48f3381dc9e3e7bacf5fc0c
2022-10-17 17:02:00 +00:00
Mohd Bilal
06138634bc
cli: use github.com/stretchr/testify/require
assertions in internal/hasura/catalogstate
tests
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6360
GitOrigin-RevId: 1c0f1666fb0ca70d7cf00e6584c549f1bf044c69
2022-10-17 09:57:59 +00:00
Aravind K P
2e0cd9267b
cli: port v1query
package to use internal/errors
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6334
GitOrigin-RevId: 094745ed3c8e6aaab5f7f01236ddbebba0f043ba
2022-10-13 15:06:56 +00:00
Mohd Bilal
7b5d61d04f
CLI: port catalogstate package to use new errors package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6259
GitOrigin-RevId: be90386154d7906a41c2334db5cc24fe5febf774
2022-10-12 09:45:51 +00:00
Mohd Bilal
0bd013653a
cli: port pgdump package to use new errors package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6263
GitOrigin-RevId: e410548ecba70e556e41a0377952555c3b40c8ef
2022-10-12 08:47:21 +00:00
Mohd Bilal
56a26a74ee
CLI: Add utility Match
and print function for the new errors package
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6258
GitOrigin-RevId: fa3148c467b527fbe62cebca3177a39f9b02b38c
2022-10-11 16:41:57 +00:00
Aravind K P
a949af5e14
cli: refactor httpc package to use error framework
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6227
GitOrigin-RevId: fcf9ee64345309ddcba95e4369a6564defa54fc0
2022-10-11 13:40:46 +00:00
Samir Talwar
740341382f
CLI: Upgrade Dockertest to try and fix the build on CI.
...
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6184
GitOrigin-RevId: 796f400fd45a58a5a81212e04a0730c53f04899a
2022-10-04 12:06:32 +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