• Alain Takoudjou's avatar
    grid.promise: implement a new promise launcher in slapgrid · f7eadb26
    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
Name
Last commit
Last update
documentation Loading commit data...
master Loading commit data...
slapos Loading commit data...
.gitignore Loading commit data...
CHANGES.txt Loading commit data...
MANIFEST.in Loading commit data...
README.txt Loading commit data...
bootstrap.py Loading commit data...
buildout.cfg Loading commit data...
computer_definition.cfg.example Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
slapos-client.cfg.example Loading commit data...
slapos-proxy.cfg.example Loading commit data...
slapos.cfg.example Loading commit data...