diff options
author | 2019-02-13 15:45:50 -0500 | |
---|---|---|
committer | 2019-02-15 16:05:09 -0500 | |
commit | cfc807955c9cae60bce983e4f4ac951bf37ecc20 (patch) | |
tree | 3e019a689685b7b9d1360fb78966b44d6b6f7c6a /components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py | |
parent | 0928983b9875877e06eae506043f289e334f91a0 (diff) |
Python library for Jython execution
Change-Id: Iee2701b4dade7207950f17c92ea1265c361cf803
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.py | 10 |
1 files changed, 8 insertions, 2 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 index 8f68bfec..6ec5d82a 100644 --- a/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py +++ b/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py @@ -1,12 +1,18 @@ from abstract_ra_processor import AbstractRAProcessor +from blueprint_constants import * class SampleRAProcessorFunction(AbstractRAProcessor): + def __init__(self): + AbstractRAProcessor.__init__(self) + def process(self, execution_request): - print "Processing calling.." + AbstractRAProcessor.process(self, execution_request) + print "Processing calling.." + PROPERTY_BLUEPRINT_BASE_PATH return None def recover(self, runtime_exception, execution_request): - print "Recovering calling.." + AbstractRAProcessor.recover(self, runtime_exception, execution_request) + print "Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH return None |