701d8cfab9
feat: automatically discover inventory ( #127 )
...
Run Check Script / check (pull_request) Successful in 1m15s
## Fully automated inventory gathering now works!
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.
Co-authored-by: Ian Letourneau <ian@noma.to>
Reviewed-on: https://git.nationtech.io/NationTech/harmony/pulls/127
Co-authored-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
Co-committed-by: Jean-Gabriel Gill-Couture <jg@nationtech.io>
2025-08-31 22:45:07 +00: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
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