summaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_blueprints/sample_blueprint_component.py
diff options
context:
space:
mode:
authorMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>2018-11-19 12:48:31 -0500
committerMuthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>2018-11-28 19:46:23 -0500
commit421823b343881c6d1690be8b1082a878764635f2 (patch)
tree02bc51155236cee4225d037c6bc6a010c339fbd9 /components/scripts/python/ccsdk_blueprints/sample_blueprint_component.py
parentd05548a629e3612f3512f57390469bee392bbe18 (diff)
Implement Base Jython Executor function.
Change-Id: I3fb066a021de4a7b3aa1fce7f6c191bc3944fb51 Issue-ID: CCSDK-696 Signed-off-by: Muthuramalingam, Brinda Santh(bs2796) <bs2796@att.com>
Diffstat (limited to 'components/scripts/python/ccsdk_blueprints/sample_blueprint_component.py')
-rw-r--r--components/scripts/python/ccsdk_blueprints/sample_blueprint_component.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/scripts/python/ccsdk_blueprints/sample_blueprint_component.py b/components/scripts/python/ccsdk_blueprints/sample_blueprint_component.py
new file mode 100644
index 000000000..62665dc8f
--- /dev/null
+++ b/components/scripts/python/ccsdk_blueprints/sample_blueprint_component.py
@@ -0,0 +1,12 @@
+from abstract_blueprint_function import AbstractPythonComponentFunction
+from blueprint_constants import *
+
+class SampleBlueprintComponent(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