Skip to content

Refactor GCN handling to make it easier to add new functionality

Leo P. Singer requested to merge leo-singer/gwcelery:refactor-gcn-handler into master

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

Merge request reports