Closed Bug 800177 Opened 12 years ago Closed 12 years ago

[middleware] Move old crash service into middleware_app and document it

Categories

(Socorro Graveyard :: Middleware, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: peterbe, Assigned: adrian)

References

Details

The old /crash/<format>/by/uuid/<uuid> is served from:
https://github.com/mozilla/socorro/blob/master/socorro/services/getCrash.py

We should move that into middleware_app and document it. 

It might mean we need to write a default implementation in hbase for getting the raw data.
it won't mean writing anything new for hbase.  the service should have as a config option a crashstorage class that is set in configuration as HBase.  Then the service should just use the crashstorage API to fetch raw/dump/processed.
it addition, we need to have an implementation for the external.filesystem.crashstorage, too.  This is required to support installations that do not support HBase (including our own local HBase-free dev environments).
Blocks: 815309
Assignee: nobody → adrian
No longer blocks: 815309
Just adding more info to this bug, this is blocking new people from using the refactor socorro and webui which is lame :|
Pull request: https://github.com/mozilla/socorro/pull/1010

Peter, Rob and Lars are expected for review. :)
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/ebf5a80703d0b49c7bef38319ac4764f11d1c9b7
Fixes bug 800177 - Moved old getCrash service to a new style middleware service.

https://github.com/mozilla/socorro/commit/b7a07f152e91cdc8995c383da63413cc7d7af379
Merge pull request #1010 from AdrianGaudebert/800177-rewrite-crash-service

Fixes bug 800177 - Moved old getCrash service to a new style middleware ...
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Steps to QA
-----------

1. Go to report/list via search or topcrashers
2. Click any report to go to the report/index page
3. Verify that the page works normally (nothing should have changed from production)
4. Log in to verify that raw dump and raw json can be downloaded alright (Raw Dump tab)
OS: Mac OS X → All
Hardware: x86 → All
Target Milestone: --- → 32
Blocks: 822484
Target Milestone: 32 → 33
Target Milestone: 33 → 34
verified on stage.
Status: RESOLVED → VERIFIED
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.