• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TykTechnologies / tyk / 4288
55%
master: %

Build:
Build:
LAST BUILD BRANCH: v2.9.4.8
DEFAULT BRANCH: master
Ran 02 Mar 2018 09:20AM UTC
Jobs 1
Files 87
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
4288

push

travis-ci

buger
create/get keys with hashed keys logic added (#1499)

added changes for https://github.com/TykTechnologies/tyk/issues/1256

- creating key - `POST /keys/create`, `POST /keys` and `POST /keys/{keyName}` also return field `"key_hash"` if key hashing is switched on
- get all (or per API) keys  - `GET /keys` returns list of key hashes if key hashing is switched on
- get one key info by hash `GET /keys/{keyName}?hashed=true"`
- `DELETE /keys/{keyName}?hashed=true"` - remains the same (delete by hash)

one more thing for documenting:
- added new config value `"enable_hashed_keys_listing"` with `"false"` by default

this config value controls access to `GET /keys` when keys are hashed.
- so, if `"hash_keys":true` and `"enable_hashed_keys_listing":false` then `GET /keys` will return 404 with explanation why
- if `"hash_keys":true` and `"enable_hashed_keys_listing":true` then `GET /keys` will return 200 with list of hashes

141 of 141 new or added lines in 14 files covered. (100.0%)

7887 of 14297 relevant lines covered (55.17%)

0.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
mw_openid.go
1
100.0
mw_virtual_endpoint.go
2
100.0
mw_js_plugin.go
2
100.0
mw_organisation_activity.go
2
100.0
oauth_manager.go
4
100.0
ldap_auth_handler.go
4
100.0
rpc_storage_handler.go
6
100.0
auth_manager.go
32
100.0
api.go
Jobs
ID Job ID Ran Files Coverage
1 4288.1 (LATEST_GO=true) 02 Mar 2018 09:20AM UTC 0
55.17
Travis Job 4288.1
Source Files on build 4288
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4288
  • ff84c0e1 on github
  • Next Build on conf-example-edit (#4289)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc