Closed Bug 747201 Opened 12 years ago Closed 11 years ago

Create new extension that exports a REST based API as Bugzilla WebService on BMO

Categories

(bugzilla.mozilla.org :: API, enhancement)

Production
enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 880669

People

(Reporter: dkl, Assigned: dkl)

References

()

Details

(Whiteboard: [q2 goal][ateamtrack: p=bugzilla q=2013q2 m=3])

Create new extension that provides a REST API WebService for clients of BMO to access Bug and other data. This allows the REST API to be run natively against the BMO database instead of using a proxy (BzAPI) that clients must connect to now.

Requirements:

1. Run natively and access Bugzilla data directly leading to better performance
2. Must be compatible as much as possible with the current BzAPI
3. Be coded as extension allow admins to drop in support for REST to their Bugzilla instance
   without modifying core Bugzilla code.

Long Term Goals:

1. Extend the REST API to allow further access to data than what is currently available    through BzAPI
2. Move from an extension into the Core Bugzilla WebService code itself after review and
   acceptance by the upstream.

Dkl
Whiteboard: [q2 goal]
dkl: can you stick the existing code in the extensions directory in the bzr repo?

Did we ever talk about the right name for the extension? I'd probably call it RestAPI. Please don't call it BzAPI - there's already a small extension called that which is part of the existing BzAPI, and there will be dreadful confusion.

Gerv
(In reply to Gervase Markham [:gerv] from comment #1)
> dkl: can you stick the existing code in the extensions directory in the bzr
> repo?

Sure

> Did we ever talk about the right name for the extension? I'd probably call
> it RestAPI. Please don't call it BzAPI - there's already a small extension
> called that which is part of the existing BzAPI, and there will be dreadful
> confusion.

I will not call it BzAPI even though it is striving to be compatible with it. I would like to call it simply 'REST' as it is now instead of something like RestAPI which seems redundant to me. Also the parts of the BzAPI BMO extension can (and probably will be) added to the REST extension so that the former can be removed.

dkl
Hi dkl,

Still hoping to see the REST extension show up here:
http://bzr.mozilla.org/bugzilla/extensions/

:-)

Gerv
The existing API is still running on a single random system in the community network.  How is this work coming along to replace that?
:dustin: that's bug 743916.

Gerv
Current code that i have so far is now viewable at:

http://bzr.mozilla.org/bugzilla/extensions/rest/files

Will start up again this week on this as we still trying to get this available sooner rather than later.

dkl
Any progress?  We're running low on IPs in the community space, so I'd like to be able to retire the current Bugzilla API host (bug 743916) soon.
Depends on: 775519
Depends on: 779088
Depends on: 866927
Whiteboard: [q2 goal] → [q2 goal][ateamtrack: p=bugzilla q=2013q2 m=3]
Blocks: 885464
Closing this as we are doing this differently now and tacking this in bug 880669.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Component: Extensions: REST → API
You need to log in before you can comment on or make changes to this bug.