ScriptFUSION / Porter

:lipstick: Durable and asynchronous data imports for consuming data at scale and publishing testable SDKs.
GNU Lesser General Public License v3.0
611 stars 24 forks source link

Added connection context as first parameter to all connectors #42

Closed Bilge closed 6 years ago

Bilge commented 7 years ago

Connection context provides runtime information about the current import via utility functions. Specifically, a preset connection retry method and cache advice methods.

codecov-io commented 7 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (remove-abstract-provider@02a8131). Click here to learn what that means. The diff coverage is 98.3%.

Impacted file tree graph

@@                     Coverage Diff                     @@
##             remove-abstract-provider      #42   +/-   ##
===========================================================
  Coverage                            ?   99.74%           
===========================================================
  Files                               ?       29           
  Lines                               ?      391           
  Branches                            ?        0           
===========================================================
  Hits                                ?      390           
  Misses                              ?        1           
  Partials                            ?        0
Impacted Files Coverage Δ
src/Connector/ConnectionContextFactory.php 100% <100%> (ø)
src/Connector/CachingConnector.php 100% <100%> (ø)
src/Porter.php 100% <100%> (ø)
src/Connector/NullConnector.php 100% <100%> (ø)
src/Cache/CacheUnavailableException.php 100% <100%> (ø)
src/Provider/Resource/StaticResource.php 100% <100%> (ø)
src/Connector/ConnectionContext.php 100% <100%> (ø)
src/Connector/SuperConnector.php 93.33% <93.33%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 02a8131...5800e70. Read the comment docs.

Bilge commented 6 years ago

Included in #46.