1. 09 Jan, 2018 1 commit
  2. 22 Nov, 2017 1 commit
  3. 30 Oct, 2017 1 commit
  4. 29 Sep, 2017 2 commits
  5. 26 Sep, 2017 1 commit
  6. 07 Jul, 2017 1 commit
    • FeignClient Configuration Properties (#1942) · c2c63470
      Eko Kurniawan Khannedy authored
      * add feign client properties
      
      * configure feign builder from properties if exists
      
      * change string config to class config and add unit test for feign client using configuration properties
      
      * refactoring and add primary flag configuration
      
      * add decode404 in feign client configuration properties
      
      * change unit test properties decode404 to true
      
      * remove lombok from FeignClientProperties and change primary attribute to default-to-properties
      
      fixes gh-1931
  7. 13 Jun, 2017 1 commit
  8. 05 Dec, 2016 1 commit
  9. 08 Aug, 2016 1 commit
  10. 24 Jun, 2016 1 commit
  11. 16 Jun, 2016 1 commit
  12. 03 Jun, 2016 1 commit
    • Support header placeholders in SpringMvcContract. · 0705c9f5
      Damian Jackson authored
      When using property placeholders in the @RequestMapping annotation the ones placed in the headers attribute do not get replaced. This appears to be because the other attributes, such as the url, use the resolve() function to perform the substitution whereas the header is parsed as-is. This change adds a call to resolve for each side of the equals in the header string so that the properties are substituted correctly.
  13. 28 May, 2016 1 commit
  14. 27 May, 2016 1 commit
  15. 25 Apr, 2016 1 commit
  16. 22 Mar, 2016 2 commits
  17. 11 Jan, 2016 1 commit
  18. 20 Nov, 2015 1 commit
  19. 30 Sep, 2015 1 commit
  20. 13 Apr, 2015 1 commit
  21. 13 Mar, 2015 2 commits
    • Allow streaming of multipart requests in Zuul proxy · 0391cfff
      Dave Syer authored
      It turns out that the suckiness of Zuul with multipart requests
      comes almost entirely from the Multipart handling in Spring's
      DispatcherServlet. This change makes the proxy routes available
      on an alternative path /zuul/<normal_path> (where
      /zuul is the default value of zuul.servletPath). I have
      tested those with 800MB file uploads using the main method in
      the FormZuulServletProxyApplicationTests and the main
      observation is that there is no OutOfMemory error (no-one tries
      to download the complete request body). It works with Ribbon
      and with the simple (HttpClient) filter. With Ribbon you
      will need to set some timeouts if you want to upload files
      as large as that, e.g. see application.yml in the tests:
      
      hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 60000
      ribbon:
        ConnectTimeout: 3000
        ReadTimeout: 60000
      
      You need to set "Transfer-Encoding: chunked" in the
      incoming request. Chrome does not do this by default
      apparently, but I was able to test with curl, e.g.
      
      $ curl -v -H "Transfer-Encoding: chunked" \
        -F "file=@mylarg.iso" \
        localhost:9999/zuul/direct/file
      
      The old proxy paths through the DispatcherServlet are still
      available (for backwards compatibility and for convenience of
      having the paths available at the root of the context path).
      
      Fixes gh-254
    • Fix issue with servlet request wrappers in Zuul · da4f5d34
      Dave Syer authored
      Because of the way that a FormBodyServletRequestWrapper was
      implemented (extending the Zuul servlet 2.5 wrapper) it could
      barf at runtime if anyone called its servlet 3.0 methods. The fix
      for that was to extract our Servlet30RequestWrapper and extend that
      instead.
      
      Also tweaked the DebugFilter a bit so it doesn't try and display
      the whole payload. Probably speeds up file uploads a bit but the
      fact that we have to store the whole request body in memory is
      going to kill us eventually.
      
      See gh-254
  22. 09 Feb, 2015 1 commit
    • Add logic for servlet prefix in ProxyRouteLocator · 8dd9b830
      Dave Syer authored
      If the ServerProperties contain a servletPath then the handler mapping
      does not contain that prefix, but the incoming request URI does. This leads
      to some interesting prefix stripping gymnastics. All the existing tests
      assumed that the prefix was empty (the default for a Spring boot app).
      
      See gh-199
  23. 16 Dec, 2014 1 commit
    • Fix ordering problem in tests · e623ad10
      Dave Syer authored
      The Zuul filter registry has to be cleareed (including a cache in
      a private field in FilterLoader, yuck).
  24. 15 Dec, 2014 1 commit
  25. 03 Dec, 2014 2 commits
  26. 29 Nov, 2014 1 commit
    • Ensure user-suppplied ZuulFilters are added properly · 70c3d9e7
      Dave Syer authored
      Bean instantiation ordering was causing external (user-supplied)
      filter beans to replace the defaults, not append to them. Separating
      out the autowired map of beans into a spearate class was enough to
      fix it.
      
      Fixes gh-78
  27. 26 Nov, 2014 1 commit
  28. 25 Nov, 2014 1 commit
  29. 06 Nov, 2014 1 commit
  30. 04 Nov, 2014 1 commit
  31. 18 Oct, 2014 1 commit
  32. 25 Sep, 2014 1 commit
  33. 29 Aug, 2014 1 commit