Page MenuHomeDevCentral

APIClient and APIFactory contracts
ClosedPublic

Authored by dereckson on Mar 9 2016, 05:56.
Tags
None
Referenced Files
F3211373: D333.id1475.diff
Sat, Jun 29, 05:56
F3199691: D333.id.diff
Fri, Jun 28, 16:09
F3191046: D333.id1477.diff
Fri, Jun 28, 10:07
Unknown Object (File)
Fri, Jun 28, 01:25
Unknown Object (File)
Wed, Jun 26, 14:16
Unknown Object (File)
Tue, Jun 25, 21:22
Unknown Object (File)
Tue, Jun 25, 21:22
Unknown Object (File)
Tue, Jun 25, 21:21
Subscribers

Details

Summary

To improve dependency injection in ProjectsMap, we create two
interface contracts, APIClient and APIFactory, which abstract
an API client and a class to instantiate them.

That allow to easily inject an API client and increase components
independance.

Test Plan

A variation of fea5b9c has successfully been tested.

Diff Detail

Repository
rNOTIF Notifications center
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson retitled this revision from to APIClient and APIFactory contracts.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: dereckson.
dereckson edited edge metadata.

Rebased against master.

dereckson edited edge metadata.
This revision is now accepted and ready to land.Aug 10 2016, 19:47
This revision was automatically updated to reflect the committed changes.