diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e7be839..3ea000c5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.42.0] - 2024-11-12 +### Changed +- Upgrade kamu-cli version to `0.207.0` + ## [0.41.3] - 2024-10-30 ### Changed - Upgrade kamu-cli version to `0.206.5` diff --git a/Cargo.lock b/Cargo.lock index f066d069..462e0624 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2423,8 +2423,8 @@ checksum = "7c74b8349d32d297c9134b8c88677813a227df8f779daa29bfc29c183fe3dca6" [[package]] name = "container-runtime" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "cfg-if", @@ -2718,8 +2718,8 @@ checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2" [[package]] name = "database-common" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "aws-config", @@ -2743,8 +2743,8 @@ dependencies = [ [[package]] name = "database-common-macros" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "quote", "syn 2.0.85", @@ -3528,8 +3528,8 @@ dependencies = [ [[package]] name = "enum-variants" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" [[package]] name = "env_filter" @@ -3594,8 +3594,8 @@ dependencies = [ [[package]] name = "event-sourcing" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -3609,8 +3609,8 @@ dependencies = [ [[package]] name = "event-sourcing-macros" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "quote", "syn 2.0.85", @@ -4263,8 +4263,8 @@ dependencies = [ [[package]] name = "http-common" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "axum", "http 1.1.0", @@ -4273,6 +4273,7 @@ dependencies = [ "serde", "thiserror", "tracing", + "utoipa", ] [[package]] @@ -4516,8 +4517,8 @@ checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" [[package]] name = "init-on-startup" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "database-common", @@ -4563,8 +4564,8 @@ checksum = "8bb03732005da905c88227371639bf1ad885cc712789c011c31c5fb3ab3ccf02" [[package]] name = "internal-error" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "thiserror", ] @@ -4690,8 +4691,8 @@ dependencies = [ [[package]] name = "kamu" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "alloy", "async-recursion", @@ -4730,6 +4731,7 @@ dependencies = [ "kamu-data-utils", "kamu-datasets", "kamu-ingest-datafusion", + "lazy_static", "libc", "like", "messaging-outbox", @@ -4768,8 +4770,8 @@ dependencies = [ [[package]] name = "kamu-accounts" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "base32", @@ -4795,8 +4797,8 @@ dependencies = [ [[package]] name = "kamu-accounts-inmem" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -4812,8 +4814,8 @@ dependencies = [ [[package]] name = "kamu-accounts-postgres" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -4830,8 +4832,8 @@ dependencies = [ [[package]] name = "kamu-accounts-services" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "argon2", "async-trait", @@ -4856,8 +4858,8 @@ dependencies = [ [[package]] name = "kamu-accounts-sqlite" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -4874,8 +4876,8 @@ dependencies = [ [[package]] name = "kamu-adapter-auth-oso" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "dill", @@ -4891,8 +4893,8 @@ dependencies = [ [[package]] name = "kamu-adapter-flight-sql" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "arrow-flight", "async-trait", @@ -4909,8 +4911,8 @@ dependencies = [ [[package]] name = "kamu-adapter-graphql" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-graphql", "async-trait", @@ -4944,8 +4946,8 @@ dependencies = [ [[package]] name = "kamu-adapter-http" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "aws-sdk-s3", @@ -4994,8 +4996,8 @@ dependencies = [ [[package]] name = "kamu-adapter-oauth" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5012,8 +5014,8 @@ dependencies = [ [[package]] name = "kamu-adapter-odata" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "axum", "chrono", @@ -5129,8 +5131,8 @@ dependencies = [ [[package]] name = "kamu-auth-rebac" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "internal-error", @@ -5142,8 +5144,8 @@ dependencies = [ [[package]] name = "kamu-auth-rebac-inmem" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "dill", @@ -5153,8 +5155,8 @@ dependencies = [ [[package]] name = "kamu-auth-rebac-postgres" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "database-common", @@ -5167,8 +5169,8 @@ dependencies = [ [[package]] name = "kamu-auth-rebac-services" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "dill", @@ -5183,8 +5185,8 @@ dependencies = [ [[package]] name = "kamu-auth-rebac-sqlite" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "database-common", @@ -5197,8 +5199,8 @@ dependencies = [ [[package]] name = "kamu-core" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5228,8 +5230,8 @@ dependencies = [ [[package]] name = "kamu-data-utils" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "arrow", "arrow-digest", @@ -5250,8 +5252,8 @@ dependencies = [ [[package]] name = "kamu-datasets" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "aes-gcm", "async-trait", @@ -5270,8 +5272,8 @@ dependencies = [ [[package]] name = "kamu-datasets-inmem" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5289,8 +5291,8 @@ dependencies = [ [[package]] name = "kamu-datasets-postgres" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5308,8 +5310,8 @@ dependencies = [ [[package]] name = "kamu-datasets-services" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5335,8 +5337,8 @@ dependencies = [ [[package]] name = "kamu-datasets-sqlite" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5354,8 +5356,8 @@ dependencies = [ [[package]] name = "kamu-flow-system" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5383,8 +5385,8 @@ dependencies = [ [[package]] name = "kamu-flow-system-inmem" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5407,8 +5409,8 @@ dependencies = [ [[package]] name = "kamu-flow-system-postgres" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5426,8 +5428,8 @@ dependencies = [ [[package]] name = "kamu-flow-system-services" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5458,8 +5460,8 @@ dependencies = [ [[package]] name = "kamu-flow-system-sqlite" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5477,8 +5479,8 @@ dependencies = [ [[package]] name = "kamu-ingest-datafusion" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5506,8 +5508,8 @@ dependencies = [ [[package]] name = "kamu-messaging-outbox-inmem" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5522,8 +5524,8 @@ dependencies = [ [[package]] name = "kamu-messaging-outbox-postgres" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5541,8 +5543,8 @@ dependencies = [ [[package]] name = "kamu-messaging-outbox-sqlite" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5607,8 +5609,8 @@ dependencies = [ [[package]] name = "kamu-task-system" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5626,8 +5628,8 @@ dependencies = [ [[package]] name = "kamu-task-system-inmem" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -5640,8 +5642,8 @@ dependencies = [ [[package]] name = "kamu-task-system-postgres" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5658,8 +5660,8 @@ dependencies = [ [[package]] name = "kamu-task-system-services" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -5683,8 +5685,8 @@ dependencies = [ [[package]] name = "kamu-task-system-sqlite" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-stream", "async-trait", @@ -6072,8 +6074,8 @@ dependencies = [ [[package]] name = "messaging-outbox" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", @@ -6184,8 +6186,8 @@ dependencies = [ [[package]] name = "multiformats" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "base64 0.22.1", "bs58", @@ -6402,8 +6404,8 @@ dependencies = [ [[package]] name = "observability" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "axum", @@ -6452,8 +6454,8 @@ checksum = "c08d65885ee38876c4f86fa503fb49d7b507c2b62552df7c70b2fce627e06381" [[package]] name = "opendatafabric" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "arrow", "base64 0.22.1", @@ -7384,8 +7386,8 @@ dependencies = [ [[package]] name = "random-names" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "rand", ] @@ -8877,8 +8879,8 @@ dependencies = [ [[package]] name = "time-source" -version = "0.206.5" -source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.206.5#8019fe6fb30fccfc87fe8fa8a4108586105bf66c" +version = "0.207.0" +source = "git+https://github.com/kamu-data/kamu-cli?tag=v0.207.0#9753709fd1c45ba086debdd285d5cd53bfaf01ab" dependencies = [ "async-trait", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 983f0098..5c31a3a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,53 +14,53 @@ resolver = "2" # Utils graceful-shutdown = { path = "src/utils/graceful-shutdown", version = "0.41.3", default-features = false } # Utils (core) -container-runtime = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -database-common = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -database-common-macros = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -http-common = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -init-on-startup = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -internal-error = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -messaging-outbox = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -observability = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -random-names = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -time-source = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } +container-runtime = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +database-common = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +database-common-macros = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +http-common = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +init-on-startup = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +internal-error = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +messaging-outbox = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +observability = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +random-names = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +time-source = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } # Domain -opendatafabric = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-task-system = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-task-system-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-flow-system = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-flow-system-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-accounts = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-datasets = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } +opendatafabric = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-task-system = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-task-system-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-flow-system = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-flow-system-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-accounts = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-datasets = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } # Infra -kamu = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-accounts-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-accounts-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-accounts-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-accounts-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-adapter-auth-oso = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-adapter-flight-sql = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-adapter-graphql = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-adapter-http = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-adapter-oauth = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-adapter-odata = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-auth-rebac-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-auth-rebac-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-auth-rebac-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-auth-rebac-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-datasets-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-datasets-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-datasets-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-datasets-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-flow-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-flow-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-flow-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-messaging-outbox-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-messaging-outbox-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-messaging-outbox-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-task-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-task-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } -kamu-task-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.206.5", version = "0.206.5", default-features = false } +kamu = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-accounts-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-accounts-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-accounts-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-accounts-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-adapter-auth-oso = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-adapter-flight-sql = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-adapter-graphql = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-adapter-http = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-adapter-oauth = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-adapter-odata = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-auth-rebac-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-auth-rebac-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-auth-rebac-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-auth-rebac-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-datasets-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-datasets-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-datasets-services = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-datasets-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-flow-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-flow-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-flow-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-messaging-outbox-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-messaging-outbox-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-messaging-outbox-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-task-system-inmem = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-task-system-postgres = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } +kamu-task-system-sqlite = { git = "https://github.com/kamu-data/kamu-cli", tag = "v0.207.0", version = "0.207.0", default-features = false } [workspace.package] diff --git a/resources/openapi-mt.json b/resources/openapi-mt.json index 6aa34ab0..1767d69c 100644 --- a/resources/openapi-mt.json +++ b/resources/openapi-mt.json @@ -16,6 +16,17 @@ ], "type": "object" }, + "ApiErrorResponse": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, "Commitment": { "additionalProperties": false, "properties": { @@ -165,7 +176,7 @@ }, "dataFormat": { "$ref": "#/components/schemas/DataFormat", - "description": "How data is layed out in the response" + "description": "How data is laid out in the response" }, "schema": { "oneOf": [ @@ -319,6 +330,17 @@ ], "type": "object" }, + "LoginResponseBody": { + "properties": { + "accessToken": { + "type": "string" + } + }, + "required": [ + "accessToken" + ], + "type": "object" + }, "NodeInfoResponse": { "properties": { "isMultiTenant": { @@ -406,7 +428,7 @@ }, "dataFormat": { "$ref": "#/components/schemas/DataFormat", - "description": "How data is layed out in the response" + "description": "How data is laid out in the response" }, "schema": { "oneOf": [ @@ -471,7 +493,7 @@ "properties": { "dataFormat": { "$ref": "#/components/schemas/DataFormat", - "description": "How data should be layed out in the response" + "description": "How data should be laid out in the response" }, "datasets": { "description": "Optional information used to affix an alias to the specific\n[`odf::DatasetID`] and reproduce the query at a specific state in time", @@ -608,7 +630,7 @@ }, "SubQuery": { "additionalProperties": false, - "description": "Mirrors the structure of [`ResponseBody`] without the `outputs`", + "description": "Mirrors the structure of [`QueryRequest`] without the `outputs`", "properties": { "commitment": { "$ref": "#/components/schemas/Commitment", @@ -772,7 +794,7 @@ "properties": { "commitment": { "$ref": "#/components/schemas/Commitment", - "description": "Commitment createad by the original operation" + "description": "Commitment created by the original operation" }, "input": { "$ref": "#/components/schemas/QueryRequest", @@ -807,7 +829,7 @@ }, { "$ref": "#/components/schemas/ValidationError", - "description": "Will contain error details if validation was unsuccessufl" + "description": "Will contain error details if validation was unsuccessful" } ] }, @@ -857,10 +879,19 @@ } }, "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" } }, "security": [ - {}, { "api_key": [] } @@ -892,10 +923,29 @@ } }, "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" } }, "security": [ - {}, { "api_key": [] } @@ -1189,7 +1239,27 @@ "content": { "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/LoginResponseBody" + } + } + }, + "description": "" + }, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" } } }, @@ -1218,10 +1288,19 @@ } }, "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" } }, "security": [ - {}, { "api_key": [] } @@ -1277,7 +1356,7 @@ } }, { - "description": "How the output data should be ecoded", + "description": "How the output data should be encoded", "in": "path", "name": "dataFormat", "required": true, @@ -1402,7 +1481,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VerifyResponse" + "$ref": "#/components/schemas/ApiErrorResponse" } } }, @@ -1868,7 +1947,7 @@ } }, { - "description": "How the output data should be ecoded", + "description": "How the output data should be encoded", "in": "path", "name": "dataFormat", "required": true, diff --git a/resources/openapi.json b/resources/openapi.json index 69c539d7..93884a6d 100644 --- a/resources/openapi.json +++ b/resources/openapi.json @@ -16,6 +16,17 @@ ], "type": "object" }, + "ApiErrorResponse": { + "properties": { + "message": { + "type": "string" + } + }, + "required": [ + "message" + ], + "type": "object" + }, "Commitment": { "additionalProperties": false, "properties": { @@ -165,7 +176,7 @@ }, "dataFormat": { "$ref": "#/components/schemas/DataFormat", - "description": "How data is layed out in the response" + "description": "How data is laid out in the response" }, "schema": { "oneOf": [ @@ -319,6 +330,17 @@ ], "type": "object" }, + "LoginResponseBody": { + "properties": { + "accessToken": { + "type": "string" + } + }, + "required": [ + "accessToken" + ], + "type": "object" + }, "NodeInfoResponse": { "properties": { "isMultiTenant": { @@ -406,7 +428,7 @@ }, "dataFormat": { "$ref": "#/components/schemas/DataFormat", - "description": "How data is layed out in the response" + "description": "How data is laid out in the response" }, "schema": { "oneOf": [ @@ -471,7 +493,7 @@ "properties": { "dataFormat": { "$ref": "#/components/schemas/DataFormat", - "description": "How data should be layed out in the response" + "description": "How data should be laid out in the response" }, "datasets": { "description": "Optional information used to affix an alias to the specific\n[`odf::DatasetID`] and reproduce the query at a specific state in time", @@ -608,7 +630,7 @@ }, "SubQuery": { "additionalProperties": false, - "description": "Mirrors the structure of [`ResponseBody`] without the `outputs`", + "description": "Mirrors the structure of [`QueryRequest`] without the `outputs`", "properties": { "commitment": { "$ref": "#/components/schemas/Commitment", @@ -772,7 +794,7 @@ "properties": { "commitment": { "$ref": "#/components/schemas/Commitment", - "description": "Commitment createad by the original operation" + "description": "Commitment created by the original operation" }, "input": { "$ref": "#/components/schemas/QueryRequest", @@ -807,7 +829,7 @@ }, { "$ref": "#/components/schemas/ValidationError", - "description": "Will contain error details if validation was unsuccessufl" + "description": "Will contain error details if validation was unsuccessful" } ] }, @@ -857,10 +879,19 @@ } }, "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" } }, "security": [ - {}, { "api_key": [] } @@ -892,10 +923,29 @@ } }, "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" + }, + "404": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" } }, "security": [ - {}, { "api_key": [] } @@ -1167,7 +1217,27 @@ "content": { "application/json": { "schema": { - "type": "object" + "$ref": "#/components/schemas/LoginResponseBody" + } + } + }, + "description": "" + }, + "400": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" } } }, @@ -1196,10 +1266,19 @@ } }, "description": "" + }, + "401": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ApiErrorResponse" + } + } + }, + "description": "" } }, "security": [ - {}, { "api_key": [] } @@ -1255,7 +1334,7 @@ } }, { - "description": "How the output data should be ecoded", + "description": "How the output data should be encoded", "in": "path", "name": "dataFormat", "required": true, @@ -1380,7 +1459,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VerifyResponse" + "$ref": "#/components/schemas/ApiErrorResponse" } } }, @@ -1846,7 +1925,7 @@ } }, { - "description": "How the output data should be ecoded", + "description": "How the output data should be encoded", "in": "path", "name": "dataFormat", "required": true, diff --git a/resources/schema.gql b/resources/schema.gql index 194dd2f4..062c6ef9 100644 --- a/resources/schema.gql +++ b/resources/schema.gql @@ -377,6 +377,7 @@ enum DataQueryResultErrorKind { type DataQueryResultSuccess { schema: DataSchema data: DataBatch! + datasets: [DatasetState!] limit: Int! } @@ -699,6 +700,22 @@ type DatasetPermissions { scalar DatasetRef +type DatasetState { + """ + Globally unique identity of the dataset + """ + id: DatasetID! + """ + Alias to be used in the query + """ + alias: String! + """ + Last block hash of the input datasets that was or should be considered + during the query planning + """ + blockHash: Multihash +} + enum DatasetVisibility { PRIVATE PUBLIC