hardcoded resources cause trouble in the middleware

RESOLVED FIXED in 75

Status

Socorro Graveyard
Middleware
RESOLVED FIXED
4 years ago
a year ago

People

(Reporter: lars, Assigned: adrian)

Tracking

unspecified

Details

(Whiteboard: [qa-])

(Reporter)

Description

4 years ago
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.
(Assignee)

Comment 1

4 years ago
This is an extension of what I started to work on in bug 908798.
Depends on: 908798
(Assignee)

Comment 2

4 years ago
This was resolved with bug 948533.
Status: NEW → RESOLVED
Last Resolved: 4 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.