3scale / 3scale-istio-adapter

Red Hat 3scale Istio Mixer Adapter - Add 3scale's API Management to the Service Mesh
Apache License 2.0
32 stars 19 forks source link

adapter: Update RPC status to move inline with default APIcast #145

Closed philipgough closed 4 years ago

philipgough commented 4 years ago

The adapter will now return a 429 when rate limits are breached and 403 for every other case where we have been rejected by apisonator. The error code fetched from the header will be used to inform users of the rejection reason.

codecov-io commented 4 years ago

Codecov Report

Merging #145 into master will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #145      +/-   ##
==========================================
+ Coverage   89.22%   89.24%   +0.01%     
==========================================
  Files           8        8              
  Lines         622      623       +1     
==========================================
+ Hits          555      556       +1     
  Misses         55       55              
  Partials       12       12              
Impacted Files Coverage Δ
pkg/threescale/threescale.go 91.01% <100.00%> (+0.05%) :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 b36a419...0e2d50f. Read the comment docs.