aboutsummaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
blob: 5e789815be0f0cffd501f0b2d5a659b3c8ad2b4b (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