Closed sfoulkes closed 12 years ago
mnorman: Hopefully this is what you wanted. It introduces into WMTask a new value primarySubtypes which defaults to the taskType if not set, and is called by WMBSHelper.
Unfortunately, the unittest for Subscription ended up in #2343 by accident.
sfoulkes: (In 2767c95607750d99a7eeaa8a1ee4a7fc8593d2aa) Fixup WMBS subscription types. Fixes #2349.
From: Matt Norman mnorman@fnal.gov Signed-off-by: Steve Foulkes sfoulkes@fnal.gov
Two problems: Creating a subscription with an unknown (to WMBS) subscription type fails silently. The new subscription type should just be added to the wmbs_sub_types table.
Secondly, we currently use the taskType as the subscription type. This doesn't work for the MonteCarloFromGEN workflow. It's a processing workflow but needs to run in resource control as "Production". We'll need to support this for the Tier0 as well which will have a bunch of processing workflows that will run as different things in Resource Control (Repack, Reco, Express, etc.)