Skip to content
Permalink
Branch: master
Commits on Jul 11, 2019
  1. Document goleak usage

    LucasRoesler authored and alexellis committed Jul 6, 2019
    **What**
    - Expand the Contribution guide so to describe using `goleak` in unit
    tests.  This package provides a simple method for detecting goroutine
    leaks in tests. This will help ensure that we write safe code.
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Jul 6, 2019
  1. Add tests for loading the logs provider value from the env

    LucasRoesler authored and alexellis committed Jun 28, 2019
    **What**
    - Ensure that we are loading the log provider url correctly, including
    fallback to the function provider, when the value is set
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  2. Upgrade faas-provider to 0.9.2

    LucasRoesler authored and alexellis committed Jun 28, 2019
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  3. Document the new logs endpoint and env variable

    LucasRoesler authored and alexellis committed Jun 28, 2019
    **What**
    - Document the new logs handler url env variable in the gateway readme
    - Document the logs handler in the swagger docs
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  4. Handle unexpected statuscodes from the log provider

    LucasRoesler authored and alexellis committed Jun 23, 2019
    **What**
    - Use NotImplemented when we get a 404 from the log provider.  When we
    get a 200, process the log request, as normal.  For all other status
    codes, return a sever error with a message stating that the
    response was unexpected.  The message will contain the original status
    code to assist with debugging
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  5. Remove duplicated code to remove hop headers

    LucasRoesler authored and alexellis committed Jun 23, 2019
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  6. Fix missing imports and tests

    LucasRoesler authored and alexellis committed Jun 23, 2019
    **What**
    - Fix missing imports since my ide forgot to add the "time" package
    - Update the tests to accept the handler timeout duration
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  7. Use context timeout to cancel the log request

    LucasRoesler authored and alexellis committed Jun 22, 2019
    **What**
    - Pass the writetimeout to the logs handler to set the context timeout
    of the log stream.
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  8. Remove Hyjacker log handler

    LucasRoesler authored and alexellis committed Jun 22, 2019
    **What**
    - Remove the hyjacker based logs handler implementation because it is
    not needed
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  9. Reimplemnt the logs proxy without hijacking

    LucasRoesler authored and alexellis committed Apr 13, 2019
    **What**
    - Create an alternative proxy implementation using CloseNotifier and
    Flusher
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  10. Verify not goroutine leaks in the log proxy

    LucasRoesler authored and alexellis committed Mar 17, 2019
    **What**
    - Add test to verify that the log proxy shutsdown correctly when the
    client cancels
    - Add test to verify that the log proxy shutsdown correctly when the
    logs provider closes the connection
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  11. Implement log proxy handler

    LucasRoesler authored and alexellis committed Mar 10, 2019
    **What**
    - Implement log handler method that will hijack the connection and clear
    timeouts to allow long lived streams
    - Proxies requests to the logs provider and returns the response
    unmodified
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Apr 27, 2019
  1. Ensure contib prom docker tags match the installed version

    LucasRoesler authored and alexellis committed Apr 27, 2019
    **What**
    - For each prometheus and alert manager contrib makefile, ensure that
    the docker tag matches the version installed in the dockerfile.  This
    will ensure that no one pushes mistmatched versions
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Apr 3, 2019
  1. Add kubecon talk from lucas to community

    LucasRoesler authored and alexellis committed Apr 3, 2019
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Feb 21, 2019
  1. Upgrade prom and alert manager to 2.7.1 and 0.16.1

    LucasRoesler authored and alexellis committed Feb 21, 2019
    **What**
    - Removes the `alert` label in the scale-up alert
    - Updates the annotaitons to use the `function_name` label instead of
    the `instance` label that was removed.
    - Per prometheus/prometheus#4836 and the related mailing list discussion
    https://groups.google.com/d/msg/prometheus-users/7Ul6ngc7Ogs/j_YDszV5BwAJ
    the alert value should not be included in the alert labels otherwise
    each calculation of the alert is treated like a new alert and then the
    use of `for 5s` will not behave as expected.
    - Ports the resoltuion openfaas/faas-netes#372
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Jan 31, 2019
  1. Add link to of blog on multi-file py functions

    LucasRoesler authored and alexellis committed Jan 31, 2019
    **What**
    - Add link to 2019 blog post table
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Jan 29, 2019
  1. Bump gateway version to 0.10.2 in compose

    LucasRoesler authored and alexellis committed Jan 29, 2019
    **What**
    - Bumps the gateway version to 0.10.2 in the default docker-compose file
    
    **Why**
    - Finishes the work started in #1049 to enable basic auth for the alert
    endpoint, this will allow the deployment via compose to leverage the
    basic auth
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Jan 24, 2019
  1. Revert docker tag bump to 0.10.0

    LucasRoesler authored and alexellis committed Jan 24, 2019
    **What**
    - Revert to the original docker tags because we want to for the bump
    until after the official release
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  2. Add basic auth to the system alert endpoint

    LucasRoesler authored and alexellis committed Jan 22, 2019
    **What**
    - Protect the `/system/alert` endpoint when basic auth is enabled
    - Update the alert manager config to send the basic auth credentials
    - Bump the gateway version
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Dec 29, 2018
  1. Bump gorilla mux to 1.6.2

    LucasRoesler authored and alexellis committed Nov 3, 2018
    **What**
    - Update the gopkg.toml
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Dec 19, 2018
  1. Undo early return in updateData callback

    LucasRoesler authored and alexellis committed Dec 19, 2018
    **What**
    - Revert to original if-block structure to reduce the size of the diff
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  2. Refresh function image during ui update loop

    LucasRoesler authored and alexellis committed Dec 8, 2018
    **What**
    - Update the function image value during the `refreshData`
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Nov 29, 2018
  1. Bump the faas-swarm version in the compose yml

    LucasRoesler authored and alexellis committed Nov 28, 2018
    **What**
    - Update the fass-swarm version to 0.5.0
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Oct 26, 2018
  1. Update nats-streaming to 0.11.2

    LucasRoesler authored and alexellis committed Oct 20, 2018
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  2. Bump nats-streaming version to 0.11.0

    LucasRoesler authored and alexellis committed Oct 3, 2018
    **What**
    - Bumpe nats-streaming version to 0.11.0 in the docker-compose files
    - Addresses #790
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Oct 13, 2018
  1. Fix typo in community providers table

    LucasRoesler authored and alexellis committed Oct 13, 2018
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  2. Split providers table into two

    LucasRoesler authored and alexellis committed Oct 12, 2018
    **What**
    - Split the table into official providers and community providers
    - Move the site links to the site column
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  3. Add openfaas-operator to the provider table

    LucasRoesler authored and alexellis committed Oct 12, 2018
    **What**
    - Add openfaas-operator as a provider with status Incubation
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Jun 17, 2018
  1. Update secret docs and sample-functions

    LucasRoesler authored and alexellis committed May 26, 2018
    **What**
    - Update the documentation about secret management to note the changed
    file location
    - Remove the documentation on secret rotation, because this will not
    currently work
    - Update apikey-secret and ApiKeyProtected-Secrets to read secret values
    from both the old and the new locations
    
    **Why**
    - Recent updates to faas-swarm and faas-netes changed the mount location
    of secrets.  These changes update the docs to reflect this change.
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Jun 16, 2018
  1. Trim tailing slash from service name before proxy

    LucasRoesler authored and alexellis committed Jun 6, 2018
    **What**
    - When determining the service name of the function, remove any trailing
    slashes, the slashes are not allowed in service names for either Swarm
    or K8S, so this can only be a left over from the url path
    
    **Why**
    - This was preventing service resolution, and hence failed functions,
        when the function was called with a trailing slash
    
    Fixes #714
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Commits on Dec 16, 2017
  1. Use builder pattern in ApiKeyProtected-Secrets

    LucasRoesler authored and alexellis committed Dec 15, 2017
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  2. Remove obsolete docker build

    LucasRoesler authored and alexellis committed Dec 15, 2017
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  3. Update guide with minimum cli version info

    LucasRoesler authored and alexellis committed Dec 11, 2017
    **What**
    - Add a note indicating that `faas-cli>=0.5.1` is required for the
    examples.
    
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  4. Fix typo in secret management guide

    LucasRoesler authored and alexellis committed Dec 1, 2017
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
  5. Remove code duplicated during a rebase

    LucasRoesler authored and alexellis committed Nov 13, 2017
    Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Older
You can’t perform that action at this time.