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

8 Commits

Author SHA1 Message Date
c99e9018af adjust logs/errors
All checks were successful
Run Check Script / check (pull_request) Successful in 1m14s
2025-08-31 18:07:46 -04:00
57c098a6d8 remove extra info log
All checks were successful
Run Check Script / check (pull_request) Successful in 1m16s
2025-08-31 16:59:03 -04:00
8bcbe7a226 fix var name and format warning
All checks were successful
Run Check Script / check (pull_request) Successful in 1m17s
2025-08-31 12:35:21 -04:00
a27c7c2310 fix tests
All checks were successful
Run Check Script / check (pull_request) Successful in 1m15s
2025-08-31 01:27:25 -04:00
affcc657c1 chore: Update harmony_inventory_agent binary
Some checks failed
Run Check Script / check (pull_request) Failing after 1m14s
2025-08-31 01:01:52 -04:00
637ffde992 feat(inventory): Fully automated inventory gathering now works!! Been waiting a long time for this feature
Boot up harmony_inventory_agent with `cargo run -p harmony_inventory_agent`
Launch the DiscoverInventoryAgentScore , currently available this way :

`RUST_LOG=info cargo run -p example-cli -- -f Discover -y`

And you will have automatically all hosts saved to the database. Run `cargo sqlx setup` if you have not done it yet.
2025-08-31 00:55:33 -04:00
d9c26f43ee wip: saving harmony inventory, currently messing with async stuff, properly understanding stuff now so I should fix it soon. The recv in the inventory agent is sync and blocking the whole thread so the request cannot be sent until the recv is killed, which is wrong. Will fix this by isolating on another thread 2025-08-31 00:31:55 -04:00
e548bf619a feat: Can now discover inventory agent and download its host definition, next up save it to db 2025-08-30 20:01:52 -04:00