d34ba3f754
chore: update references and imports
2025-04-26 18:12:21 -06:00
Devon Bautista
93010587c6
refactor: split BMC data structures into pkg/bmc package
2025-04-26 17:46:50 -06:00
Devon Bautista
e62a38183f
feat(crawl): improved logs; add partial credential overriding
...
The order of precedence is:
1. --username/--password
2. URI-specific credentials in store
3. Default credentials in store
The "partial" overriding means that specifying only one of --username or
--password will cause the crawl command to fetch the specific node
credentials for the BMC (falling back to the default) but override the
result with the value of the passed flag.
For instance,
magellan crawl <uri> --username foo
will fetch the username and password for <uri> in the secret store, but
override the username being sent to 'foo'. This does not change the
username stored in the secret store.
2025-04-26 17:46:50 -06:00
ee99d6e06d
chore: updated error/warn messages to be more informative
2025-04-26 17:46:50 -06:00
38e22ff24c
feat: add default secret to local store
2025-04-26 17:46:49 -06:00
92b05a81c7
refactor: improvements to CLI and update pkg
2025-04-26 17:46:49 -06:00
2b0245e17b
refactor: added check for secretID in secrets store
2025-04-26 17:46:00 -06:00
cc112e72e4
refactor: changed logging to use consistent JSON format
2025-04-26 17:46:00 -06:00
5c4ca34976
refactor: use vars for cred flags
2025-04-26 17:45:59 -06:00
8866dff307
refactor: added flag to set secrets file for crawl
2025-04-26 17:45:58 -06:00
149fcaec6d
refactor: changed to use local store with static store fallback
2025-04-26 17:45:58 -06:00
842e864384
refactor: updated description/example and added 'secrets-file' flag to cmd
2025-04-26 17:44:49 -06:00
Alex Lovell-Troy
ee1fc327e2
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management
2025-04-26 17:19:12 -06:00
c0e498766f
refactor: exported more cmd variables
2024-12-11 14:13:51 -07:00
d889082e80
updated all references
2024-11-03 19:53:48 -07:00
e31e91ec15
refactor: changed crawler function name
2024-10-15 13:52:23 -06:00
David Allen
4597f63d12
Fixed issue with host string and added internal url package
2024-08-14 10:57:30 -06:00
David Allen
42dbfeb4f9
Fixed lint errors
2024-08-13 17:45:08 -06:00
David Allen
7285492815
Fixed root persistent flags not binding correctly
2024-08-13 14:44:11 -06:00
David Allen
81ec43a923
Minor changes to fix lint errors
2024-08-13 10:41:06 -06:00
David Allen
5a2356d7c2
Fixed crawl command help string
2024-08-12 16:35:58 -06:00
David Allen
3287d76588
Separated auth from util and fixed help strings
2024-08-12 13:05:28 -06:00
David Allen
2c841906b2
Updated 'cmd' package
2024-08-07 10:58:03 -06:00
David Allen
b27e6b6a73
Renamed vars and switched to use zerolog
2024-07-30 14:02:12 -06:00
David Allen
eba9dfa1e7
Added more documentation and changed param names
2024-07-22 14:22:02 -06:00
Alex Lovell-Troy
09eb48a241
Update crawl command to improve URI handling and provide clearer instructions
2024-07-02 16:55:17 -04:00
Alex Lovell-Troy
afe84f6129
chore: Clean up URI handling in crawl command
2024-07-02 16:37:39 -04:00
Alex Lovell-Troy
eccd9adb41
Improve crawl instruction and log Redfish Version
2024-07-02 16:25:28 -04:00
Alex Lovell-Troy
fdc574f5f2
Improved Error handling without panics
2024-07-01 13:53:32 -04:00
Alex Lovell-Troy
3386690f17
Add uri positional argument and remove uri flag
2024-07-01 10:59:42 -04:00
Alex Lovell-Troy
a7d5b0ebbb
Add standalone command for querying a single BMC and outputting inventory json
2024-06-27 08:56:45 +02:00