The Content-Type header must be ignored when the Transfer
Encoding is set to "chunked" because the length is unknown
Go sets this to -1 and we pass that onto the user:
https://golang.org/src/net/http/transfer.go
The value of Content_Length is currently set to -1 in this
scenario, however it caused some confusion for at least one
user in issue: #1422.
The Http_Transfer_Encoding value was tested by running the
watchdog on Linux with "env" as the fprocess and an extra
header to "curl"
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
**What**
- Always apply the `FunctionPrefixTrimmingURLPathTransformer` when
enqueueing async function requests. This ensures that the context
information sent to the function is correct
Resolves#85
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
We now hide the new namespace dropdown selector when
there is only 1 namespace, or when we are on swarm
This is also hidden in the function create page and
the function detail page
Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
The guides are either moved due to being out of date, or being
surpassed by the workshop or main documentation site.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This flag is useful for some users that prefer a scratch image
that cannot execute a bash healthcheck. Instead they can execute
the watchdog itself such as:
"watchdog -run-healthcheck"
It will return a non-zero exit code for when the lock file is not
found.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This allows a uswer to select a non-standard (not openfaas-fn)
namespace from the UI to deploy a function into.
Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
This PR adds a namespace dropdown for the openfaas
namespaces. If a user has non-default namespaces
installed then a user can select that namespace,
view functions in that namespace, invoke them from
the UI and delete them from that namespace.
Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
The vCenter Event Broker Appliance (VMware Fling) uses OpenFaaS to
trigger functions based on vSphere events.
Signed-off-by: Michael Gasch <mgasch@vmware.com>
**What**
- Bump faas-swarm vesion to latest, 0.8.2
- Bump arm64 and armhf sevices to their latest versions
- The docker-compose files were invalid when deployed directly because
the auth url was not configured. Set the default for basic auth to
false to make this a valid configuration
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>