Skip to content

Add Cloud Proxy instance_id support (CST-468) - #13

Merged
ubcodes merged 1 commit into
mainfrom
emmanuellaetop-essien/cst-468-update-sdk-with-proxy-java
Oct 2, 2026
Merged

ubcodes merged 1 commit into
mainfrom
emmanuellaetop-essien/cst-468-update-sdk-with-proxy-java

Conversation

@ubcodes

@ubcodes ubcodes commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Accept an optional instanceId on BlnkClientOptions and send it as the instance_id query parameter on every request, matching the Cloud Proxy API.
  • Leave self-hosted Core clients unchanged when instanceId is unset. Document the Cloud proxy base URL (https://api.cloud.blnkfinance.com/proxy) and that Core paths/bodies stay the same.
  • Closes Linear CST-468 for the Java SDK only.

Test plan

  • mvn test (599 tests, 0 failures; 66 skipped live suites without BLNK_E2E=1)
  • Construct a client with Cloud proxy baseUrl + instanceId and confirm requests go to /proxy/{core-path}?instance_id=...
  • Confirm listing routes still send limit/offset and append &instance_id=
  • Confirm a self-hosted client without instanceId does not add the query param

@ubcodes
ubcodes merged commit b4d72b1 into main Oct 2, 2026
2 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