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
f9906cb419
refact: Move basic types to harmony_types crate to avoid external dependencies.
...
Run Check Script / check (pull_request) Successful in 1m15s
This includes Id, IpAddress, Url and some other heavily used types
2025-08-30 18:01:14 -04:00
1eca2cc1a9
refact: Discovery callback takes a closure and fix git dependency hash
Run Check Script / check (push) Failing after 33s
Compile and package harmony_composer / package_harmony_composer (push) Successful in 6m10s
2025-08-30 16:48:13 -04:00
05e7b8075c
feat(inventory agent): Local presence advertisement and discovery now works! Must be within the same LAN to share the multicast address though
2025-08-29 11:22:44 -04:00
6ac0e095a3
wip(inventory-agent): local presence advertisement and discovery using mdns almost working
2025-08-29 01:10:43 -04:00
0f59f29ac4
fix(inventory_agent): Inventory agent now fallsback on error messages when it cant find values
Run Check Script / check (pull_request) Failing after 38s
2025-08-22 11:52:51 -04:00
06a2be4496
doc: Add README explaining how to build harmony_inventory_agent statically with musl target
Run Check Script / check (pull_request) Failing after 35s
2025-08-21 21:58:35 -04:00
72fb05b5cc
fix(inventory_agent) : Agent now retreives correct dmidecode fields, fixed uuid generation which is unacceptable, fixed storage drive parsing, much better error handling, much more strict behavior which also leads to more complete output as missing fields will raise errors unless explicitely optional
2025-08-19 17:56:06 -04:00
6685b05cc5
wip(inventory_agent): Refactoring for better error handling in progress
2025-08-19 17:05:23 -04:00
bc6f7336d2
feat(inventory_agent): use HARMONY_INVENTORY_AGENT_PORT as environment variable to set port
Run Check Script / check (pull_request) Failing after 25s
2025-08-19 12:55:03 -04:00
01da8631da
chore(inventory_agent): Cargo fmt
Run Check Script / check (pull_request) Failing after 24s
2025-08-19 12:44:49 -04:00
19cb7f73bc
feat: Harmony inventory agent crate that exposes an endpoint listing the host hardware. Has to be reviewed, generated 99% by GLM-4.5
Run Check Script / check (pull_request) Failing after 29s
2025-08-19 11:24:20 -04:00