Closed
Bug 962264
Opened 11 years ago
Closed 10 years ago
Switch to native bugzilla API instead of BzAPI Proxy
Categories
(Socorro :: Webapp, task)
Tracking
(Not tracked)
RESOLVED
FIXED
95
People
(Reporter: peterbe, Assigned: peterbe)
References
(Blocks 1 open bug)
Details
All cases where we use the old BzAPI Proxy we should switch to the new native REST API.
Comment 1•11 years ago
|
||
Has the native REST API already shipped on bmo? I thought it wasn't deployed yet (but if it is, I'd be happy to know as I'd love to convert my own stuff to a more efficient API any time).
Comment 2•11 years ago
|
||
(In reply to Robert Kaiser (:kairo@mozilla.com) from comment #1)
> Has the native REST API already shipped on bmo? I thought it wasn't deployed
> yet (but if it is, I'd be happy to know as I'd love to convert my own stuff
> to a more efficient API any time).
Yes! I was pointed to it recently for a different project, and it was mentioned today at the "mozilla dashcon" miniconf. e.g.:
https://bugzilla.mozilla.org/rest/bug/543210
Comment 3•10 years ago
|
||
As a first step, we should just switch to the compat API, which only needs a URL change and nothing else: https://dlawrence.wordpress.com/2014/06/20/bzapi-compatibility-api-has-been-rolled-out-to-production-bmo/
For the longer run, the docs to what we should switch to are at http://www.bugzilla.org/docs/tip/en/html/api/Bugzilla/WebService/Bug.html#search
Assignee | ||
Comment 4•10 years ago
|
||
Thanks :kairo! I totally missed that. However, I think I'll just make the migration directly to the new API straight away. It shouldn't be that hard.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•10 years ago
|
||
Comment 6•10 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/5c6c4e3ae9b6af49342cf896b93f1f596f8b1cea
fixes bug 962264 - Switch to native bugzilla API instead of BzAPI Proxy
https://github.com/mozilla/socorro/commit/7fbf08a7a0439889933acc206ad3649ecb5e143d
Merge pull request #2226 from peterbe/bug-962264-switch-to-native-bugzilla-api-instead-of-bzapi-proxy
fixes bug 962264 - Switch to native bugzilla API instead of BzAPI Proxy
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 95
You need to log in
before you can comment on or make changes to this bug.
Description
•