Bug 427892
Summary: | replace XMLRPC function editComponent with Component.update() | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Bugzilla | Reporter: | Noura El hawary <nelhawar> | ||||
Component: | WebService | Assignee: | Noura El hawary <nelhawar> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 3.2 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2008-03-18 20:35:32 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 406071, 406131, 427053 | ||||||
Attachments: |
|
Description
Noura El hawary
2008-01-08 02:02:22 UTC
Created attachment 291826 [details]
new WebService Module Component.pm with xmlrpc function edit()
attached is the new WebService module Component.pm I added to it xmlrpc
function edit() which should replace our function editComponent().
One thing we need to discuss is that ,, in our current rh_bugzilla_2_18 we have
in the xmlrpc function editComponent() code to re-assign bugs of the component,
I am not really sure if we have to do that for the new function attached here
which is edit() ?? In my opinion it is not necessary, and I think this
functionality is rarely used.
Noura
LOC Estimation: Inputs: hasref with component&product names and fields that will be edited = 1 Outputs: authentication errors , input validation errors, logging messages, hashref with changes details = 4 Inquiries: components data , user data, product data = 3 Logical files: Zero External files = Zero FP total count(simple weighting factor)= (3*1)+(4*4)+(3*3)+(7*0)+(5*0)= 25 FP = 25 * 1.11 = 28 LOC = 28 * 60 = 1680 For Unit testing: 100 LOC for one xmlrpc testcase total LOC = 1680+100 = 1780 LOC changed the code for WebService Function Bugzilla::WebService::Component::update() submitted code upstream for review. updated code to throw and error when updating name of multiple components of the same product + added POD This feature is included now in Milestone 2. Any bugs found with this feature should be file as a new report and set to block the 3.2 final release tracker. |