-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add param forceSAM=true
when targeting sam endpoint
#56
Conversation
4f85d92
to
e306172
Compare
e306172
to
6be9b60
Compare
If I understand well if a call is possible threw SAM, the parameters forceSAM=true have to be present? It is a bit wired. this query param have no effect if the call hasn't SAM yet? |
Could this interceptor added by the integrators later? But I think not possible. In the future, the OkHttpClient creation should be the responsability of the library user, not the library itself. |
After a discussion with Pierre-Yves, he told me the parameters |
Description
All sam call need to have the param
forceSAM=true
to ensure call are retrieved from SAM and not proxied through IL.Changes made:
HostInterceptor
to add paramforceSAM=true
to all calls made to sam end points (prod, stage, test).