aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/capability_python/Scripts/python/SamplePythonComponentNode.py
blob: 86c9ff141f7df977460fcbc4c71515b90085ff5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from org.onap.ccsdk.cds.blueprintsprocessor.functions.python.executor import JythonComponentFunction
from blueprint_constants import *


class SamplePythonComponentNode(JythonComponentFunction):

    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