Skip to content

Move RedFish mock methods to the go mock server#508

Merged
afritzler merged 6 commits intomainfrom
EnhanceMockServer
Nov 12, 2025
Merged

Move RedFish mock methods to the go mock server#508
afritzler merged 6 commits intomainfrom
EnhanceMockServer

Conversation

@nagadeesh-nagaraja
Copy link
Contributor

Fixes #507

@afritzler afritzler changed the title move mocked redfish methods to the mock server Move mocked redfish methods to the mock server Nov 11, 2025
@afritzler afritzler added the enhancement New feature or request label Nov 11, 2025
@afritzler
Copy link
Member

@nagadeesh-nagaraja can you please rebase this PR?

mockServer := server.NewMockServer(GinkgoLogr, ":8000")
if err := mockServer.Start(ctx); err != nil {
return fmt.Errorf("failed to start mock Redfish server: %w", err)
DeferCleanup(cancel)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DeferCleanup(cancel) is happening already at the top of the BeforeSuite.

@afritzler afritzler changed the title Move mocked redfish methods to the mock server Move RedFish mock methods to the go mock server Nov 12, 2025
@afritzler afritzler merged commit 00513f3 into main Nov 12, 2025
15 checks passed
@afritzler afritzler deleted the EnhanceMockServer branch November 12, 2025 16:10
@github-project-automation github-project-automation bot moved this to Done in Roadmap Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Move system/BMC power reset and BIOS Settings functionality into MockUp server

3 participants