blob: acf12b333e08a84f449a1cf203619a525e091c2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
from abstract_ra_processor import AbstractRAProcessor
from blueprint_constants import *
class SampleRAProcessor(AbstractRAProcessor):
def __init__(self):
AbstractRAProcessor.__init__(self)
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
|