summaryrefslogtreecommitdiffstats
path: root/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
diff options
context:
space:
mode:
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.py14
1 files changed, 14 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 000000000..fa821082e
--- /dev/null
+++ b/components/scripts/python/ccsdk_blueprints/sample_ra_processor_function.py
@@ -0,0 +1,14 @@
+from abstract_ra_processor import AbstractRAProcessor
+from blueprint_constants import *
+
+
+class SampleRAProcessorFunction(AbstractRAProcessor):
+
+ def process(self, resource_assignment):
+ print "Processing calling.." + PROPERTY_BLUEPRINT_BASE_PATH
+ self.set_resource_data_value(resource_assignment, "")
+ return None
+
+ def recover(self, runtime_exception, resource_assignment):
+ print "Recovering calling.." + PROPERTY_BLUEPRINT_BASE_PATH
+ return None