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


class SampleRAProcessorFunction(AbstractRAProcessor):

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

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