Closed
Bug 872223
Opened 11 years ago
Closed 11 years ago
Create middleware service for data_dictionary table
Categories
(Socorro Graveyard :: Middleware, defect, P1)
Socorro Graveyard
Middleware
Tracking
(Not tracked)
RESOLVED
FIXED
50
People
(Reporter: selenamarie, Assigned: adrian)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
138.69 KB,
image/png
|
Details |
I'd like a middleware service that provides JSON to the front end, based on the data in the table data_dictionary, whose columns are: * raw_field: the breakpad variable in meta_data (HBase) * product: currently NULL, but important and interesting for differentiating between things like Fennec and B2G * transforms: a JSON blob that has keys and sometimes values that explain how a raw_field is transformed and also where it is transformed
Assignee | ||
Comment 1•11 years ago
|
||
Selena, do you want me to work on that?
OS: Linux → All
Hardware: x86_64 → All
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Adrian Gaudebert [:adrian] from comment #1) > Selena, do you want me to work on that? That would be awesome! :)
Updated•11 years ago
|
Assignee: nobody → adrian
Assignee | ||
Updated•11 years ago
|
Priority: -- → P1
Assignee | ||
Comment 3•11 years ago
|
||
Hey Selena, can you provide a short example of what the data looks like? Do you want the service to return exactly what the database has or should it perform some kind of transformation?
Flags: needinfo?(sdeckelmann)
Reporter | ||
Comment 4•11 years ago
|
||
Here's a screenshot of the existing spreadsheet that holds this data. I think just passing the whole JSON to the front-end is sufficient for now. As you can see from the spreadsheet, many columns have no information in them and it isn't easy to predict which columns will or won't be populated. Perhaps the best thing for the middleware to do is provide only those keys which have a value specified to the requestor.
Flags: needinfo?(sdeckelmann)
Updated•11 years ago
|
Target Milestone: --- → 51
Assignee | ||
Comment 5•11 years ago
|
||
Pull request: https://github.com/mozilla/socorro/pull/1284
Whiteboard: [qa-]
Comment 6•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro https://github.com/mozilla/socorro/commit/603cbbb497f26f853f70bab560cc41f8dd0f1375 Fixes bug 872223 - Added a field service to return data_dictionary information. r=peterbe https://github.com/mozilla/socorro/commit/840dad1bb3e335e2fadc263597ee9f22f38b20a9 Merge pull request #1284 from AdrianGaudebert/872223-fields-service Fixes bug 872223 - Added a field service to return data_dictionary infor...
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•11 years ago
|
Target Milestone: 51 → 50
Updated•8 years ago
|
Product: Socorro → Socorro Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•