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

allegro / ralph_pricing / 1753
77%

Build:
DEFAULT BRANCH: develop
Ran 27 Sep 2016 07:27AM UTC
Jobs 2
Files 201
Run time 4min
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
1753

push

travis-ci

mkurek
Migrate API to DjRF (#507)

The purpose of this PR is to switch `pricingserviceusages` API endpoint do Django Rest Framework (from TastyPie). The structure of data that can be sent/fetched to/from this endpoint didn't change in order to keep backward compatibility.

This PR also adds custom authentication scheme `TastyPieLikeTokenAuthentication`, which extends DjRF's `TokenAuthentication` with support of `Authorization` header in the format that is expected by TastyPie.

It also gives `/scrooge/api-token-auth/` endpoint for generation of DjRF's API keys.

To facilitate TastyPie -> DjRF migration, `scrooge_migrate_api_keys` management command is provided, which copies API keys that already have been generated by TastyPie into a structure used by DjRF.

7854 of 9544 relevant lines covered (82.29%)

1.65 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1753.1 (DJANGO_VERSION=1.4.18 TEST_DATABASE_ENGINE=mysql) 27 Sep 2016 07:32AM UTC 0
82.27
Travis Job 1753.1
2 1753.2 (DJANGO_VERSION=1.4.18 TEST_DATABASE_ENGINE=sqlite) 27 Sep 2016 07:27AM UTC 0
82.28
Travis Job 1753.2
Source Files on build 1753
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1753
  • 06d05d15 on github
  • Prev Build on develop (#1721)
  • Next Build on develop (#1761)
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

© 2026 Coveralls, Inc