Skip to content

Commit

Permalink
Merge pull request #1528 from tkan145/fapi-wrong-config
Browse files Browse the repository at this point in the history
[THREESCALE-11620] Financial-grade API (FAPI) policy not showning up in admin portal
  • Loading branch information
tkan145 authored Jan 29, 2025
2 parents b239c31 + b8195d2 commit 806c396
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Fixed dns cache miss [PR #1500](https://github.com/3scale/APIcast/pull/1500) [THEESCALE-9301](https://issues.redhat.com/browse/THREESCALE-9301)
- 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)
- Remove "$id" from the policy schema [PR #1525](https://github.com/3scale/APIcast/pull/1525) [THEESCALE-11610](https://issues.redhat.com/browse/THREESCALE-11610)
- 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)

### Added

Expand Down
3 changes: 3 additions & 0 deletions spec/policy/fapi/fapi_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ end)

describe('fapi_1 advance profile', function()
local context = {}
local ngx_req_headers = {}
before_each(function()
context = {
jwt = {},
Expand All @@ -104,6 +105,8 @@ describe('fapi_1 advance profile', function()
}

ngx.header = {}
ngx_req_headers = {}
stub(ngx.req, 'get_headers', function() return ngx_req_headers end)
stub(ngx, 'print')
stub(ngx, 'exit')
context.jwt = {}
Expand Down

0 comments on commit 806c396

Please sign in to comment.