Commit graph

524 commits

Author SHA1 Message Date
094fb0df3b
chore: more miscellaneous updates 2025-06-01 09:43:07 -06:00
7ffb080c7e
feat: sessions core implementation 2025-06-01 09:42:16 -06:00
5049399d17
chore: miscellaneous updates 2025-06-01 09:42:16 -06:00
a357effe12
feat: added func to load session token 2025-06-01 09:40:39 -06:00
4efb1eef9b
chore: removed login cmd 2025-06-01 09:40:39 -06:00
ce1e7c2d2b
feat: added JSON utility functions 2025-06-01 09:40:38 -06:00
b23df03d41
chore: removed migrations 2025-06-01 09:40:38 -06:00
db19fcf7d2
chore: moved scripts to bin/ directory 2025-06-01 09:40:38 -06:00
58eeef54dc
feat: added sessions cmd 2025-06-01 09:40:38 -06:00
b2111ddcb2
Add support for storage command and crawler output
Partially addresses issue #3 by adding a simple `magellan list devices` command to list storage devices. To close the issue, this PR still requires including storage device information in the `crawler`'s output.

Reviewed-on: towk/magellan-ng#5
2025-06-01 09:40:21 -06:00
d236649b05
chore: update references and imports 2025-06-01 09:38:16 -06:00
6063f28882
refactor: exported more cmd variables 2025-06-01 09:37:44 -06:00
fb8a51e559
refactor: updated references 2025-06-01 09:37:44 -06:00
b17ab82f99
updated all references 2025-06-01 09:37:44 -06:00
534ca9d49a
Changed DeleteScannedAssets to work correct and added db tag 2025-06-01 09:37:13 -06:00
Devon Bautista
ff80934134
fix: adjust secret store precedence in collect command 2025-06-01 09:37:13 -06:00
94361eb774
feat: add default secret to local store 2025-06-01 09:35:58 -06:00
c2e419a8e1
readme: update with secrets and emulator sections 2025-06-01 09:32:45 -06:00
542ab3abbd
chore: updated go deps 2025-06-01 09:32:19 -06:00
David Allen
23f2c9898b
Fix emulator image in rf-emulator.yml
Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
2025-06-01 09:32:12 -06:00
808fc70034
collect: return collection output from CollectInventory() 2025-06-01 09:31:54 -06:00
David Allen
c31ece359d
chore: fix critical dependabot issues by updating crypto 2025-06-01 09:31:28 -06:00
dff417e151
collect: return collection output from CollectInventory() 2025-06-01 09:30:26 -06:00
81055f1cdb
refactor: moved internal functions to pkg and updated refs 2025-06-01 09:29:33 -06:00
David Allen
164f43543a
chore: fix critical dependabot issues by updating crypto 2025-06-01 09:28:47 -06:00
Alex Lovell-Troy
11f0cde59a
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management 2025-06-01 09:26:52 -06:00
4db28116af
refactor: moved internal functions to pkg and updated refs 2025-06-01 09:15:49 -06:00
Alex Lovell-Troy
f4c3d534e8
chore: update build workflow and add container build script (#70)
* chore: update build workflow and add container build script
* Add build dependencies to workflow
* fix: remove unnecessary magellan installation path from goreleaser config
2025-06-01 09:11:06 -06:00
c9086264d1
refactor: exported more cmd variables 2025-06-01 09:10:43 -06:00
b5d85b61bb
refactor: updated references 2025-06-01 09:09:01 -06:00
d190f66705
cmd: exported scan and collect commands for external use 2025-05-30 21:58:50 -06:00
11b93f6b62
updated references in cmd/cache.go 2025-05-30 21:56:57 -06:00
85b4789b3f
updated all references 2025-05-30 21:56:54 -06:00
b83748d989
go.mod: updated module name 2025-05-30 21:44:45 -06:00
a492f4271e
readme: updated refs to github.com/davidallendj 2025-05-30 21:44:40 -06:00
eb46dec118
Fixed removing from cache with --with-* flags 2025-05-30 11:03:17 -06:00
dc8addf062
Minor changes 2025-05-30 11:03:17 -06:00
f1a8a067d4
Added cache command and ability to delete cached assets 2025-05-30 11:03:16 -06:00
7515307cce
Changed DeleteScannedAssets to work correct and added db tag 2025-05-30 11:03:08 -06:00
David Allen
04e1fb26c9
Split the collect Command For Customization (#93)
* feat: initial implementation of command split

* feat: update collect and new send cmd

* chore: cleanup unused code

* chore: refactored getting username

* chore: more refactoring and cleanup

* feat: update send cmd implementation

* chore: changed/updated example config

* chore: made cmd more consistent and added formatting

* refactor: removed --host flag from scan

* chore: cleaned up and fixed issue with client

* chore: cleaned up CLI flags in collect cmd

* feat: updated crawl to include managers and output YAML optionally

* refactor: updated and improved send implementation

* refactor: minor improvements

* refactor: added util func to check for empty slices

* fix: issue with reading from stdin

* refactor: added scheme trimming function for URIs

* refactor: changed host arg back to positional

* refactor: removed unused vars and added --output-dir flag

* fix: make -f for secrets persistent

* refactor: removed --host flag and request in collect

* refactor: changed --output flag to --output-file

* fix: updated flags for collect

* fix: typo in crawler error

* fix: dir being created when outputDir not set

* fix: reading stdin and data args

* fix: made output using -v and -o consistent

* readme: added info about command split

* updated changelog adding missing version entries

* chore: updated example to use host as positional arg

* fix: issue with reading --data arg

* fix: remove unused import from collect pkg

Signed-off-by: Devon Bautista <devonb@lanl.gov>

---------

Signed-off-by: David Allen <16520934+davidallendj@users.noreply.github.com>
Signed-off-by: Devon Bautista <devonb@lanl.gov>
Co-authored-by: Devon Bautista <devonb@lanl.gov>
2025-05-29 15:15:46 -04:00
David Allen
fba4a89a0e
Merge pull request #98 from bmcdonald3/remove-https
Remove https from RedfishEndpoints post
2025-05-28 10:58:11 -06:00
Ben McDonald
bff549bcfa
Remove https from RedfishEndpoints post 2025-05-28 09:57:20 -07:00
David Allen
de102ecc97
Merge pull request #95 from SiPearl/92-fix-failed-to-find-MAC-address-with-IP
#92 FindMACAddressWithIP expects Host IP without prefix, but is always true
2025-05-26 23:14:56 -06:00
jose-angel gomez-lopez
17ec8b07a7
#92 making sure that the argument of net.ParseIP is a pure IP address (x.x.x.x), without any prefix 2025-05-26 10:15:00 +02:00
David Allen
fcfe76295e
Merge pull request #87 from OpenCHAMI/default-secrets
Add "default" secret lookup in `LocalStore` for `crawl` and `collect` commands
2025-04-21 16:07:43 -06:00
cc6ab50ee4
readme: updated information about default secrets 2025-04-21 15:57:19 -06:00
David Allen
726eed016a
Merge pull request #90 from OpenCHAMI/final-default-secrets
Final default secrets
2025-04-21 15:42:06 -06:00
cf1fcc7646
fix: added check to stop collect on error 2025-04-21 15:37:15 -06:00
233be46bee
fix: changed persistent flags in collect to fix binding 2025-04-21 12:17:28 -06:00
Devon Bautista
a6bf6cc1b6
fix: clarify that override is temporary 2025-04-17 09:47:29 -06:00