Closed
Bug 972881
Opened 11 years ago
Closed 11 years ago
Add hooks to Bugzilla/WebService/Server/REST.pm to allow for extensions to extend and alter REST data
Categories
(Bugzilla :: WebService, enhancement)
Bugzilla
WebService
Tracking
()
RESOLVED
FIXED
Bugzilla 5.0
People
(Reporter: dkl, Assigned: dkl)
References
Details
Attachments
(1 file, 1 obsolete file)
6.38 KB,
patch
|
glob
:
review+
|
Details | Diff | Splinter Review |
We need to have hooks in place to allow extensions to add or override standard REST methods and to be able to update the data coming in and going out.
Patch coming
dkl
Assignee | ||
Updated•11 years ago
|
Severity: normal → enhancement
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → Bugzilla 5.0
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8376340 -
Flags: review?(glob)
![]() |
||
Comment 2•11 years ago
|
||
Code hooks must be documented in Bugzilla/Hook.pm.
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8376340 [details] [diff] [review]
972881_1.patch
Forgot about documentation so new patch coming.
dkl
Attachment #8376340 -
Flags: review?(glob)
Assignee | ||
Comment 4•11 years ago
|
||
Added example code and docs.
Attachment #8376340 -
Attachment is obsolete: true
Attachment #8379497 -
Flags: review?(glob)
Comment on attachment 8379497 [details] [diff] [review]
972881_2.patch
r=glob
Attachment #8379497 -
Flags: review?(glob) → review+
Updated•11 years ago
|
Flags: approval? → approval+
Assignee | ||
Comment 6•11 years ago
|
||
Committing to: bzr+ssh://dlawrence%40mozilla.com@bzr.mozilla.org/bugzilla/trunk
modified Bugzilla/Hook.pm
modified Bugzilla/WebService/Util.pm
modified Bugzilla/WebService/Server/REST.pm
modified extensions/Example/Extension.pm
Committed revision 8931.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•