Skip to content

Commit 806c396

Browse files
authored
Merge pull request #1528 from tkan145/fapi-wrong-config
[THREESCALE-11620] Financial-grade API (FAPI) policy not showning up in admin portal
2 parents b239c31 + b8195d2 commit 806c396

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
2323
- Fixed dns cache miss [PR #1500](https://github.com/3scale/APIcast/pull/1500) [THEESCALE-9301](https://issues.redhat.com/browse/THREESCALE-9301)
2424
- Fixed APIcast panic when parsing invalid base64 encoded value [PR #1505](https://github.com/3scale/APIcast/pull/1505) [THEESCALE-11435](https://issues.redhat.com/browse/THREESCALE-11435)
2525
- Remove "$id" from the policy schema [PR #1525](https://github.com/3scale/APIcast/pull/1525) [THEESCALE-11610](https://issues.redhat.com/browse/THREESCALE-11610)
26+
- Fixed Financial-grade API (FAPI) policy not showing up in the admin portal [PR #1528](https://github.com/3scale/APIcast/pull/1528) [THREESCALE-11620](https://issues.redhat.com/browse/THREESCALE-11620)
2627

2728
### Added
2829

File renamed without changes.

spec/policy/fapi/fapi_spec.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ end)
9292

9393
describe('fapi_1 advance profile', function()
9494
local context = {}
95+
local ngx_req_headers = {}
9596
before_each(function()
9697
context = {
9798
jwt = {},
@@ -104,6 +105,8 @@ describe('fapi_1 advance profile', function()
104105
}
105106

106107
ngx.header = {}
108+
ngx_req_headers = {}
109+
stub(ngx.req, 'get_headers', function() return ngx_req_headers end)
107110
stub(ngx, 'print')
108111
stub(ngx, 'exit')
109112
context.jwt = {}

0 commit comments

Comments
 (0)