Skip to content
Snippets Groups Projects
  1. Jul 20, 2018
  2. Jul 06, 2018
  3. Jun 18, 2018
  4. May 23, 2018
  5. May 20, 2018
  6. Apr 03, 2018
  7. Mar 26, 2018
  8. Mar 23, 2018
    • John McCabe's avatar
      Use http package consts for http methods · fac33456
      John McCabe authored
      
      This commit replaces occurences of http method strings with the
      corresponding consts from the http package.
      
      *Note* UPDATE is not strictly speaking a valid method and as such isn't
      part of the http package (should be a PUT or PATCH?)
      
      Signed-off-by: default avatarJohn McCabe <john@johnmccabe.net>
      fac33456
    • Alex Ellis's avatar
      Add direct_functions mode to gateway for tuning · 0c7e59fe
      Alex Ellis authored
      
      Adds a pair of configuration options for performance tuning. The
      gateway can now invoke functions directly and can bypass the
      provider. See updated table in README.md for configuration values.
      
      BaseURLResolver is added with unit tests that decouples resolving
      upstream URL from the reverse proxy client code.
      
      - SingleHostBaseURLResolver resolves a single upstream host
      - FunctionAsHostBaseURLResolver resolves host based upon conventions
      within the URL of the request to a function for direct access
      
      Tested with Kubernetes (faas-netes) and faas-swarm through UI, CLI
      calling system endpoints and functions directly.
      
      Signed-off-by: default avatarAlex Ellis (VMware) <alexellis2@gmail.com>
      0c7e59fe
  9. Mar 20, 2018
  10. Mar 05, 2018
  11. Mar 03, 2018
  12. Mar 01, 2018
  13. Feb 01, 2018
  14. Dec 13, 2017
  15. Dec 05, 2017
  16. Nov 29, 2017
  17. Oct 29, 2017
  18. Oct 04, 2017
  19. Sep 27, 2017
    • John McCabe's avatar
      Implement Swarm update handler using PUT · 40e1fac1
      John McCabe authored
      
      This commit implements an update handler for Docker Swarm, it queries the
      current spec, updates values in-situ before calling ServiceUpdate.
      
      The UpdateConfig FailureAction is set to rollback, so in the event of
      supplying values to the update that would result in the service failing
      then the update will be rolled back.
      
      The UpdateConfig Parallelism param is set to an explicit value of 1 which
      will result in functions being updated 1 by 1 rather than all at once.
      
      It also moves the restartDelay declaration out of the create and update
      handlers and into the main server function alongside maxRestarts.
      
      And finally this commit uses the PUT HTTP verb for updates rather than
      the non-HTTP UPDATE verb which was being used initially (also adding it
      to the Swagger definition).
      
      Signed-off-by: default avatarJohn McCabe <john@johnmccabe.net>
      40e1fac1
  20. Sep 23, 2017
  21. Sep 19, 2017
  22. Sep 13, 2017
  23. Sep 07, 2017
  24. Aug 29, 2017
  25. Aug 27, 2017
  26. Aug 25, 2017
  27. Aug 16, 2017
  28. Aug 08, 2017
  29. Jul 18, 2017
Loading