SumoLogic / sumologic-java-http-core

Core Java components for sending data to Sumo Logic HTTP sources
Apache License 2.0
2 stars 4 forks source link

Add retryableHttpCodeRegex for configurable HTTP retries #8

Closed rvmiller89 closed 4 years ago

rvmiller89 commented 4 years ago

Adds a parameter for retryableHttpCodeRegex that is configurable with a regex string. By default we have it match ^5.* for all 5xx, but the user can override it however they want with a regular expression.

codecov-io commented 4 years ago

Codecov Report

Merging #8 into master will increase coverage by 0.61%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master       #8      +/-   ##
============================================
+ Coverage     60.89%   61.51%   +0.61%     
- Complexity       64       65       +1     
============================================
  Files             9        9              
  Lines           312      317       +5     
  Branches         27       27              
============================================
+ Hits            190      195       +5     
  Misses          108      108              
  Partials         14       14
Impacted Files Coverage Δ Complexity Δ
...java/com/sumologic/http/sender/SumoHttpSender.java 82.65% <100%> (+0.93%) 20 <1> (+1) :arrow_up:

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 8a7a2c3...0da0b56. Read the comment docs.