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>
The sample YAML is for deploying only and not for building, for
building enter the sample-functions folder.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
- exposes scale-function endpoint for use with faas-idler, this
is protected by auth when enabled.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This commit bumps gateway version to 0.8.7 in docker-compose.yml and
also adds `scale_from_zero` environment variable to the gateway.
Fixes: #780
Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
1. Add new annotation attributes which may be used
by the back-end for making scheduling or routing decisions.
2. Updated tests/README.md to give clearer instructions on creating and
tearing down the stack required to run the integration tests
3. Update ci.sh
* Fail as soon as an error is encountered
* Allow script to run locally in development environment, test if repos
are already cloned etc..
* Deploy ./stack.yml used by existing integration tests
Signed-off-by: Edward Wilde <ewilde@gmail.com>
Existing code has been used for scaling up and querying replicas.
This meant the new code was deleted and there is less duplication
now.
The cache store a whole query response rather than just the
available replica count and the tests were updated. This has been
tested with Docker swarm and the image:
openfaas/gateway:scale-17-07-2018
This feature now needs the env-var of scale_from_zero to be enabled
in order to turn on the scaling behaviour.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
This disables the scaling proxy by default since it is not the
default user-experience and is still under refinement.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>