Skip to content

Commit

Permalink
Merge branch 'main' into mockall
Browse files Browse the repository at this point in the history
  • Loading branch information
jiayihu committed Jan 20, 2021
2 parents 1b82dcb + 648e6a2 commit 9c1eef7
Show file tree
Hide file tree
Showing 9 changed files with 854 additions and 693 deletions.
1,521 changes: 841 additions & 680 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Patch to allow invalid authority headers provided by grpc-go / kubelet
# Issue to track: https://github.com/grpc/grpc-go/issues/2628
[patch.crates-io]
h2 = { git = "https://github.com/kate-goldenring/h2", branch = "master"}
h2 = { git = "https://github.com/kate-goldenring/h2", branch = "master" }

[workspace]
members = [
Expand Down
5 changes: 3 additions & 2 deletions agent/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "agent"
version = "0.1.10"
version = "0.1.11"
authors = ["Kate Goldenring <kate.goldenring@microsoft.com>", "<bfjelds@microsoft.com>"]
edition = "2018"

Expand All @@ -18,7 +18,8 @@ futures = { version = "0.3.1", package = "futures" }
futures-core = "0.3"
futures-util = "0.3"
futures-old = { version = "0.1", package = "futures" }
hyper = "0.11"
hyper = "0.12.34"
h2 = "=0.2.6"
kube = { version = "0.23.0", features = ["openapi"] }
k8s-openapi = { version = "0.6.0", features = ["v1_16"] }
lazy_static = "1.4"
Expand Down
2 changes: 1 addition & 1 deletion controller/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "controller"
version = "0.1.10"
version = "0.1.11"
authors = ["<bfjelds@microsoft.com>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions deployment/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.10
version: 0.1.11

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 0.1.10
appVersion: 0.1.11
2 changes: 1 addition & 1 deletion samples/brokers/udev-video-broker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "udev-video-broker"
version = "0.1.10"
version = "0.1.11"
authors = ["Kate Goldenring <kate.goldenring@microsoft.com>", "<bfjelds@microsoft.com>"]
edition = "2018"

Expand Down
5 changes: 2 additions & 3 deletions shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "akri-shared"
version = "0.1.10"
version = "0.1.11"
authors = ["<bfjelds@microsoft.com>"]
edition = "2018"

Expand All @@ -15,8 +15,7 @@ futures = "0.3.1"
futures-old = { version = "0.1", package = "futures" }
futures-util = "0.3"
env_logger = "0.6.1"
hyper = "0.11"
hyper-async = { version = "0.13.5", package = "hyper" }
hyper = { version = "0.13.5", package = "hyper" }
kube = { version = "0.23.0", features = ["openapi"] }
k8s-openapi = { version = "0.6.0", features = ["v1_16"] }
log = "0.4"
Expand Down
4 changes: 2 additions & 2 deletions shared/src/onvif/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pub mod device_info {
use async_trait::async_trait;
use futures_util::stream::TryStreamExt;
use hyper_async::Request;
use hyper::Request;
use log::trace;
use mockall::{automock, predicate::*};
use std::io::{Error, ErrorKind};
Expand Down Expand Up @@ -139,7 +139,7 @@ pub mod device_info {
.header("CONTENT-TYPE", full_mime)
.body(msg.to_string().into())
.expect("infallible");
let response = hyper_async::Client::new().request(request).await.unwrap();
let response = hyper::Client::new().request(request).await.unwrap();
if response.status() != 200 {
return Err(anyhow::format_err!("failure"));
}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.10
0.1.11

0 comments on commit 9c1eef7

Please sign in to comment.