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