Releases: dell/iDRAC-Telemetry-Reference-Tools
Releases · dell/iDRAC-Telemetry-Reference-Tools
Public pkg API layer and envelope-based messaging for cross-repo reuse
What's New
Public pkg/ API Layer
Introduced a new pkg/ directory exposing stable, importable packages for cross-repo consumption (e.g., by IRC-Reference-Tools):
pkg/auth—ServiceItem,ValveState,SystemType,Logintypes andAuthClientInterfacepkg/config—ConfigServiceandConfigUIconstructorspkg/databus—DataGroup,DataGroupChan, and related typespkg/messagebus— STOMP message bus constructorpkg/redfishread—RedfishDevice, SSE listener,IRCRedfishClient,iDRACRedfishClientpkg/wire—Envelopetype and message encoding/decoding helpers
Envelope-Based Messaging
- Replaced legacy
Commandstruct and JSON marshalling with a newwire.Envelopepattern - Introduced
BaseServiceandBaseClientininternal/servicewith standardizedSend/Broadcast/requestReplymethods - Refactored
AuthorizationServiceandAuthorizationClientto use the new pattern
Docker & Build
- Dockerfiles updated to include
pkg/andinternal/directories - Migrated from legacy
docker-composetodocker compose - CVE fixes for base images
- Added VictoriaMetrics pump and database profiles
Tests
- Unit tests for
auth,databus,service,wire, andconfigui - Mock message bus (
internal/mock/mock_mb.go) for isolated testing - Updated container integration tests
Bug Fixes
- Fixed incorrect lock type in
AddDataGroup(RLock → Lock for write operations) - Fixed goroutine leaks in
requestReplyvia channel draining - Initialized
RedfishDevicesmap before goroutine access - Prevented errors on unsubscribe of inactive STOMP subscriptions