commercetools / commercetools-jvm-sdk

The e-commerce SDK from commercetools running on the Java virtual machine.
https://commercetools.github.io/commercetools-jvm-sdk/apidocs/index.html
Other
62 stars 40 forks source link

evaluate generating the correlation ID on the client side #1131

Closed schleichardt closed 7 years ago

schleichardt commented 7 years ago

workarounds:

for all requests: manipulate the HttpRequestIntent in execute of http://commercetools.github.io/commercetools-jvm-sdk/apidocs/io/sphere/sdk/client/SphereClientDecorator.html

for single requests: manipulate the HttpRequestIntent in http://commercetools.github.io/commercetools-jvm-sdk/apidocs/io/sphere/sdk/client/SphereRequestDecorator.html

schleichardt commented 7 years ago

the header name: X-Correlation-ID

schleichardt commented 7 years ago

Here is a workaround example: https://gist.github.com/schleichardt/f2c3fe8c2d820f88240db372e449944b#file-correlationidsphereclient-java

katmatt commented 7 years ago

Duplicates #1491