ca0be5761ec581cc4a8b478b1e79912cb7315066
[ccsdk/cds.git] / components / scripts / python / ccsdk_blueprints / sample_blueprint_component.py
1 from .abstract_blueprint_function import AbstractPythonComponentFunction
2 from .blueprint_constants import *
3
4
5 class SampleBlueprintComponent(AbstractPythonComponentFunction):
6
7     def __init__(self):
8         AbstractPythonComponentFunction.__init__(self)
9
10     def process(self, execution_request):
11         super(SamplePythonComponentNode, self).process(execution_request)
12         print("Processing calling..." + PROPERTY_BLUEPRINT_BASE_PATH)
13         return None
14
15     def recover(self, runtime_exception, execution_request):
16         super(SamplePythonComponentNode, self).recover(runtime_exception, execution_request)
17         print("Recovering calling..." + PROPERTY_BLUEPRINT_BASE_PATH)
18         return None