Skip to content
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

Update ApacheHttpTransport implementation #558

Merged
merged 10 commits into from
Jan 4, 2019

Conversation

chingor13
Copy link
Collaborator

@chingor13 chingor13 commented Jan 3, 2019

Fixes #364
Fixes #482
Fixes #503

This rewrites the ApacheHttpTransport to use non-deprecated functionality. In the upgrade, we lose ability to modify clients after the fact - they became read-only. Thus, we cannot enforce things like disabling retries on provided HttpClient implementations.

We now have 2 artifacts:

  1. The "legacy" one in google-http-client-apache-legacy/ which is the old one exactly which only works with the default implementation. This one will be available as version 1.28.0.
  2. The "new" one in google-http-client-apache/ which "removes" functionality like the builder - users should opt for the builder provided by Apache HttpClient. It has breaking changes, so this one will be available as version 2.0.0.

@chingor13 chingor13 requested a review from a team as a code owner January 3, 2019 17:22
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 3, 2019
@chingor13 chingor13 removed the request for review from a team January 3, 2019 17:22
@chingor13 chingor13 added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 3, 2019
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 3, 2019
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 3, 2019
@chingor13 chingor13 added the release blocking Required feature/issue must be fixed prior to next release. label Jan 3, 2019
We are providing a subset of builder options and we cannot change
setting after the HttpClient has been built.  We should allow users to
just provide their implementation via the constructor.
@chingor13 chingor13 changed the title WIP: Update apache implementation Update ApacheHttpTransport implementation Jan 3, 2019
@chingor13 chingor13 removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jan 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement. release blocking Required feature/issue must be fixed prior to next release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants