213 Commits

Author SHA1 Message Date
Eric Stoekl
4d785c8dfb Remove Content-Type forwarding from Request
Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2017-12-16 16:04:20 +00:00
Alex Ellis
3502c67d88 Allow valid UI label values
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 14:29:56 +00:00
Alex Ellis
dc37d131be Don't override X-Call-Id if it already exists in header
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:18:44 -08:00
Alex Ellis
b1e92f6b93 Add call-id via middleware
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:18:44 -08:00
Alex Ellis
e6eec64c0d UI: allow binary download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
Alex Ellis
5c8bb37bfb Experimental UI download
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-13 06:17:51 -08:00
Alex Ellis
ca34fd0ed1 Adds env-vars to store
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-12 06:51:04 -08:00
Alex Ellis
3d210f1ff2 Extract handler_set.go
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
Alex Ellis
23a7187435 Refactoring: variable names, adding tests and http constants
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
Alex Ellis
2452fdea0b Allow min-scale
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-12-05 06:50:08 -06:00
Ken Fukuyama
aba3a8ca2d * Added function store feature to the "Deploy New Function"
* This feature fetches function catalogs from openfaas/store and makes
  one-click deploy easy
  * You can switch between "From Store" or "Manually" by tabs

* Added icon to "Deploy New Function" button
* Added function search feature to the main UI

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>

reverted fixed tabs

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-11-30 09:55:52 +01:00
Alex Ellis
78a4580ead Allow CORS to GitHub raw
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-29 09:48:58 +01:00
Alex Ellis
62a5cfc385 Bump queue worker for alexellis->openfaas org naming
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-23 13:02:16 +00:00
Alex Ellis
5bac6c1961 Bump for nats producer change
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-23 12:57:02 +00:00
Alex Ellis
59d46938fe Tooltips
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-22 19:32:32 +00:00
Javier Revillas
86c83f0dcd Fix JSON serialization relying on response content
Signed-off-by: Javier Revillas <jrevillas@massivedynamic.io>
2017-11-20 10:32:42 +00:00
Alex Ellis
9783f96f7b Enable client response time in the UI
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-18 09:20:02 +00:00
Alex Ellis
b17838ce51 Add Swarm limits
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-15 08:42:00 +00:00
Alex Ellis
fb1b35b6eb Don't buffer body / response into memory
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-11 15:39:34 +00:00
Alex Ellis
d929ec191a Bump 64-bit ARM
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 12:54:44 +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
0d45ee9149 Pass on method
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-06 09:30:01 +00:00
Alex Ellis
c132195a5c Simple switch to enable 'GET' method'
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-06 09:30:01 +00:00
Alex Ellis
b2c579370a Return labels in functions list endpoint
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-05 20:11:47 +00:00
Alex Ellis
981cf854fb Remove old build script
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-03 15:56:43 +00:00
Alex Ellis
c81418e5a8 Switch to armv6 and multi-arch for runtime image
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-29 21:38:13 +00:00
Alex Ellis
4889c779b7 Verify prometheus results are mixed into function list
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-29 15:21:23 +00:00
Alex Ellis
8363532751 Set content-type for mixed-in Prometheus results
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-29 15:21:23 +00:00
Alex Ellis
28d3e330c2 Support NATS.io streaming on ARMHF
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-27 15:41:21 +00:00
Alex Young
0248a5ea1d Return 500 if GET /system/functions fails
Signed-off-by: Alex Young <alex@heuris.io>
2017-10-27 15:38:03 +01: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
Alex Ellis
ec60d97518 Report async execution duration
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-25 19:40:33 +01:00
Lucas Roesler
be4eea92a1 Add spinner during funciton invoke in the web ui
**What**
- Add a simple sinner when the function is invoked
- Disable the invoke button until the request returns

Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
2017-10-24 18:17:26 +01:00
Alex Ellis
c92b462f36 Target blank for Logo / Link in Gateway UI 2017-10-23 17:38:03 +01:00
Thom Toogood
533118adbb Add link to www.openfaas.com on OpenFaaS Icon.
Signed-off-by: Thom Toogood <thomtoogood@gmail.com>
2017-10-23 17:35:02 +01:00
Elliott Beach
06f0a2c953 add docs for GatewayConfig like WatchdogConfig
Signed-off-by: Elliott Beach <elliott2.71828@gmail.com>
2017-10-23 16:22:51 +01:00
Elliott Beach
faf7f31a58 add rudimentary readme w/ env vars
Signed-off-by: Elliott Beach <elliott2.71828@gmail.com>
2017-10-23 16:22:51 +01:00
Alex Ellis
f696d3930d Label support for Update handler
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-23 16:19:49 +01:00
Alex Ellis
e4a1ef2d6b Add label support to Swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-23 16:19:49 +01:00
Alex Ellis
a7de20c29d Add sample, stack and port to ARM64
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-21 13:02:22 +02:00
Alex Ellis
520a6b05a1 Commit unit tests for content-type order
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-20 22:47:30 +02:00
Alex Ellis
4d4a09fa19 Implement header pass-through
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-20 22:47:30 +02:00
Alex Ellis
6d5ae1af5b Fix content type pass through
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-20 22:47:30 +02:00
Alex Ellis
9af6ff61b4 Secrets in requests
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-12 21:22:15 +01:00
Alex Ellis
dde98eb582 Forward path and query string through proxy
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-11 18:57:00 +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 Young
eed9641254 Display function creation error in UI
Signed-off-by: Alex Young <alex@heuris.io>
2017-10-02 20:54:29 +01:00
Alex Ellis
221ed7a292 Update for ARM builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-01 23:36:23 +02:00