motiv-labs / janus

An API Gateway written in Go
https://hellofresh.gitbooks.io/janus
MIT License
2.79k stars 317 forks source link

Added retry plugin #307

Closed italolelis closed 6 years ago

italolelis commented 6 years ago

What does this PR do?

Closes #300

codecov[bot] commented 6 years ago

Codecov Report

Merging #307 into master will decrease coverage by 1.78%. The diff coverage is 69.01%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #307      +/-   ##
==========================================
- Coverage   40.82%   39.04%   -1.79%     
==========================================
  Files          67       68       +1     
  Lines        2479     2359     -120     
==========================================
- Hits         1012      921      -91     
+ Misses       1413     1381      -32     
- Partials       54       57       +3
Impacted Files Coverage Δ
pkg/middleware/logger.go 86.36% <100%> (+12.07%) :arrow_up:
pkg/middleware/stats.go 100% <100%> (ø) :arrow_up:
pkg/plugin/rate/rate_limit_logger.go 56% <37.5%> (+28.97%) :arrow_up:
pkg/plugin/retry/setup.go 39.13% <39.13%> (ø)
pkg/errors/error.go 77.27% <75%> (-12.21%) :arrow_down:
pkg/plugin/retry/middleware.go 93.1% <93.1%> (ø)

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 5916016...0e63283. Read the comment docs.