1. 04 Dec, 2019 5 commits
  2. 23 Jun, 2019 1 commit
  3. 22 Jun, 2019 7 commits
    • HacKan's avatar
      Bump version · 6dcfee47
      HacKan authored
      6dcfee47
    • HacKan's avatar
      Reword readme and update developers · 4f41ffc7
      HacKan authored
      Add collaborators section.
      4f41ffc7
    • HacKan's avatar
      Implement f-strings · 569fe296
      HacKan authored
      They're faster, prettier and whatnot, so just use only
      f-strings.
      569fe296
    • HacKan's avatar
      Show service status in uppercase · f0c721c8
      HacKan authored
      By just reading the logs or printing statuses, except for "OK"
      everything else was in lowercase, which made reading clearly
      a status in a quick glance quite difficult. Use uppercase for
      the statuses improving readability.
      f0c721c8
    • HacKan's avatar
      Redo Dockerfile · cc751a75
      HacKan authored
      Requirements were being installed unsafely. Redo Dockerfile so that
      hashes are properly used to install requirements.
      Name the version as 1.0.0, but note that this version is not related to
      the app version.
      cc751a75
    • HacKan's avatar
      Bump version · f149deb5
      HacKan authored
      f149deb5
    • HacKan's avatar
      Define API and improve hinting and docstrings · e09070ea
      HacKan authored
      Consider a 4xx response as alive but not ok: change the meaning of
      being alive to have a response status code bigger than or equal to
      200 and lower than 500. However, anything outside of 2xx is not ok.
      This also changes the meaning of ok, given that it can be different
      from alive when there are no validations.
      
      Change the meaning of exit value: the exit value must represent an
      application success or failure of execution. Even if using github or
      notifiying an endpoint fails doesn't mean the app failed. Return
      success even on those conditions, and failure for a real error.
      
      Make logging in core functions optional, thus modify other functions
      accordingly. Accept any kwarg for `requests` in core functions.
      
      According to RFC 2616, header field names are case insensitive
      so put them in lowercase. This also avoids potentially repeated
      content-type header if supplied and used with notify-json
      parameter.
      
      Change string representation for ServiceStatusList to match the one
      for ServiceStatus.
      
      Remove function http_get, it's no longer used.
      
      Normalize function names, document with RST docstrings.
      
      Adjust tests accordingly.
      
      Add several plugins for flake8 for linting. I couldn't make it work in
      a single execution line so I used two in Makefile to exclude docstring
      checks for tests.
      e09070ea
  4. 28 May, 2019 1 commit
    • HacKan's avatar
      Define API and improve docstrings · da8dad8e
      HacKan authored
      Consider a 4xx response as alive but not ok: change the meaning of
      being alive to have a response status code bigger than or equal to
      200 and lower than 500. However, anything outside of 2xx is not ok.
      This also changes the meaning of ok, given that it can be different
      from alive when there are no validations.
      
      Make logging in core functions optional, thus modify other functions
      accordingly. Accept any kwarg for `requests` in core functions.
      
      Change string representation for ServiceStatusList to match the one
      for ServiceStatus.
      
      Remove function http_get, it's no longer used.
      
      Normalize function names, document with RST docstrings.
      
      Adjust tests accordingly.
      
      Add several plugins for flake8 for linting. I couldn't make it work in
      a single execution line so I used two in Makefile to exclude docstring
      checks for tests.
      da8dad8e
  5. 18 Apr, 2019 2 commits
    • HacKan's avatar
      Update readme and bump version · dbfd05e3
      HacKan authored
      dbfd05e3
    • HacKan's avatar
      Change main functions to return status and add tests · 0107cdef
      HacKan authored
      Extract argument parsing from main to its own function.
      
      Also make main to return an integer indicating success or
      otherwise, and the CLI app to exit with such value.
      
      Add tests for main functions and the CLI mode of operation.
      
      Add coverage config file to omit reporting the last line as
      not covered (if __name__ == __main__).
      0107cdef
  6. 15 Apr, 2019 4 commits
  7. 14 Apr, 2019 6 commits
  8. 13 Apr, 2019 7 commits
  9. 10 Apr, 2019 6 commits
  10. 09 Apr, 2019 1 commit