Skip to content

Refactor sgcpserverfortest to support full SGCP API simulation - #1109

Closed
PaulJouvanceau wants to merge 1 commit into
opensvc:mainfrom
PaulJouvanceau:sgcp-testserver-qa-routes-auth
Closed

PaulJouvanceau wants to merge 1 commit into
opensvc:mainfrom
PaulJouvanceau:sgcp-testserver-qa-routes-auth

Conversation

@PaulJouvanceau

Copy link
Copy Markdown
Contributor
  • Replace DNS alias handling with an in-memory store supporting list, create, get, update, and delete operations.
  • Add consistency group (CG) store and handlers for GET and PATCH, including switchover, failover, and resume-replication operations.
  • Introduce a permissive authentication mode controlled by the SGCP_TEST_AUTH_DISABLED environment variable to simplify QA tests.
  • Add an HTTP request logging middleware for debugging.
  • Remove the dependency on sgcpdnstesthelper for DNS routes and use a local Alias type instead.
  • Add a default handler to log unmatched routes.

- Replace DNS alias handling with an in-memory store supporting
  list, create, get, update, and delete operations.
- Add consistency group (CG) store and handlers for GET and PATCH,
  including switchover, failover, and resume-replication operations.
- Introduce a permissive authentication mode controlled by the
  SGCP_TEST_AUTH_DISABLED environment variable to simplify QA tests.
- Add an HTTP request logging middleware for debugging.
- Remove the dependency on sgcpdnstesthelper for DNS routes and use
  a local Alias type instead.
- Add a default handler to log unmatched routes.
@cgalibern cgalibern closed this Sep 11, 2026
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