aboutsummaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/modules/services/execution-service/src/test/resources/scripts/SamplePythonComponentNode.py
blob: f1b614a5911517d7d676ad8bf64b37164ef5e445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from abstract_blueprint_function import AbstractPythonComponentFunction
from blueprint_constants import *


class SamplePythonComponentNode(AbstractPythonComponentFunction):

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

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