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


class SampleBlueprintComponent(AbstractPythonComponentFunction):

    def __init__(self):
        AbstractPythonComponentFunction.__init__(self)

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

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