📝 Task Description
Add statemanager with asynchronous operation ready.
Implement background task in NodeAgentManager to periodically gather container info using inspect().
Send current container list to the monitoring server via gRPC.
Detect changes in container list and, if changed, send updated list to the state manager via gRPC.
Log container list changes and errors during gRPC communication.
📋 Checklist
validating full build error.
testing statemanger, monitoringserver, nodeagent
🔗 Related Requirements
Related to #195
📐 Implementation Guidelines
Use existing test frameworks for Rust (e.g., tokio::test, cargo test)
Create reusable utilities for common testing scenarios
🧪 Testing Method
Make sure podman.socket service to be run
Run statemanager and monitoringserver first, and run nodeagent second.
Look at the statemanager's log and monitoringserver's log and find the current container info.
Check whether the container info is sent only when the container info is changed.
📝 Task Description
Add statemanager with asynchronous operation ready.
Implement background task in NodeAgentManager to periodically gather container info using inspect().
Send current container list to the monitoring server via gRPC.
Detect changes in container list and, if changed, send updated list to the state manager via gRPC.
Log container list changes and errors during gRPC communication.
📋 Checklist
validating full build error.
testing statemanger, monitoringserver, nodeagent
🔗 Related Requirements
Related to #195
📐 Implementation Guidelines
Use existing test frameworks for Rust (e.g., tokio::test, cargo test)
Create reusable utilities for common testing scenarios
🧪 Testing Method
Make sure podman.socket service to be run
Run statemanager and monitoringserver first, and run nodeagent second.
Look at the statemanager's log and monitoringserver's log and find the current container info.
Check whether the container info is sent only when the container info is changed.