Closed Bug 930015 Opened 11 years ago Closed 10 years ago

hardcoded resources cause trouble in the middleware

Categories

(Socorro Graveyard :: Middleware, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lars, Assigned: adrian)

References

Details

(Whiteboard: [qa-])

in the middleware_app, there is reference to old style file system and old hbase classes when setting up configman.  No resource classes should be imported into middleware_app.py. Doing so hard codes these requirements in the middleware.  We cannot remove these old classes until these are gone.

1) remove the imports
2) replace the 'defaults' in the configman add_option setup with strings representing complete package name of the external resource like this: default='socorro.external.fs.crashstorage.FSRadixTreeStorage'

in addition, the "implementation_list" key also refers to the old classes.
This is an extension of what I started to work on in bug 908798.
Depends on: 908798
This was resolved with bug 948533.
Status: NEW → RESOLVED
Closed: 10 years ago
OS: Linux → All
Hardware: x86_64 → All
Resolution: --- → FIXED
Whiteboard: [qa-]
Target Milestone: --- → 75
Product: Socorro → Socorro Graveyard
You need to log in before you can comment on or make changes to this bug.