Abhinav Gupta
8489a4b9b0
implement serialization for opendd types ( #342 )
...
V3_GIT_ORIGIN_REV_ID: e7bd868bf53e6960498c0ec764f9ee4f7ea70ff8
2024-03-12 03:01:19 +00:00
Anon Ray
441b81b96e
add boolean expression types to the metadata ( #331 )
...
Co-authored-by: Abhinav Gupta <abhinav@hasura.io>
Co-authored-by: Abhinav Gupta <127770473+abhinav-hasura@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: 86e90978132e9e87c4c20ec25902be11ffb0a56c
2024-03-12 00:29:28 +00:00
Rakesh Emmadi
f5c9a6f291
Custom deserializer for OpenDd objects ( #313 )
...
V3_GIT_ORIGIN_REV_ID: 4c7a9380e517ac8e7ac1bd44dbe879918bd0d9a2
2024-03-11 12:17:50 +00:00
paritosh-08
c04ae5994c
support input coercion ( #325 )
...
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Co-authored-by: Samir Talwar <samir.talwar@hasura.io>
V3_GIT_ORIGIN_REV_ID: 7578b836c0491db1d1cbf5bf876b0ed5d1fc910e
2024-03-11 10:54:28 +00:00
Jesse Hallett
b255495378
copy traces to stdout ( #327 )
...
Outputs traces to stdout in addition to exporting via otlp. Stdout contains one JSON object per line, with a single span resource in each output line. This will make it quite a bit easier for me to get a quick look at what is going on in the engine during local development.
The first commit makes the change using the existing opentelemetry crate versions. The second commit upgrades the opentelemetry dependencies. I thought I would include that just because I went to the trouble of figuring out how to do that upgrade.
The JSON output is noisy, but can be formatted nicely with some shell functions. For example in nushell I use these functions to process the opentelemetry data coming via docker-compose or arion-compose log output:
```nu
# Get log output from arion/docker-compose services with JSON parsing. If an
# argument is given filters to logs from the given service
def logs [
service?: string@docker_compose_services
--file (-f): string = "./arion-compose.nix" # Use FILE instead of the default ./arion-compose.nix
] {
let args = [$service] | compact
let input = if ($file | path exists) {
arion --file $file logs ...$args
} else {
docker-compose logs ...$args
}
$input
| lines
| parse -r '^(?<service>\S+)\s*\|\s*(?<log>.*)$'
| where {|it| is_json $it.log}
| update log {|it| $it.log | from json }
| flatten
}
# Gets log output from a given docker-compose service, and extracts and formats
# relevant opentelemetry data
def otel [
service: string@docker_compose_services
--file (-f): string = "./arion-compose.nix" # Use FILE instead of the default ./arion-compose.nix
] {
logs $service -f $file | get resourceSpans | each {|it| $it.scopeSpans.0.spans.0 | select name attributes status }
}
# Helper to provide autocompletion for inputs to the logs command
def docker_compose_services [] {
let compose_file = if ("arion-compose.nix" | path exists) {
arion cat | from json
} else if ("docker-compose.yaml" | path exists) {
open docker-compose.yaml
} else {
return []
}
$compose_file | get services | columns
}
# Helper for the logs command
def is_json [input: string] {
($input | from json | describe) =~ '^(record|table|list)'
}
```
V3_GIT_ORIGIN_REV_ID: 38fd62f321a363a52b03d661b66d4dd49ac922de
2024-03-07 21:26:50 +00:00
Gil Mizrahi
bb34a9ae66
Replace the nodejs dev-auth-webhook with a rust one to improve performance ( #336 )
...
Co-authored-by: Samir Talwar <samir@functional.computer>
V3_GIT_ORIGIN_REV_ID: 37eb6ad3fc93f4f9beca6568d60a581edca45a71
2024-03-07 14:18:25 +00:00
Samir Talwar
f869e7a8af
Use ndc-spec v0.1.0. ( #337 )
...
V3_GIT_ORIGIN_REV_ID: ef97a6a0692e7c0741de96f0848d414d9b172106
2024-03-07 13:19:55 +00:00
Jesse Hallett
a7ccadbcd9
listen for sigterm to avoid 10-second shutdown delay ( #328 )
...
V3_GIT_ORIGIN_REV_ID: c2a1eb358d139df6234730851beadfff30f29f16
2024-03-07 00:24:22 +00:00
Samir Talwar
078b0d3487
Get the Nix build working. ( #335 )
...
V3_GIT_ORIGIN_REV_ID: e70e2a42b2445b4bcf4e9ee7db771b475c32d2f9
2024-03-06 17:51:17 +00:00
Samir Talwar
dea588255b
Set the crate properties once, to improve the Nix build. ( #334 )
...
V3_GIT_ORIGIN_REV_ID: ec5f3d968306a64ad5c63df324ca5c524838c598
2024-03-06 17:15:13 +00:00
Daniel Harvey
353b0d1ca6
basic Nix flake for deps ( #333 )
...
Co-authored-by: Samir Talwar <samir.talwar@hasura.io>
V3_GIT_ORIGIN_REV_ID: 013207c169f31db363b7cfb072570c5b8246ba60
2024-03-06 11:39:19 +00:00
Abhinav Gupta
f9a77428d0
[V3ENGINE-13] Fix NDC IR generation for functions / procedures ( #330 )
...
V3_GIT_ORIGIN_REV_ID: f579e9fb7a413adb24481bfc04feee7d661aa534
2024-02-29 05:30:27 +00:00
Samir Talwar
d21d8277c8
Stop publishing arm64 images. ( #329 )
...
Co-authored-by: Paritosh <paritosh@hasura.io>
V3_GIT_ORIGIN_REV_ID: d41a19cb58afb69843d7450d884d1e69b585fcfa
2024-02-27 10:36:02 +00:00
paritosh-08
5c9033a66a
add health endpoint ( #326 )
...
V3_GIT_ORIGIN_REV_ID: c2868238d43045e65b30df4dff4bc909a4999a17
2024-02-27 09:15:29 +00:00
David Overton
64bb9c873d
Nested selections ( #255 )
...
Co-authored-by: Abhinav Gupta <127770473+abhinav-hasura@users.noreply.github.com>
Co-authored-by: Brandon Martin <brandon@codedmart.com>
V3_GIT_ORIGIN_REV_ID: 4f4674c5bad551afa7ed718ae78c281b6f571a62
2024-02-23 19:11:10 +00:00
Abhinav Gupta
4f1276dac1
add a test for opendd object mapped to ndc scalar ( #324 )
...
V3_GIT_ORIGIN_REV_ID: 7972eda702c43c2a121c1333ae32c4252b1b44d2
2024-02-23 18:07:01 +00:00
Gil Mizrahi
8071b11194
fix relationship collection of filter and order by clauses ( #323 )
...
This fixes a bug with collection_relationships not being populated by relationships constructed from where and/or order by clauses.
We fix this by not only collecting relationships from field selection, but also considering relationships introduced by order by and where clauses.
V3_GIT_ORIGIN_REV_ID: c612ceed8b3831257ca2c7d23ec9ed23261efedf
2024-02-23 08:30:17 +00:00
paritosh-08
a351d3fa84
update ndc-spec to rc.18 ( #316 )
...
Co-authored-by: Daniel Chambers <daniel@hasura.io>
Co-authored-by: Abhinav Gupta <127770473+abhinav-hasura@users.noreply.github.com>
Co-authored-by: Abhinav Gupta <abhinav@hasura.io>
V3_GIT_ORIGIN_REV_ID: 0f36da2472c44a1e403bc2fa10ebbc377daeba0d
2024-02-21 12:23:41 +00:00
Abhinav Gupta
dfd2e940b1
Make schema field mandatory in ConnectorLink ( #315 )
...
V3_GIT_ORIGIN_REV_ID: 5d782bc8dec8630b5b63821b61ecec615f0ed47f
2024-02-05 23:11:45 +00:00
Abhinav Gupta
339cc34d06
[RFC] Boolean expression types in OpenDD ( #311 )
...
V3_GIT_ORIGIN_REV_ID: 73241ca9f4324d1978aaa1e64426fa1a642a3b1f
2024-02-05 22:01:02 +00:00
Abhinav Gupta
6581657f8b
Improve schema / capabilities structure in ConnectorLink ( #314 )
...
V3_GIT_ORIGIN_REV_ID: 4a5b5d1870637461c2c4b7d50da80cf0ca74847b
2024-02-05 21:14:53 +00:00
Abhinav Gupta
19259546a9
rename asc / desc enum values to PascalCase ( #310 )
...
V3_GIT_ORIGIN_REV_ID: 57bda06f5ebb4640410edf4d2756a3a588609fab
2024-02-02 01:15:09 +00:00
pranshi06
d595fb6cd0
remove colored package as a dependency ( #289 )
...
V3_GIT_ORIGIN_REV_ID: d08536edec330a9fd5df009fcb5ddbb466e7d585
2024-02-01 10:28:16 +00:00
Naveen Naidu
12ff4fcd9c
add all chinook tables to schema.json and fix doctests ( #308 )
...
V3_GIT_ORIGIN_REV_ID: c637690fae9debad793c17a5b9b4c55a8dfeb15d
2024-02-01 05:34:25 +00:00
Puru Gupta
c31844d383
Error fix for RelationshipTargetDoesNotSupportForEach ( #309 )
...
V3_GIT_ORIGIN_REV_ID: 1fb982ff3b84e6634d534d273823666e620ccc94
2024-01-31 13:39:38 +00:00
Puru Gupta
71b10cf2bf
changes for improved DX workflow ( #304 )
...
V3_GIT_ORIGIN_REV_ID: 28cc0ba50508778f1464ed90dbeb1ba94ab9170e
2024-01-31 12:51:52 +00:00
Karthikeyan Chinnakonda
f65d67bd10
Change order_by to accept a list ( #298 )
...
V3_GIT_ORIGIN_REV_ID: 603f6ae4ab8c6505a5484d6b71042b0a7e5aaa8c
2024-01-31 09:51:17 +00:00
Anon Ray
486249902a
add remote joins docs ( #303 )
...
V3_GIT_ORIGIN_REV_ID: f107422751293f1b3cd6d9eb00a19d58a3409a12
2024-01-31 07:38:57 +00:00
Brandon Simmons
6c83ec7985
lang-graphql: add parser tests ( #290 )
...
Co-authored-by: Abhinav Gupta <127770473+abhinav-hasura@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: d7b70a3cc70e6b9ead5867fd4b4fc56809878ebd
2024-01-30 17:42:44 +00:00
Samir Talwar
82df77cd8e
Remove SSH from Docker builds. ( #305 )
...
V3_GIT_ORIGIN_REV_ID: 832619b36c18ccdfbabacb44c4af4098bf296e2a
2024-01-30 13:03:51 +00:00
Naveen Naidu
56828db682
Metadata configuration for global field/type names ( #199 )
...
V3_GIT_ORIGIN_REV_ID: e1f756a53bbbce722032df4f9b44f33473a09a1f
2024-01-30 12:33:17 +00:00
pranshi06
5fce5c04f1
allow adding descriptions to schema ( #296 )
...
Co-authored-by: Karthikeyan C <karthikeyan@hasura.io>
V3_GIT_ORIGIN_REV_ID: 4128ea54439d4035a449060f90b763400616f1d3
2024-01-30 10:16:32 +00:00
paritosh-08
1de78b0aa1
redact ndc explain in tests ( #306 )
...
V3_GIT_ORIGIN_REV_ID: 25dce47edf92eb2c37af3865de42ddab354e7201
2024-01-30 09:18:30 +00:00
Anon Ray
bd19e2248b
gardening: fix formatting for rustdoc ( #302 )
...
Co-authored-by: paritosh-08 <85472423+paritosh-08@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: 02b2c7646c6cf1fcb10472a030abcb923a3f0bb4
2024-01-29 11:04:05 +00:00
Anon Ray
c71a4ccdd6
remove unused execution error types ( #300 )
...
V3_GIT_ORIGIN_REV_ID: 492940c66723b61fbb7af2a925e53d3f4b21e31e
2024-01-29 07:14:12 +00:00
paritosh-08
a0d30feab9
add ndc_explain to select node ( #285 )
...
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: e45510454fe299fb41690a8fb56bcdce7628cd67
2024-01-29 05:12:42 +00:00
Krushan Bauva
4bed94b01f
use short commit SHA as version and mark non-release builds as dev ( #295 )
...
V3_GIT_ORIGIN_REV_ID: 78475725003cd57790361caa8659c7a7146eacf2
2024-01-25 08:54:21 +00:00
Naveen Naidu
761c2a3b3a
add deserialization tests for resolved metadata ( #301 )
...
V3_GIT_ORIGIN_REV_ID: fde1d8f7d598758f434b09aaf922187a10761fd5
2024-01-24 08:04:42 +00:00
Naveen Naidu
2b8cbd0808
add deserialize_with for BTreeMap used in Relationship Annotation ( #299 )
...
V3_GIT_ORIGIN_REV_ID: e6ae398db7f9124a9fb4eb5ffa300b7dac82e03b
2024-01-24 05:58:40 +00:00
Naveen Naidu
d177c6ffdb
Implement relationships in boolean exp, order_by and predicates ( #254 )
...
V3_GIT_ORIGIN_REV_ID: bc0fb85552f141f7e887d61c15c5e455f87ac02a
2024-01-23 11:21:33 +00:00
Krushan Bauva
bd80f8d81a
send project-id as header to ndc for metrics ( #292 )
...
V3_GIT_ORIGIN_REV_ID: 723bd361f8e7d136a02f58873b5edcf5089acf03
2024-01-19 11:19:44 +00:00
Anon Ray
290bece338
gardening: move NDC IR generation code to query_plan ( #293 )
...
V3_GIT_ORIGIN_REV_ID: ed9ee0fc2343082ccadddcdf807b3aa59421b758
2024-01-17 06:02:12 +00:00
Puru Gupta
b48b668c3a
refactor: remove extraneous struct ResponseType ( #294 )
...
V3_GIT_ORIGIN_REV_ID: c9b2b272c785fee5ac8bb0903e1cff71ae12a39d
2024-01-16 07:50:01 +00:00
Puru Gupta
0c4d0e7341
use git commit sha as version in traces ( #287 )
...
V3_GIT_ORIGIN_REV_ID: 9f0ff932d432802ddb9b6688ba7c0b738e2af201
2024-01-09 07:14:03 +00:00
Karthikeyan Chinnakonda
7914ec0c38
Execute query root fields concurrently ( #268 )
...
Co-authored-by: Rakesh <12475069+rakeshkky@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: efacd7a9e9c7d1ae2621943ef8ac622213fd10bf
2024-01-08 10:42:08 +00:00
Puru Gupta
40fd49dad4
IR generation for remote type to command relationship ( #266 )
...
Co-authored-by: Anon Ray <rayanon004@gmail.com>
V3_GIT_ORIGIN_REV_ID: 6301ff61bc6fe59e5a735a52a501911d3e471cad
2024-01-08 10:41:59 +00:00
paritosh-08
9485d781b8
Forward NDC errors with status code 422 ( #279 )
...
V3_GIT_ORIGIN_REV_ID: f0468d4820d98d871a23caa56f5a1cdc91f5d287
2024-01-08 10:41:50 +00:00
paritosh-08
ff846d4916
update ndc-spec dependency to v0.1.0-rc.13 ( #275 )
...
V3_GIT_ORIGIN_REV_ID: 8dcb1c45b28e060d60eb76f15653d3eba737314e
2024-01-08 10:41:41 +00:00
paritosh-08
e12888f0e7
add /v1/explain
endpoint ( #252 )
...
Co-authored-by: Anon Ray <ecthiender@users.noreply.github.com>
V3_GIT_ORIGIN_REV_ID: 22630e7b4af8f3a535a6017fcaa7d70d581d3ae3
2024-01-08 10:41:31 +00:00
Anon Ray
6d556f68dd
fix: wrong return on empty rows in remote relationships ( #267 )
...
V3_GIT_ORIGIN_REV_ID: 9eba8544b8401563b27c83f87e35b8448922b2f2
2024-01-08 10:41:22 +00:00