Refactor HTTP access out of HostingService class.

Review Request #5691 — Created April 9, 2014 and submitted — Latest diff uploaded

Information

Review Board
master
4d1711b...

Reviewers

This change adds a new HostingServiceClient class which handles the basic
details of HTTP and JSON communication with hosting service APIs. This is
primarily just extracting the functionality out of the HostingService class.
Individual HostingServices can override this class to add additional checking
(such as GitHub's checking of rate limit headers), or add higher-level API
functionality.

  • Ran unit tests.
  • Tested post-commit review request creation.
    Loading...