Files
greptimedb/tests-integration/Cargo.toml
shuiyisong 7f51141ed0 refactor: auth crate (#2148)
* chore: move user_info to auth crate

* chore: temp commit before resolving tests compile error

* chore: fix compile issue

* chore: minor fix

* chore: tmp save

* chore: change user_info to trait

* chore: minor change & use auth result user info in pg session setup

* chore: add as_any to user_info

* chore: rename user_info

* chore: remove ice file

* chore: add permission checker

* chore: add grpc permission check

* chore: add session spawn user_info to query_ctx

* chore: minor update

* chore: add permission checker to sql handler & temp save

* chore: add permission checker to prometheus handler

* chore: add permission checker to opentsdb handler

* chore: add permission checker to other handlers

* chore: add test

* chore: add user_info setting on http entrance

* chore: fix toml

* chore: remove box in permission req

* chore: cr issue

* chore: cr issue
2023-08-14 02:51:26 +00:00

76 lines
2.0 KiB
TOML

[package]
name = "tests-integration"
version.workspace = true
edition.workspace = true
license.workspace = true
[features]
dashboard = []
[dependencies]
api = { workspace = true }
async-trait = "0.1"
auth.workspace = true
axum = "0.6"
axum-test-helper = { git = "https://github.com/sunng87/axum-test-helper.git", branch = "patch-1" }
catalog = { workspace = true }
chrono.workspace = true
client = { workspace = true, features = ["testing"] }
common-base = { workspace = true }
common-catalog = { workspace = true }
common-error = { workspace = true }
common-grpc = { workspace = true }
common-meta = { workspace = true }
common-query = { workspace = true }
common-recordbatch = { workspace = true }
common-runtime = { workspace = true }
common-telemetry = { workspace = true }
common-test-util = { workspace = true }
datanode = { workspace = true, features = ["testing"] }
datatypes = { workspace = true }
dotenv = "0.15"
frontend = { workspace = true, features = ["testing"] }
futures.workspace = true
meta-client = { workspace = true }
meta-srv = { workspace = true }
mito = { workspace = true, features = ["test"] }
object-store = { workspace = true }
once_cell.workspace = true
query = { workspace = true }
rand.workspace = true
rstest = "0.17"
rstest_reuse = "0.5"
secrecy = "0.8"
serde.workspace = true
serde_json = "1.0"
servers = { workspace = true }
session = { workspace = true }
snafu.workspace = true
sql = { workspace = true }
sqlx = { version = "0.6", features = [
"runtime-tokio-rustls",
"mysql",
"postgres",
"chrono",
] }
table = { workspace = true }
tempfile.workspace = true
tokio.workspace = true
tonic.workspace = true
tower = "0.4"
uuid.workspace = true
[dev-dependencies]
common-procedure = { workspace = true }
datafusion-expr.workspace = true
datafusion.workspace = true
itertools.workspace = true
opentelemetry-proto.workspace = true
partition = { workspace = true }
paste.workspace = true
prost.workspace = true
script = { workspace = true }
session = { workspace = true, features = ["testing"] }
store-api = { workspace = true }
tokio-postgres = "0.7"