1. 06 Aug, 2019 1 commit
  2. 31 Jul, 2019 1 commit
  3. 06 Mar, 2019 1 commit
  4. 06 Feb, 2019 1 commit
  5. 05 Feb, 2019 2 commits
    • grid.promise: do not fail if message is None · 1213a413
      Alain Takoudjou committed
    • grid.promise: add support for promise without test or anomaly · 1dba7a89
      Support for promise test-less or anomaly-less allow to disable either the test phase or the anomaly phase.
      
      by default, test and anomaly are enabled. Test will run when buildout is processing the computer partition, and anomaly when the partition is processed.
      
      Call `self.setTestLess()` in __init__.py of the promise will disable Test and set `__is_tested = False`. Call `self.setAnomalyLess()` will rather disable Anomaly and set `__is_anomaly_detected = False`.
      
      If the promise is test less, then slapgrid will not run the promise while processing the partition which mean that the promise will not report error, only Anomaly will be checked. Samething, if promise is anomaly less, only test will run when slapgrid is processing the partition.
      Alain Takoudjou committed
  6. 14 Dec, 2018 1 commit
  7. 26 Nov, 2018 1 commit
  8. 27 Apr, 2018 1 commit
  9. 19 Apr, 2018 1 commit
  10. 09 Apr, 2018 1 commit
  11. 29 Mar, 2018 1 commit
  12. 19 Mar, 2018 1 commit
    • grid.promise: implement a new promise launcher in slapgrid · f7eadb26
      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
      Alain Takoudjou committed