Skip to content

chore(java): update sdk generation (20260807-1333) - #53

Merged
mzanoni merged 1 commit into
mainfrom
chore/update-sdk-20260807-1333
Aug 7, 2026
Merged

chore(java): update sdk generation (20260807-1333)#53
mzanoni merged 1 commit into
mainfrom
chore/update-sdk-20260807-1333

Conversation

@soe-relewise

@soe-relewise soe-relewise commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

https://trello.com/c/9a6hETS2/20946-java-does-not-look-to-actually-batch-products-but-send-all-in-one-go

Summary

  • Updated the Java client generator to detect batchable Items and Requests collections
  • Added configurable client-side chunking with a default batch size of 1,000
  • Regenerated tracker, searcher, and recommender clients to send sequential chunks and aggregate collection responses
  • Added credential-independent tests for chunk boundaries, request preservation, response ordering, copied collection settings, empty inputs, and batch-size validation

Validation

  • ./generate.ps1: passed (existing AngleSharp NU1902 warning remains)
  • mvn --batch-mode -DskipTests package --file src/pom.xml: passed
  • mvn resources:resources --file src/pom.xml: passed
  • mvn --batch-mode test --file src/pom.xml: not run; integration credentials are unavailable
  • mvn --batch-mode -Dtest=BatchingTest,ClientConstructionTest,DateTimeSerializationTest test --file src/pom.xml: passed, 10 tests

Notes

  • Tested with my own DATASET_ID and API_KEY locally.
  • The original request object remains unchanged while batches are sent sequentially in their original order.

@soe-relewise
soe-relewise requested a review from mzanoni August 7, 2026 12:29
@mzanoni
mzanoni merged commit 1965cea into main Aug 7, 2026
1 check passed
@mzanoni
mzanoni deleted the chore/update-sdk-20260807-1333 branch August 7, 2026 13:32
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