From a5dd3e1453fe457c8ea207d479438bf91eba35f5 Mon Sep 17 00:00:00 2001 From: Tom Harding Date: Thu, 15 Feb 2024 15:22:19 +0100 Subject: [PATCH] update ndc-spec from 0.1.0-rc.14 to 0.1.0-rc.15 --- Cargo.lock | 4 ++-- rust-connector-sdk/Cargo.toml | 4 ++-- rust-connector-sdk/src/default_main/v2_compat.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0ccd8284..f3c6a4e0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1049,7 +1049,7 @@ dependencies = [ [[package]] name = "ndc-client" version = "0.1.0" -source = "git+http://github.com/hasura/ndc-spec.git?tag=v0.1.0-rc.14#cd24992ea77010e1ef2dff18f7d5656fb0546f3b" +source = "git+http://github.com/hasura/ndc-spec.git?tag=v0.1.0-rc.15#7e10c73d19d03627b96cc666eadcd35f784517e0" dependencies = [ "async-trait", "indexmap 2.1.0", @@ -1104,7 +1104,7 @@ dependencies = [ [[package]] name = "ndc-test" version = "0.1.0" -source = "git+http://github.com/hasura/ndc-spec.git?tag=v0.1.0-rc.14#cd24992ea77010e1ef2dff18f7d5656fb0546f3b" +source = "git+http://github.com/hasura/ndc-spec.git?tag=v0.1.0-rc.15#7e10c73d19d03627b96cc666eadcd35f784517e0" dependencies = [ "async-trait", "clap", diff --git a/rust-connector-sdk/Cargo.toml b/rust-connector-sdk/Cargo.toml index 7763a8b5..290c5c48 100644 --- a/rust-connector-sdk/Cargo.toml +++ b/rust-connector-sdk/Cargo.toml @@ -13,8 +13,8 @@ path = "bin/main.rs" [dependencies] gdc_rust_types = { git = "https://github.com/hasura/gdc_rust_types.git", rev = "3273434" } -ndc-client = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.14" } -ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.14" } +ndc-client = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.15" } +ndc-test = { git = "http://github.com/hasura/ndc-spec.git", tag = "v0.1.0-rc.15" } async-trait = "^0.1.74" axum = "^0.6.20" diff --git a/rust-connector-sdk/src/default_main/v2_compat.rs b/rust-connector-sdk/src/default_main/v2_compat.rs index 88a8f1d0..4ec1e627 100644 --- a/rust-connector-sdk/src/default_main/v2_compat.rs +++ b/rust-connector-sdk/src/default_main/v2_compat.rs @@ -22,7 +22,7 @@ use crate::json_response::JsonResponse; pub async fn get_health() -> impl IntoResponse { // todo: if source_name and config provided, check if that specific source is healthy - StatusCode::NO_CONTENT + StatusCode::OK } pub async fn get_capabilities(