Previously, only the query string of the URL was passed through the Gateway.
With this change, the entire path requested by the client is passed through as well as the query string.
While fwatchdog already supported passing the path through, in practice this would not happen
since the Gateway would have swallowed it before forwarding the request to the watchdog.
With this change, the path portion after the function name is added to the Http_Path environment
variable, provided that cgiHeaders are enabled. This is similar to the of-watchdog equivalent.
Signed-off-by: Thomas E Lackey <telackey@bozemanpass.com>
This updates the blog post section with OpenFaaS being mentioned
on Cisco DevNet Sandbox Cloud section and blog post for OpenFaaS
on Kubernetes from 2 Jan 2018 again in DevNet Sandbox
Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
This change exposes the gateway metrics with an exporter which
implements the Collector interface of prometheus.
This change Fixes#697
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
This minor fix selects the 'Download' radio button by default if the
function has a label with `com.openfaas.ui.ext`.
Closes#827
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
Versions now in sync with x86_64:
* `openfaas/gateway:0.8.12-armhf`
* `openfaas/faas-swarm:0.4.1-armhf`
* `openfaas/queue-worker:0.4.9-armhf`
Also moves from functions/ to openfaas/
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
Full list of supported verbs is now supported: "GET", "POST", "PUT",
"PATCH", "DELETE"
Relates to: #openfaas/faas/issues/815
Signed-off-by: Edward Wilde <ewilde@gmail.com>
- Top 5 tips and tricks for boosting productivity with the
OpenFaaS CLI
- Multi-stage Serverless on Kubernetes with OpenFaaS and GKE
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
Add Host field to the queue.Request struct and copy it from Host field
of the HTTP request when converting HTTP request to queue.Request in
MakeQueuedProxy function.
Signed-off-by: Dmitri Rubinstein <dmitri.rubinstein@googlemail.com>
Host HTTP header was not propagated to the function because it is not
a part of http.Request.Header map.
Signed-off-by: Dmitri Rubinstein <dmitri.rubinstein@googlemail.com>
This test takes inspiration from the PR from @telackey with changes
to make it more maintainable. Since the test does not require
changes to the code, I wanted to add it before merging changes.
Ref: https://github.com/openfaas/faas/pull/789
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
Idea from Matthew Holt, using the haveibeenpwned API to query
whether a password has been found in a data-breach.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This updates faas-swarm version including a fix for annotations.
In version 0.4.0 the prefix was not removed from the annotation
key, which was causing errors trying to get the value
Signed-off-by: Ivana Yovcheva (VMware) <iyovcheva@vmware.com>
Changes:
Increased version to reflect latest
Every path now is in ''
Added all receivable Status Codes
Made use of Schemas
Added required annotation to models
Signed-off-by: Simon Pelczer <templum.dev@gmail.com>
- Removes Eric from list of core contributors after he asked me
today. Eric will retain access to Derek and is welcome to
contribute if/when he is able.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
The update to the gateway and faas-swarm add read-only containers
and the ability to use annotations in the function schema.
faas-cli 0.6.17 is required.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>