aboutsummaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
blob: 6ec5d82ab189289707472fd6f418ecfc06a45f11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from abstract_ra_processor import AbstractRAProcessor
from blueprint_constants import *


class SampleRAProcessorFunction(AbstractRAProcessor):

    def __init__(self):
        AbstractRAProcessor.__init__(self)

    def process(self, execution_request):
        AbstractRAProcessor.process(self, execution_request)
        print "Processing calling.." + PROPERTY_BLUEPRINT_BASE_PATH
        return None

    def recover(self, runtime_exception, execution_request):
        AbstractRAProcessor.recover(self, runtime_exception, execution_request)
        print "Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH
        return None