feat/discover_inventory #127

Merged
letian merged 8 commits from feat/discover_inventory into refact/harmony_types 2025-08-31 22:45:09 +00:00
19 changed files with 440 additions and 304 deletions
Showing only changes of commit 57c098a6d8 - Show all commits

View File

@@ -1,6 +1,3 @@
use std::sync::Arc;
use tokio::time::Duration;
use async_trait::async_trait;
use harmony_inventory_agent::local_presence::DiscoveryEvent;
use log::{debug, info, trace};
@@ -68,10 +65,8 @@ impl<T: Topology> Interpret<T> for DiscoverInventoryAgentInterpret {
let address = address.to_string();
let port = service.get_port();
info!("Getting host inventory on service at {address} port {port}");
tokio::task::spawn(async move {
info!("Getting inventory for host {address} {port}");
info!("Getting inventory for host {address} at port {port}");
let host =
harmony_inventory_agent::client::get_host_inventory(&address, port)
.await