aboutsummaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/test-blueprint/capability_python/Scripts/python/SamplePythonComponentNode.py
blob: 1ee41825dcc3297a4804ae754e31de4ff18e4309 (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