21 Commits

Author SHA1 Message Date
Alex Ellis (VMware)
bbbb4b536a Bump watchdog to 1.9.4
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-04-03 17:55:44 +01:00
Alex Ellis
0c7e59fe8a Add direct_functions mode to gateway for tuning
Adds a pair of configuration options for performance tuning. The
gateway can now invoke functions directly and can bypass the
provider. See updated table in README.md for configuration values.

BaseURLResolver is added with unit tests that decouples resolving
upstream URL from the reverse proxy client code.

- SingleHostBaseURLResolver resolves a single upstream host
- FunctionAsHostBaseURLResolver resolves host based upon conventions
within the URL of the request to a function for direct access

Tested with Kubernetes (faas-netes) and faas-swarm through UI, CLI
calling system endpoints and functions directly.

Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-23 16:35:37 +00:00
Alex Ellis (VMware)
c716c54868 Break out logging / metrics for functions in forwarding_proxy
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
2018-03-20 09:51:42 +00:00
Alex Ellis
76526b0be3 Bump LTS Go version
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-03-03 17:36:33 +00:00
Alex Ellis
f954bf0733 Merge master into breakout_swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2018-02-01 09:29:54 +00:00
John McCabe
00bb13cccd Bump go version to 1.8.5
Signed-off-by: John McCabe <john@johnmccabe.net>
2017-11-09 11:48:53 +00:00
Alex Ellis
b92b0926fa Add license-check
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-06 19:40:24 +00:00
Alex Ellis
12a0c75e91 Add unit tests to build. Pin to specific Alpine tag.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-26 21:02:50 +01:00
Minh-Quan TRAN
1b9affabb4 make build fail when need to run gofmt & remove docker pull in travis
use golang 1.8.3 for gateway

Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2017-10-09 08:42:30 +01:00
John McCabe
89878f0c8a Migrate from alexellis org to openfaas
Note, not all `alexellis/github` references should be changed, there are
a number of repos which are not part of the openfaas org, this commit
excludes those.

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-10-04 09:18:06 +01:00
Alex Ellis
cfcb183bc7 Name builder steps
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-29 19:40:08 +01:00
Alex Ellis
bd146f526c Sync async_nats work with master
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-29 19:40:08 +01:00
Alex Ellis
501e813d41 Move handlers into ./handlers 2017-01-25 22:29:17 +00:00
Alex Ellis
79bc6a54ea Add auto-refresh to UI 2017-01-22 14:11:36 +00:00
Alex Ellis
ff429ce493 Add static front end + functions endpoint. 2017-01-22 10:45:42 +00:00
Alex Ellis
f944b088be Stack 1 (#4)
* - Extend stack to include a test function
* - Allow _ char in routes
* - Let Dockerfile shrink by coming from alpine

* Update build.sh

* Document stack deploy

* Update README.md

* fix port in README (#3)
2017-01-09 20:02:18 +00:00
Alex
fe9ada50bd Move to alpine 2017-01-09 13:49:10 +00:00
Alex Ellis
eb0776e3a3 Update to support docker stack deploy 2017-01-09 13:24:42 +00:00
Alex Ellis
9656b530c4 Enable routing to Alexa functions
Add first Alexa-compatible function HostnameIntent
2016-12-30 18:54:57 +00:00
Alex
6073cd79f6 Add metrics 2016-12-22 21:27:07 +00:00
Alex
734c8a3dc6 gateway 0.01 2016-12-22 16:27:30 +00:00