Closed Bug 804268 Opened 12 years ago Closed 12 years ago

[middleware] Provide a middleware entry point to get all operating systems and their codes

Categories

(Socorro Graveyard :: Middleware, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: adrian)

References

Details

(Whiteboard: [qa-])

The middleware should provide a an endpoint that returns a list of operating systems keyed by their name and their code. E.g. to replace this hack:
https://github.com/mozilla/socorro-crashstats/blob/master/crashstats/crashstats/models.py#L221-240

NOTE: Without updates to the documentation this bug will not be resolved.
Depends on: 799280
Assignee: nobody → adrian
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → Future
Blocks: 804292
Blocks: 790642
Target Milestone: Future → 26
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/7928eaf8a58439665c74a1006f6af43f4f3fb9b9
Fixes bug 804268 - Added a platforms/ service to the middleware.

https://github.com/mozilla/socorro/commit/690e93f4e9e442b04800dc93352e0d2490cc4d58
Merge pull request #900 from AdrianGaudebert/804268-middleware-platforms-service

Fixes bug 804268 - Added a platforms/ service to the middleware.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
It was my idea to make this depend on the middleware_app (which is code complete by the way) but I guess we can actually start using this new endpoint in django. Aka. https://bugzilla.mozilla.org/show_bug.cgi?id=804292
:adrian do you want to take that one?
Whiteboard: [qa-]
Commits pushed to master at https://github.com/mozilla/socorro-crashstats

https://github.com/mozilla/socorro-crashstats/commit/a5d5f8463ff0e6539a718ec1e9527b7b187936f2
Fixes bug 804268 - New way of pulling products from the middleware.

https://github.com/mozilla/socorro-crashstats/commit/d3d34c18b2dd8435adb0683673d1a99610ee091c
Merge pull request #240 from AdrianGaudebert/804268-new-products-service-in-middleware

Fixes bug 804268 - New way of pulling products from the middleware.
This is on stage to be shipped with 25.
Target Milestone: 26 → 25
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.