Commit Graph

5 Commits

Author SHA1 Message Date
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
6eca86f31e Update README.md 2018-02-07 09:13:48 +00:00
e8f8231c39 Update README.md 2018-01-28 09:45:59 +00:00
b1e92f6b93 Add call-id via middleware
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:18:44 -08:00
faf7f31a58 add rudimentary readme w/ env vars
Signed-off-by: Elliott Beach <elliott2.71828@gmail.com>
2017-10-23 16:22:51 +01:00