Skip to content

Update mock API server for V2 testing - #103

Merged
piekstra merged 1 commit into
mainfrom
piekstra/update-wiremock-v2
Feb 8, 2026
Merged

piekstra merged 1 commit into
mainfrom
piekstra/update-wiremock-v2

Conversation

@piekstra

@piekstra piekstra commented Feb 8, 2026

Copy link
Copy Markdown
Owner

[#97]

Summary

  • Replace V1 login WireMock stubs with V2 account status and login endpoints
  • Update all existing WireMock mappings to use urlPath matching and relaxed header patterns (matches instead of equalTo) to support V2 HMAC signing headers
  • Add new device sys_info response stubs for HS200, KP200, KP400, KL420L5, KL430
  • Expand device list response with 4 new devices (9 total)
  • Add tests for new device types including child device discovery (KP200, KP400)

Test plan

  • All 81 tests pass locally against WireMock
  • CI pipeline passes with updated stubs

Replace V1 login WireMock stubs with V2 account status and login stubs.
Update all existing mappings to use urlPath matching and relaxed header
patterns (matches instead of equalTo) to work with V2 signing headers.
Add new device sys_info stubs for HS200, KP200, KP400, KL420L5, KL430.
Update device list response with new devices and expand tests accordingly.

[#97]
@piekstra
piekstra merged commit 6e73714 into main Feb 8, 2026
3 checks 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.

1 participant