Closed Bug 1212917 Opened 9 years ago Closed 9 years ago

Unify the iterator models of the Socorro back end apps

Categories

(Socorro :: Backend, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lars, Assigned: lars)

References

Details

unify the iterator models between the processor and submitter families of FTS apps.  Since the correlation reports will be encoded as TransformRules, this means using the processor as the base app class.  However, the processor is long running and its iteratation system doen't ever raise the StopIteration exception.  The submitter app class has the ability to allow an iterator to run to exhaustion and then quit, but doesn't have a good method of using a TransformRule system.

Push all the iteration down to the FetchTransformSaveApp class rather that repeating components through the class hierarchy.  Give the processor the ability to limit iteration to "forever", "all" or a specific number of iterations.
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/cfa753c2803777e7b7e738cfb4735f197ce7beb5
Merge pull request #3025 from twobraids/again_with_iteration

fixes Bug 1212917 - refactor iteration - push to base classes
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/cfa753c2803777e7b7e738cfb4735f197ce7beb5
Merge pull request #3025 from twobraids/again_with_iteration
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/16dc1bc5c2eec416de86705d10e6d8e9a7a2069f
Merge pull request #3046 from twobraids/yet_again_with_iteration

fixes Bug 1212917: cleanup of the iterator refactoring
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/16dc1bc5c2eec416de86705d10e6d8e9a7a2069f
Merge pull request #3046 from twobraids/yet_again_with_iteration
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/16dc1bc5c2eec416de86705d10e6d8e9a7a2069f
Merge pull request #3046 from twobraids/yet_again_with_iteration
You need to log in before you can comment on or make changes to this bug.