Commit Graph

153 Commits

Author SHA1 Message Date
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
78a4580ead Allow CORS to GitHub raw
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-29 09:48:58 +01:00
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
5bac6c1961 Bump for nats producer change
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-23 12:57:02 +00:00
59d46938fe Tooltips
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-22 19:32:32 +00:00
86c83f0dcd Fix JSON serialization relying on response content
Signed-off-by: Javier Revillas <jrevillas@massivedynamic.io>
2017-11-20 10:32:42 +00:00
9783f96f7b Enable client response time in the UI
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-18 09:20:02 +00:00
b17838ce51 Add Swarm limits
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-15 08:42:00 +00:00
fb1b35b6eb Don't buffer body / response into memory
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-11 15:39:34 +00:00
d929ec191a Bump 64-bit ARM
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-09 12:54:44 +00:00
00bb13cccd Bump go version to 1.8.5
Signed-off-by: John McCabe <john@johnmccabe.net>
2017-11-09 11:48:53 +00:00
b92b0926fa Add license-check
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-06 19:40:24 +00:00
0d45ee9149 Pass on method
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-06 09:30:01 +00:00
c132195a5c Simple switch to enable 'GET' method'
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-06 09:30:01 +00:00
b2c579370a Return labels in functions list endpoint
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-05 20:11:47 +00:00
981cf854fb Remove old build script
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-11-03 15:56:43 +00:00
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
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
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
28d3e330c2 Support NATS.io streaming on ARMHF
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-27 15:41:21 +00:00
0248a5ea1d Return 500 if GET /system/functions fails
Signed-off-by: Alex Young <alex@heuris.io>
2017-10-27 15:38:03 +01:00
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
ec60d97518 Report async execution duration
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-25 19:40:33 +01:00
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
c92b462f36 Target blank for Logo / Link in Gateway UI 2017-10-23 17:38:03 +01:00
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
06f0a2c953 add docs for GatewayConfig like WatchdogConfig
Signed-off-by: Elliott Beach <elliott2.71828@gmail.com>
2017-10-23 16:22:51 +01: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
f696d3930d Label support for Update handler
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-23 16:19:49 +01:00
e4a1ef2d6b Add label support to Swarm
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-23 16:19:49 +01:00
a7de20c29d Add sample, stack and port to ARM64
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-21 13:02:22 +02:00
520a6b05a1 Commit unit tests for content-type order
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-20 22:47:30 +02:00
4d4a09fa19 Implement header pass-through
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-20 22:47:30 +02:00
6d5ae1af5b Fix content type pass through
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-20 22:47:30 +02:00
9af6ff61b4 Secrets in requests
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-12 21:22:15 +01:00
dde98eb582 Forward path and query string through proxy
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-11 18:57:00 +01:00
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
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
eed9641254 Display function creation error in UI
Signed-off-by: Alex Young <alex@heuris.io>
2017-10-02 20:54:29 +01:00
221ed7a292 Update for ARM builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-01 23:36:23 +02:00
028803b4a5 Quote eTag 2017-10-01 13:38:32 +02:00
ac3e91cbdc added a sidenav toggle button when the sidenav is hidden.
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-10-01 09:42:10 +02:00
40e1fac1c2 Implement Swarm update handler using PUT
This commit implements an update handler for Docker Swarm, it queries the
current spec, updates values in-situ before calling ServiceUpdate.

The UpdateConfig FailureAction is set to rollback, so in the event of
supplying values to the update that would result in the service failing
then the update will be rolled back.

The UpdateConfig Parallelism param is set to an explicit value of 1 which
will result in functions being updated 1 by 1 rather than all at once.

It also moves the restartDelay declaration out of the create and update
handlers and into the main server function alongside maxRestarts.

And finally this commit uses the PUT HTTP verb for updates rather than
the non-HTTP UPDATE verb which was being used initially (also adding it
to the Swagger definition).

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-09-27 09:58:03 +01:00
d7bc2695c3 Add favicons for broad range of browsers/devices
Signed-off-by: John McCabe <john@johnmccabe.net>
2017-09-26 09:32:21 +01:00
ca9a7fe97c Reinstating tests
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-23 20:42:13 +01:00
2229e922d7 Add update endpoint/route
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-23 20:42:13 +01:00
84ae82473c Use types from requests
Signed-off-by: Alex Young <alex@heuris.io>
2017-09-22 14:39:01 +01:00
403236610a Remove duplication from createfunction_test.go
Signed-off-by: Alex Young <alex@heuris.io>
2017-09-22 14:39:01 +01:00
031a0bc18c Add tests around error handing done in #196
Signed-off-by: Alex Young <alex@heuris.io>
2017-09-22 14:39:01 +01:00
d2b15241c6 fix x-header
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-19 22:14:04 +01:00