Feature/upgrade fabrica#8
Merged
Merged
Conversation
Fix .gitignore which was overly broad with yaml files Re-Generate Update Makefile Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…rce models Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
… output Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
Co-authored-by: Copilot <copilot@github.com> Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
463b9d3 to
bab3634
Compare
…sions Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
Co-authored-by: Copilot <copilot@github.com> Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…ustom OpenAPI extension support Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
- Introduced a new GitHub Actions workflow for Scorecard supply-chain security analysis. - Configured to run on branch protection rule and scheduled weekly. - Added permissions for security events and ID token for result publishing. - Implemented steps for code checkout, analysis execution, and result uploads. chore: Update .gitignore to include workflow files - Modified .gitignore to ensure workflow YAML files are not ignored. docs: Update LEGACY_COMPATIBILITY.md with copyright and license information - Added SPDX copyright and license information to the legacy compatibility document. feat: Add CC0 1.0 Universal license file - Included CC0 1.0 Universal license text in LICENSES directory. build: Update Makefile for local Fabrica binary support - Enhanced Makefile to allow specifying a local Fabrica binary path. - Updated generate and generate-check targets to reflect local binary usage. refactor: Rename project from cloud-init to metadata-service - Updated all references in code and documentation to reflect the new project name. - Adjusted import paths, CLI commands, and configuration file names accordingly. fix: Update server routes and handlers for new package structure - Refactored server routes and handlers to use the new metadata-service package structure. - Ensured all imports and function calls are updated to match the new naming conventions. test: Update integration tests for metadata-service - Modified integration tests to align with the new project structure and naming. - Ensured all test cases are updated to reflect the new API and service names. chore: Update go.mod and go.sum for dependency management - Changed module name in go.mod to github.com/OpenCHAMI/metadata-service. - Updated dependencies to the latest versions and removed obsolete replacements. Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…liasing feat: Add mock SMD fixture and loading function for testing test: Create HTTP client tests for fallback IP and MAC address retrieval Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…d tests Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…onality Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…entries Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…linting setup Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
… with build instructions Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…nt in Docker setup Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…ion in handlers Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…ce health status Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…th command for service status Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
…d example Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>
- Added functions to retrieve the latest ClusterDefaults, InstanceInfo, and Group resources based on their updated timestamps. - Updated GetClusterDefaults, GetInstanceInfo, and GetGroupData methods to utilize the new retrieval functions. - Introduced a new test file for comprehensive testing of the StorageAdapter methods, ensuring correct retrieval of the latest resources. - Updated OpenAPI generation comments for clarity and accuracy. - Registered resource prefixes in the server integration setup. - Refactored example scripts to improve usability and clarity, including updates to the demo and quick-test scripts. - Updated go.mod to use the latest version of the fabrica package. Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
travisbcotton
approved these changes
May 13, 2026
Collaborator
travisbcotton
left a comment
There was a problem hiding this comment.
As far as I can tell this is good to go.
…mation Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces significant improvements to the project’s structure, developer workflow, and documentation to better align with the Fabrica framework and modernize the codebase. The changes include the addition of new configuration files, Makefile enhancements for code generation, updates to documentation and developer instructions, improved support for authentication in the CLI, and a refactor of the server’s WireGuard integration.
Key changes:
Fabrica Integration & Configuration
.fabrica.yamlandapis.yamlto define project metadata, enabled features, and resource groups/types for Fabrica-based code generation. [1] [2]generateandgenerate-checktargets for Fabrica code generation, supporting both released and local Fabrica builds. [1] [2]Documentation & Developer Experience
README.md,.github/copilot-instructions.md,CLOUDINIT.md) to reflect new resource locations (apis/cloud-init.openchami.io/v1/), code generation steps, and WireGuard integration patterns. [1] [2] [3] [4] [5] [6] [7]CLI Improvements
--tokenflag andCLOUD_INIT_TOKENenvironment variable in the CLI, enabling future authentication support. [1] [2] [3] [4]Server Refactoring
registerCustomServerIntegrations), improving maintainability and modularity. [1] [2] [3]Miscellaneous
These changes modernize the project, streamline developer workflows, and set the foundation for future enhancements, especially around code generation and authentication support.
Checklist
make test(or equivalent) locally and all tests passgit commit -s) with my real name and email<filename>.licensesidecarLICENSES/directoryType of Change
For more info, see Contributing Guidelines.