Closed Bug 1159746 Opened 10 years ago Closed 9 years ago

Move receipt verifier code to django

Categories

(Marketplace Graveyard :: Code Quality, enhancement, P3)

Avenir
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mat, Unassigned)

References

Details

(Whiteboard: [marketplace-transition])

The receipt verifier code that lives in zamboni (in services/utils.py and services/verify.py) is not a django app, it does its SQL queries and URL parsing etc manually. It was an optimisation copied over from AMO's version check service, but it does not receive the same kind of traffic, so there is no good reason for the increased complexity. We should change it to use django ORM and stop doing the hacks it does to instantiate django manually in services/utils.py. The whole thing could probably live in mkt/receipt/ See also discussion in bug 1159220.
Severity: normal → enhancement
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Whiteboard: [marketplace-transition]
You need to log in before you can comment on or make changes to this bug.