aboutsummaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
diff options
context:
space:
mode:
authorSteve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-02-11 23:35:16 -0500
committerSteve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>2019-02-12 08:07:00 -0500
commitdba22de28e496ae2d6d2fde9384fd1187e4b8fc1 (patch)
tree3c9edcec4e2f6fd013ad6514c7678979734b44f0 /components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
parentd4b9a331a88feea62872c4ae85f4ae1b738c6f60 (diff)
Jython execution component and service
Change-Id: I2610e73a9c7ba073b5fa9d148dcd6fb5b9ad9ae3 Issue-ID: CCSDK-696 Signed-off-by: Steve Alphonse Siani <alphonse.steve.siani.djissitchi@ibm.com>
Diffstat (limited to 'components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py')
-rw-r--r--components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py b/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
new file mode 100644
index 00000000..8f68bfec
--- /dev/null
+++ b/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
@@ -0,0 +1,12 @@
+from abstract_ra_processor import AbstractRAProcessor
+
+
+class SampleRAProcessorFunction(AbstractRAProcessor):
+
+ def process(self, execution_request):
+ print "Processing calling.."
+ return None
+
+ def recover(self, runtime_exception, execution_request):
+ print "Recovering calling.."
+ return None