Skip to content

Commit

Permalink
changes due to new package for auditor-client
Browse files Browse the repository at this point in the history
  • Loading branch information
dirksammel committed May 13, 2024
1 parent 38ed4ea commit b44a3c1
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 9 deletions.
27 changes: 23 additions & 4 deletions auditor-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,45 @@
[package]
name = "auditor-client"
version = "0.5.0"
authors = ["Stefan Kroboth <[email protected]>"]
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Client for AUDITOR"
documentation = "https://docs.rs/auditor/"
homepage = "https://alu-schumacher.github.io/AUDITOR/"
repository = "https://github.com/alu-schumacher/AUDITOR"
readme = "../README.md"
keywords = ["accounting", "opportunistic", "grid-computing", "batch-systems"]
exclude = [
".cargo",
".dockerignore",
".git",
".gitattributes",
".github",
".gitignore",
".pytest_cache",
"target",
"nohup.out"
]

[lib]
path = "src/lib.rs"

[dependencies]
auditor = { path = "../auditor", version = "0.5.0", default-features = false }
chrono = { version = "0.4.31", default-features = false, features = ["serde"] }
chrono = { version = "0.4.38", default-features = false, features = ["serde"] }
reqwest = { version = "0.12.4", default-features = false, features = ["json", "rustls-tls", "blocking"] }
urlencoding = "2.1.3"
tracing = { version = "0.1", features = ["log"] }
thiserror = "1"
tokio = { version = "1", features = ["time"] }
#color-eyre = "0.6.2"
serde = { version = "1", features = ["derive"] }
serde_qs = { version = "0.13.0", features = ["actix4"] }
anyhow = "1.0.0"
bincode = "1.3.3"

[dependencies.sqlx]
version = "0.7.2"
version = "0.7.4"
default-features = false
features = [
"runtime-tokio-rustls",
Expand All @@ -31,7 +51,6 @@ features = [
]

[dev-dependencies]
#auditor = { path = "../auditor", version = "0.4.0" }
claim = { package = "claims", version = "0.7" }
wiremock = "0.6"
fake = { version = "2.9", features = ["chrono"] }
Expand Down
3 changes: 1 addition & 2 deletions auditor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ features = [
]

[dev-dependencies]
auditor-client = { path = "../auditor-client" }
auditor-client = { path = "../auditor-client", version = "0.5.0" }
once_cell = "1"
# claim = "0.5"
claim = { package = "claims", version = "0.7" }
quickcheck = "1"
quickcheck_macros = "1"
Expand Down
4 changes: 4 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ component_management:
name: auditor
paths:
- auditor/**
- component_id: module_auditor_client
name: auditor_client
paths:
- auditor-client/**
- component_id: module_slurm_collector
name: slurm_collector
paths:
Expand Down
2 changes: 1 addition & 1 deletion collectors/slurm-epilog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ strip = true

[dependencies]
auditor = { path = "../../auditor", version = "0.5.0" }
auditor-client = { path = "../../auditor-client" }
auditor-client = { path = "../../auditor-client", version = "0.5.0" }
chrono = { version = "0.4.38", default-features = false, features = ["serde"] }
anyhow = "1"
regex = "1"
Expand Down
2 changes: 1 addition & 1 deletion collectors/slurm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ strip = true
[dependencies]
anyhow = "1"
auditor = { path = "../../auditor", version = "0.5.0", default-features = false }
auditor-client = { path = "../../auditor-client" }
auditor-client = { path = "../../auditor-client", version = "0.5.0" }
bincode = "1.3.3"
color-eyre = "0.6.3"
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time", "process"] }
Expand Down
2 changes: 1 addition & 1 deletion plugins/priority/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ strip = true

[dependencies]
auditor = { path = "../../auditor", version = "0.5.0" }
auditor-client = { path = "../../auditor-client" }
auditor-client = { path = "../../auditor-client", version = "0.5.0" }
actix-web = "4.5.1"
config = "0.13"
tracing = { version = "0.1", features = ["log"] }
Expand Down

0 comments on commit b44a3c1

Please sign in to comment.