Python library for Jython execution
[ccsdk/cds.git] / components / scripts / python / ccsdk_blueprints / sample_ra_processor_function.py
1 from abstract_ra_processor import AbstractRAProcessor
2 from blueprint_constants import *
3
4
5 class SampleRAProcessorFunction(AbstractRAProcessor):
6
7     def __init__(self):
8         AbstractRAProcessor.__init__(self)
9
10     def process(self, execution_request):
11         AbstractRAProcessor.process(self, execution_request)
12         print "Processing calling.." + PROPERTY_BLUEPRINT_BASE_PATH
13         return None
14
15     def recover(self, runtime_exception, execution_request):
16         AbstractRAProcessor.recover(self, runtime_exception, execution_request)
17         print "Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH
18         return None