Commit Graph

1639 Commits

Author SHA1 Message Date
4fabd50799 Changed Metrics to be exposed via Exporter
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>
2018-08-24 09:01:41 +01:00
6d6a487711 Renamed externalwatcher to exporter
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2018-08-24 09:01:41 +01:00
b73e14be92 Automatically select 'Download' for store functions
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>
2018-08-24 08:54:27 +01:00
b3a71b456a Bump ARMHF versions to latest
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>
2018-08-24 07:11:22 +00:00
273c8a40e7 Make push.sh runnable
Added chmod +x

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-23 22:09:53 +01:00
64e7de4288 Add armhf build steps
This will help with CI for ARMHF

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-23 21:44:03 +01:00
91b6c24494 Bump up the gateway to 0.8.11
I am moving gateway build version to 0.8.11

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-08-22 20:12:04 +01:00
e9f5be107b Adds support for additional PATCH HTTP verb
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>
2018-08-22 20:10:03 +01:00
979cb51619 Remove inactive contributors
Removed Eric on his request

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-22 17:13:21 +01:00
3c9b97a2b2 Delete duplicated bartsmykla from DEREK users list.
Signed-off-by: Stanton Xu <xjiefeng@gmail.com>
2018-08-22 08:07:28 +01:00
f2306bc5ee Amend Derek users in .DEREK.yml file
Remove the duplicated `viveksyngh` and add full-time team `bartsmykla`

Signed-off-by: Stanton Xu <xjiefeng@gmail.com>
2018-08-22 08:07:28 +01:00
5523c9026a Amend Derek users in .DEREK.yml file
Addressing issue #824, added bartsmykla, LucasRoesler, s8sg, viveksyngh, 
removed ovation22, cpitkin, jockdarock, itscaro

Signed-off-by: Stanton Xu <xjiefeng@gmail.com>
2018-08-22 08:07:28 +01:00
9a879c96c3 Add note on health-checks for Kubernetes and Swarm
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-21 14:57:28 +01:00
8fe8120b36 Add missing files to ARM Dockerfile
Appears to have been missed during recent PRs from community.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-21 13:46:23 +00:00
24dfcb62c2 Add ci-armhf to Makefile
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-21 12:19:26 +01:00
ea831fd084 Add 2x blog posts
- 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>
2018-08-21 08:29:15 +01:00
73254f798b Add haveibeenpwned to functions Docker prefix
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-21 08:26:50 +01:00
c182a0af82 Started implementing Host header propagation for asynchronous invocations
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>
2018-08-16 16:20:28 +01:00
fd0abe46dd Propagate Host header from gateway request to the function.
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>
2018-08-16 16:20:28 +01:00
c86de503c7 Attach X-Call-Id to asynchronous calls
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-16 16:04:09 +01:00
2031c64183 Add two blogs
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-16 08:43:28 +01:00
75707689f2 Add events and blogs
- OSS EU, Goto (Alex E)
- John C's RPi even

- 2x blog posts

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-15 20:57:25 +01:00
03015e48bd Add test for Http_path for watchdog.
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>
2018-08-13 17:57:44 +01:00
a4c867fd8f Adds HTTP Host entry
Fixes: https://github.com/openfaas-incubator/of-watchdog/pull/24

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-13 17:42:49 +01:00
44ceb8da22 Add haveibeenpwned sample function
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>
2018-08-13 10:20:13 +01:00
87cfa097bc Add blog post on VMware CodeHouse
Add blog post detailing VMware CodeHouse 2018 where OpenFaaS was a major technical component.

Signed-off-by: Jonas Rosland <jrosland@vmware.com>
2018-08-11 13:34:26 +01:00
b18433c6e7 Bump up faas-swarm to 0.4.1
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>
2018-08-09 16:16:21 +01:00
5143917782 Modified API Docs based on feedback
* Removed "Basic " from example
* Removed HTTPS from scheme
* Updated Info Object
* Fixed Ident

Signed-off-by: Simon Pelczer <templum.dev@gmail.com>
2018-08-07 17:56:47 +01:00
4963f39e87 Adjusted Swagger.yaml accordingly to feedback
Signed-off-by: Simon Pelczer <templum.dev@gmail.com>
2018-08-07 17:56:47 +01:00
f674211ee8 Fixed Typo
Signed-off-by: Simon Pelczer <templum.dev@gmail.com>
2018-08-07 17:56:47 +01:00
4fd0417291 Updated Swagger Documentation
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>
2018-08-07 17:56:47 +01:00
9d9ab0d9d8 Add blog posts to community file
Adding blog posts from Ajeet Raina and Mark Sta Ana

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2018-08-07 16:04:00 +01:00
04a579746d Add Jock to hall of fame
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-07 09:06:19 +01:00
fa9c9a271b Eric has asked to step down
- 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>
2018-08-07 08:55:32 +01:00
7a80b85b5d Add ewilde to .DEREK.yml maintainers list
Signed-off-by: Edward Wilde <ewilde@gmail.com>
2018-08-02 18:10:27 +01:00
d7a2910232 Move Patreon reference
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-08-02 12:05:14 +01:00
90335018ff Add read-only support and annotations
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>
2018-08-01 15:50:32 +01:00
50b030ffd1 Add link to users
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-07-31 22:31:57 +01:00
c2672790a7 Add new blog and docs site to README
This commit adds link to offical docs and new blog site to README.md
file.

Signed-off-by: Vivek Singh <vivekkmr45@yahoo.in>
2018-07-30 21:50:29 +01:00
f720b34edf Add myself to list of maintainers in DEREK
I am adding myself to maintainers in .DEREK file

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-07-30 08:44:40 +01:00
e0f1c941d7 Add Matt's blog on PHP 2018-07-26 09:58:16 +01:00
726fff51af Add zero-scale blog 2018-07-26 09:55:50 +01:00
4a44c3c553 Update links in CONTRIBUTING.md
Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2018-07-25 14:11:37 +01:00
fb9a56428f Add route for async invocation of functions in the kong guide
With this commit i extend the kong docs to add routing for
async invocation of functions.

Signed-off-by: Martin Dekov (VMware) <mdekov@vmware.com>
2018-07-25 13:55:59 +01:00
75f05ca38e Add skip_build to sample YAML
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>
2018-07-24 22:36:20 +01:00
8f0d2d1fd6 Expose scale-function endpoint
- 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>
2018-07-23 15:24:11 +01:00
4cbb7d968d Bump gateway version to 0.8.7
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>
2018-07-21 09:33:08 +01:00
be907d220c Adds annotation attribute to CreateFunctionRequest
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>
2018-07-20 19:51:17 +01:00
9512f09d2b Refactor scaling to use existing code
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>
2018-07-20 11:39:36 +01:00
c58af8da56 Disable scaling from zero by default
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>
2018-07-20 11:39:36 +01:00