-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update golang and golangci-lint * add a skeleton for incoming CIS data * implement attribute upsert for incoming inventory * WIP: inventory updates * move component type initialization to FleetDB Currently alloy creates the server component types on startup if they haven't been populated previously. This change imports bmc-toolbox's component slugs and uses them to populate the server_component_types table using an upsert. This should be able to capture changes to known component types on an upgrade too. * refactor updateAnyAttribute so we can do component attributes too * add real component initialization to setup and fix test fallout * flesh out the incoming inventory API a bit * parallel tests are problematic with a big global database * generalize the routines for upserting attributes and versioned attributes * implement bios and dimms * implement bmc and mainboard * refactor the common parts out of the update functions * change the namespacing and fimware/status handling for vattr * implement generic deserialization routines * update deps * convert to rivets.Server * enforce a test timeout to catch hangs * update linter config and fix linting issues in code * finish API and tests for inventory * fix up some overly brittle tests
- Loading branch information
Showing
23 changed files
with
1,679 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.