-
Alain Takoudjou authored
python promises can define sense, test and anomaly method. test method will be called by slapgrid or when no bang is needed for the promise anomaly method is called when a promise failure required to bang the master, anomaly method can be optional but it's not the case for test method. Slapgrid always run promises and save the result in .slapgrid/promise/result in a JSON format. The result will be used later by monitor When a partition is correctly deployed, slapgrid will only run promise anomaly and will bang if there is an error and if the failed promise can bang check promise anomaly when partition is upto date
f7eadb26