All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated go to 1.23
- repatriated HMSError types from hms-xname
- updated arti link to artifactory.algol60.net
- CASMHMS-5180: Moved HMSTypes and related functions to the new hms-xname repo under the xnametypes package.
- Added GitHub configuration files and fixed snyk warning.
- Replaced Stash Go module name with GitHub version.
- Bumped version to represent migration to GitHub.
- CASMHMS-4898 - Updated base container images for security updates.
- Allow valid nodeAccel type xnames for more than 8 GPUs
- Updated Dockerfiles to pull base images from Artifactory instead of DTR.
- Update Licence info in source files.
- Added a function to add a User-Agent header to an http request.
- fix versions..
- Updated license file.
- CASMHMS-4295 - Changed the regex for the partition hmstype to accept p# and p#.#
- CASMHMS-4246 - Added CDUMgmtSwitch to HMS types.
- CASMHMS-4239 - Added MgmtHLSwitch to HMS types.
- CASMHMS-4087 - Added NodeAccelRiser to HMS types.
- CASMHMS-4105 - Updated base Golang Alpine image to resolve libcrypto vulnerability.
- CASMHMS-3922 - Updated components to include reservation disabled and locked status.
- CASMHMS-3403 - Updated regex used for cmmrectifiers to allow more than 3 xnames to be validated per chassis
- CASMHMS-2968 - Updated hms-base to use trusted baseOS.
- The NodeEnclosurePowerSupply type to HMS types
- Changed the valid component role and subrole values to be extendable via configfile.
- A config file watcher to pick up any new roles/subroles defined in the config file.
- Changed the component state transition Ready->On to be invalid
- Definitions for HMS hardware Class (River/Mountian/Hill)
- Added functions for listing out all valid values for the enums defined in hms-base (HMS Type, State, Role, etc).
- The Drive and StorageGroup types to HMS types
- Split this module into a separate package from hms-common
- The SNMPAuthPass and SNMPPrivPass fields to the CompCredentials struct
- Definitions for subroles
- Extended securestorage mock Vault adapter to also function as a more generalized storage mechanism for complex unit test case scenarios. All existing functionality is preserved. Use as a generalized store requires initializing InputLookup.Key (or InputLookupKeys.KeyPath) and setting LookupNum (or LookupKeysNum) to -1.
- Synced up with the HMS Component Naming Convention. Note that this introduces some incompatibilties with previous versions.
- Added the "Locked" component flag to base.
- Added SMNetManager already in use in REDS/MEDS to common library.
- Segmentation fault in decode logic of secure store when a nil structure (i.e., no results) are returned from Vault.
- Management role to base
- Added the securestorage package that performs basic actions (Store, Lookup, etc) on a chosen secure backing store. The initial list of backing stores only includes Vault.
- Added the compcredentials package that performs common component credential operations with the securestorage package.
- Added HTTP library that utilizes retryablehttp to perform HTTP operations and optionally unmarshal the returned value into an interface.
- Added changes for CabinetPDU support
- Tweak to state change table
- Removed
hmsds
,sharedtest
,sm
, andredfish
packages from this repo as they are actually SMD specific and therefore belong in that repo.
- This is the initial release of the
hms-common
repo. It contains everything that was inhms-services
at the time with the major exception of beinggo mod
based now.