Add Dockerfile and Docker Compose for Redfish Emulator setup#11
Merged
marko-stanojevic merged 4 commits intomainfrom Jan 31, 2026
Merged
Add Dockerfile and Docker Compose for Redfish Emulator setup#11marko-stanojevic merged 4 commits intomainfrom
marko-stanojevic merged 4 commits intomainfrom
Conversation
…es; update file exclusion logic in PSScriptAnalyzer tests
…bility and clarity
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 a comprehensive Redfish emulator setup for integration testing, with full documentation, Docker support, and new integration tests. The changes enable automated and local integration testing against a real Redfish API mockup, improving test reliability and developer experience.
Redfish Emulator Infrastructure:
Dockerfile.DMTF.Redfish.Emulatorto build a containerized DMTF Redfish-Mockup-Server, including health checks and configurable ports and mockup data.docker-compose.emulator.ymlfor easy local deployment of the Redfish emulator, supporting custom networks and environment variables.docs/redfish-emulator.mdwith detailed instructions for running the emulator, troubleshooting, and CI/CD integration.CI/CD Integration:
.github/actions/ps-integration-tests/action.ymlto start and stop a Redfish emulator container as part of the integration test workflow, ensuring the emulator is available during tests..github/workflows/ci.ymlto invoke the new integration test action after building the module.Integration Test Improvements:
tests/Integration/Redfish.Requests.Integration.Tests.ps1, a comprehensive PowerShell Pester test suite for Redfish API requests, including environment detection, error handling, metrics, and pipeline support.Type of Change