influxdb/router/Cargo.toml

68 lines
2.2 KiB
TOML
Raw Normal View History

[package]
2022-05-06 18:51:52 +00:00
name = "router"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
async-trait = "0.1"
authz = { path = "../authz", features = ["http"] }
feat(idpe-17265): cst write authorization (#7527) * feat(idpe-17265): authorization should occur as part of the single_tenant specific mod * authz service is accessed only through the single_tenant mod handler * authz service is wrapped in auth mod * move auth integration test into auth mod * push down the authorize() call into the query params parser call, in order to access query params in the extract_token * provide configuration error when authz or single_tenant mode are not co-presented * update authz e2e fixtures * feat(idpe-17265): extract tokens based upon preferred ordering in spec, and write tests to verify behavior. * chore(idpe-17265): update naming conventions for a unifying parser * test: make MockAuthorizer have default, and add a test_delegate_to_authz for CST * chore: record authz duration metric, and include in delegation test. * chore: use authz terminology instead of auth_service * chore: more explicit naming * Revert "chore: record authz duration metric, and include in delegation test." This reverts commit 05c36888ca7247b6953343d759a5185098fae679. * refactor: extract_header_token versus the else condition * refactor: make single_tenant mod and move auth within * chore: make unreachable explicitly panic in the build * test: make token values be const, to be consumed when MockAuthorizer is used * test: use locking for calls_counter in test * fix: add base64 encoding as expected for Basic header * fix: merge conflict resolution. The AuthorizationHeaderExtension is now under the authz::http mod, which is a required feature for router package. * chore: run rustfmt nightly with preferred import handling, on files with modified imports * chore: code cleanup, to have minimal code needed
2023-04-19 15:28:10 +00:00
base64 = "0.21.0"
bytes = "1.4"
2023-02-10 16:40:24 +00:00
crossbeam-utils = "0.8.15"
2022-05-05 19:29:24 +00:00
data_types = { path = "../data_types" }
dml = { path = "../dml" }
flate2 = "1.0"
futures = "0.3.28"
generated_types = { path = "../generated_types" }
hashbrown = { workspace = true }
hyper = "0.14"
iox_catalog = { path = "../iox_catalog" }
2022-05-05 19:29:24 +00:00
iox_time = { path = "../iox_time" }
metric = { path = "../metric" }
mutable_batch = { path = "../mutable_batch" }
mutable_batch_lp = { path = "../mutable_batch_lp" }
mutable_batch_pb = { version = "0.1.0", path = "../mutable_batch_pb" }
object_store = "0.5.6"
observability_deps = { path = "../observability_deps" }
parking_lot = "0.12"
schema = { version = "0.1.0", path = "../schema" }
serde = "1.0"
serde_json = "1.0.96"
serde_urlencoded = "0.7"
service_grpc_catalog = { path = "../service_grpc_catalog"}
service_grpc_namespace = { path = "../service_grpc_namespace"}
service_grpc_object_store = { path = "../service_grpc_object_store" }
2023-02-10 16:40:24 +00:00
service_grpc_schema = { path = "../service_grpc_schema" }
2022-06-09 19:10:16 +00:00
sharder = { path = "../sharder" }
2023-02-10 16:40:24 +00:00
smallvec = "1.10.0"
thiserror = "1.0"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "time"] }
tonic = { workspace = true }
trace = { path = "../trace/" }
2023-02-24 18:02:23 +00:00
workspace-hack = { version = "0.1", path = "../workspace-hack" }
[dev-dependencies]
assert_matches = "1.5"
criterion = { version = "0.4", default-features = false, features = ["async_tokio", "rayon"]}
influxdb-line-protocol = { path = "../influxdb_line_protocol" }
iox_tests = { path = "../iox_tests" }
once_cell = "1"
paste = "1.0.12"
pretty_assertions = "1.3.0"
proptest = "1.1.0"
rand = "0.8.3"
test_helpers = { version = "0.1.0", path = "../test_helpers", features = ["future_timeout"] }
tokio = { version = "1", features = ["test-util"] }
tokio-stream = { version = "0.1.13", default_features = false, features = [] }
[lib]
# Allow --save-baseline to work
# https://github.com/bheisler/criterion.rs/issues/275
bench = false
[[bench]]
name = "schema_validator"
harness = false