Closed
Bug 1346996
Opened 8 years ago
Closed 8 years ago
expose setup_product_id_map() query as an api service
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lonnen, Assigned: lonnen)
References
Details
Attachments
(1 file)
Expose the setup_product_id_map function as an API endpoint.
def setup_product_id_map(...)
...
for():
product_id_map[productid] = {
'product_name': product_name,
'rewrite': rewrite
}
...
return product_id_map
This provides a lookup table in ram for product_productid_map in the ProductRewrite Rule.
This or an equivalent may already exist.
Updated•8 years ago
|
Assignee: nobody → chris.lonnen
Status: NEW → ASSIGNED
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla-services/socorro
https://github.com/mozilla-services/socorro/commit/feed782291643b4fbf5bcd1885c6af51b60c890b
Merge pull request #4210 from mozilla-services/1346996-add-product-id-map-api
fixes bug 1346996 - adds new product_id_map api endpoint
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•