feat: implement bridge service client#1465
Conversation
|
Claude finished @arnaubennassar's task in 1m 39s —— View job Code Review Complete ✅Todo List
🚀 What's NewThis PR introduces a comprehensive Go client library for the Bridge Service REST API, implementing all 13 endpoints with type-safe parameter structs, comprehensive error handling, and excellent test coverage (91.9%). The client includes context support for timeouts/cancellation, sensible defaults (30s timeout), and thorough documentation with examples. 🐛 Bug FixesNone - This is a new feature addition. 📋 Config UpdatesNone - The client uses a simple
|
Fixes CI build error where go.mod requires Go >= 1.25.6 but Dockerfile was using 1.25.5. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
695ae1f to
a03ed09
Compare
|



🔄 Changes Summary
Service REST API
claims, token mappings, etc.)
None - This is a new package addition with no breaking changes to existing code.
📋 Config Updates
No configuration changes required.
✅ Testing
cases
a. Start a bridge service instance
b. Update the example code with the service URL
c. Run example tests to verify connectivity: go test -v ./bridgeservice/client/... -run
Example
🐞 Issues
None
🔗 Related PRs
None
📝 Notes
Design Decisions
parameters to distinguish between "not provided" and "zero value"
GetClaimsParams, etc.) for each endpoint to provide type-safe, self-documenting API
easier debugging
double-slash issues
Implementation Coverage
All bridgeservice REST API endpoints are implemented: