Closed Bug 1132455 Opened 10 years ago Closed 10 years ago

upgrade to django-rest-framework 3

Categories

(Input :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

(Whiteboard: u=dev c=codequality p=2 s=input.2015q2)

Input has several API endpoints which are implemented in various ways, but all use django-rest-framework. At the time of this writing, we're using version 2.4.4 (bug #934979). At the time of creating this bug, the latest version of django-rest-framework is 3.0.5. Between 2.4.4 and 3, there were a variety of non-trivial API changes in the library which are covered in some detail here: http://www.django-rest-framework.org/topics/3.0-announcement/ This bug covers upgrading to django-rest-framework 3.0.5 (or some later version) and updating the Fjord API code accordingly.
Whiteboard: u=dev c=codequality p= s=
Tossing this in the 2015q2 sprint to look into whether this blocks Django 1.8 upgrade. For now, I'm going to make this block if only to answer the question: Does this block the Django 1.8 upgrade?
Blocks: 1146686
Whiteboard: u=dev c=codequality p= s= → u=dev c=codequality p= s=input.2015q2
It does block the Django 1.8 upgrade. Plus it really should get done. I've been fiddling with DRF code recently and because the DRF2 docs aren't available anymore, I keep accidentally reading DRF3 docs and I've become somewhat versed in the differences that affect Input. Given that, I'm going to grab it and do it this week.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
In a PR: https://github.com/mozilla/fjord/pull/580 Took a full day plus there's probably some additional work to do, so I'm making it 2 points.
Whiteboard: u=dev c=codequality p= s=input.2015q2 → u=dev c=codequality p=2 s=input.2015q2
Retro-actively making this a P1 since it blocked the django 1.8 upgrade and it really needed to happen.
Priority: -- → P1
I watched the Input health dashboard, incoming input, the heartbeat error log and my inbox. I got no error email. Heartbeat looks fine. The number of successes and errors is in line with what it's been for a while. The error log isn't showing a spat of errors. Feedback looks fine. We're getting happy and sad requests. We're seeing the same number of API-using and non-API-using requests. Product breakdown looks ok. Platform breakdown looks ok. We continue to see email and remote-troubleshooting optins. Ratelimiting for alleviating double-submits seems fine. My dashboards are working and franklin is working, too. I haven't heard anything about alerts, but I'm assuming it's ok or I'd have heard back by now. Given all that, closing this out.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.