Skip to content

feat: Upgrade for new pre-release of fabrica and address legacy compatibility#4

Merged
alexlovelltroy merged 1 commit into
mainfrom
feature/fabrica-update-Feb-2026
Feb 5, 2026
Merged

feat: Upgrade for new pre-release of fabrica and address legacy compatibility#4
alexlovelltroy merged 1 commit into
mainfrom
feature/fabrica-update-Feb-2026

Conversation

@alexlovelltroy
Copy link
Copy Markdown
Member

Add integration tests for metadata handlers and enhance group resource handling

  • Introduced integration tests for metadata handlers in metadata_integration_test.go to validate cloud-init flow and syslog metadata isolation.
  • Updated metadata_test.go to ensure empty and missing groups are included in vendor data, aligning with legacy behavior.
  • Enhanced group.go to support base64 template encoding, allowing for more flexible template management.
  • Added HTTP client implementation in http_client.go for SMD API interactions, including caching mechanisms for improved performance.
  • Updated mock SMD client to support new functionalities and ensure consistency with the HTTP client.
  • Refactored group resource validation to decode templates based on specified encoding.

For more info, see Contributing Guidelines.

…esource handling

- Introduced integration tests for metadata handlers in `metadata_integration_test.go` to validate cloud-init flow and syslog metadata isolation.
- Updated `metadata_test.go` to ensure empty and missing groups are included in vendor data, aligning with legacy behavior.
- Enhanced `group.go` to support base64 template encoding, allowing for more flexible template management.
- Added HTTP client implementation in `http_client.go` for SMD API interactions, including caching mechanisms for improved performance.
- Updated mock SMD client to support new functionalities and ensure consistency with the HTTP client.
- Refactored group resource validation to decode templates based on specified encoding.

Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
@alexlovelltroy alexlovelltroy merged commit d8c1b67 into main Feb 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants