mozilla/socorro — pull request #1054 by twobraids (2013-01-17 06:43:39+00:00)
Title: (really) fixes Bug 828609 - modified submitter_app to take on cron_submitter's role

The submitter_app has been modified so that it can do the same thing that the cron_submitter.sh script could do.

Using an SQL SELECT that returns a list of crash_ids, the submitter will fetch the crashes from HBase and then resubmit the crashes to the waiting staging collector.

the file .../config/cron_submitter.ini-dist gives the details to configure the submitter_app to do this. Just fixup the PG credentials, HBase host, and staging submission URL, invoke

python $SOCORRO_HOME/socorro/collector/submitter_app.py --admin.conf=$SOCORRO_HOME/config/cron_submitter.ini

This enhanced submitter has other uses too. Since it can accept arbitrary SQL, crashes with any special criteria