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

TykTechnologies / tyk / 2608

Build:
DEFAULT BRANCH: master
Ran 11 Jul 2017 02:37PM UTC
Jobs 1
Files 84
Run time 4s
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
2608

push

travis-ci

buger
all: replace def RawData with simpler ConfigData

Before this commit, RawData was an entire copy of the APIDefinition as a
map[string]interface{}, all the way down. This was only used in a few
middlewares to obtain certain structured data via mapstructure.

In practice, this was only used to obtain the config_data field of type
map[string]interface{}.

Remove the entire copy of APIDefinition in memory and just add a
ConfigData field of type map[string]interface{}. This way, we can also
get rid of all the code that was gluing RawData to its final purpose.

This is in line with the changes being made in other repos to add
config_data to the API definition schema. We don't want to allow
arbitrary root fields - we only want to allow config_data, at least for
now. This makes sure that the gateway doesn't support anything else
unless we meant to.

5834 of 13534 relevant lines covered (43.11%)

0.47 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2608.1 (LATEST_GO=true) 11 Jul 2017 02:37PM UTC 0
43.11
Travis Job 2608.1
Source Files on build 2608
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2608
  • d42aac57 on github
  • Prev Build on master (#2606)
  • Next Build on master (#2607)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc