Refactor GCN handling to make it easier to add new functionality
This is untested, but shows the basic idea I have in mind.
- All GCN-related functionality now resides in
gwcelery.tasks.gcn
. - I introduced the decorator
gwcelery.tasks.gcn.handler
to register a Celery task to handle GCN notices belonging to a given list of notice types.
CC @shaon.ghosh and @patrick-brady.
Edited by Leo P. Singer