Change-Id: I2a26ce21ca5127ddb0b32e1f645a544e83f5503f Former-commit-id:b95a96f4c9
[formerly0f3c791120
] [formerlyb95a96f4c9
[formerly0f3c791120
] [formerlyd79cfe8ad1
[formerly 5c707a35dcaedf5ae37119e56503aa8af59631fc]]] Former-commit-id:d79cfe8ad1
Former-commit-id:4fdb3c8306
[formerly75c95e83ef
] Former-commit-id:2178fac70d
39 lines
1.3 KiB
Python
39 lines
1.3 KiB
Python
##
|
|
# This software was developed and / or modified by Raytheon Company,
|
|
# pursuant to Contract DG133W-05-CQ-1067 with the US Government.
|
|
#
|
|
# U.S. EXPORT CONTROLLED TECHNICAL DATA
|
|
# This software product contains export-restricted data whose
|
|
# export/transfer/disclosure is restricted by U.S. law. Dissemination
|
|
# to non-U.S. persons whether in the United States or abroad requires
|
|
# an export license or other authorization.
|
|
#
|
|
# Contractor Name: Raytheon Company
|
|
# Contractor Address: 6825 Pine Street, Suite 340
|
|
# Mail Stop B8
|
|
# Omaha, NE 68106
|
|
# 402.291.0100
|
|
#
|
|
# See the AWIPS II Master Rights File ("Master Rights File.pdf") for
|
|
# further licensing information.
|
|
##
|
|
|
|
|
|
#
|
|
# Provides a controller to fire off processors
|
|
#
|
|
#
|
|
# SOFTWARE HISTORY
|
|
#
|
|
# Date Ticket# Engineer Description
|
|
# ------------ ---------- ----------- --------------------------
|
|
# 07/09/09 chammack Initial Creation.
|
|
#
|
|
#
|
|
#
|
|
|
|
def process(statusMessage, alertMetadata, globalConfiguration):
|
|
script = str(alertMetadata.getPythonScript())[:-3]
|
|
module = __import__(script)
|
|
clazz = module.__dict__.get(script)
|
|
clazz().process(statusMessage, alertMetadata, globalConfiguration)
|