Skip to content

Update ApacheHttpTransport implementation#558

Merged
chingor13 merged 10 commits intogoogleapis:masterfrom
chingor13:update-apache
Jan 4, 2019
Merged

Update ApacheHttpTransport implementation#558
chingor13 merged 10 commits intogoogleapis:masterfrom
chingor13:update-apache

Conversation

@chingor13
Copy link
Copy Markdown
Contributor

@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 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
Comment thread google-http-client-apache-legacy/pom.xml
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.

4 participants