Exemple #1
0
    def __init__(self, rest, kv_store, bucket="default"):
        self.state = "initializing"
        self.res = None
        Thread.__init__(self)

        self.client = KVStoreAwareSmartClient(rest, bucket, kv_store)
        self.kv_helper = KVStoreSmartClientHelper()
Exemple #2
0
 def run(self):
     validation_failures = KVStoreSmartClientHelper.do_verification(
         self.client)
     self.set_result({"status": "success", "value": validation_failures})
Exemple #3
0
 def run(self):
     validation_failures = KVStoreSmartClientHelper.do_verification(self.client)
     self.set_result({"status": "success", "value": validation_failures})