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
1622fadd9c
Return error when ServiceCreate fails in
...
gateway/handler/createhandler.go
Signed-off-by: Eric Stoekl <ems5311@gmail.com >
2017-09-19 20:14:05 +01:00
ec22a301fe
Refactor out handler file from server.go
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-09-13 10:28:40 -07:00
94a15e44d5
should use strings.Contains() instead of stings.Index()
...
Signed-off-by: wgliang <liangcszzu@163.com >
2017-09-13 09:55:45 -07:00
622b24268d
Merge branch 'master' of https://github.com/alexellis/faas
2017-09-13 09:54:14 -07:00
499d6128e5
remove comment
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-09-13 09:54:05 -07:00
ab8a7e6869
Added feature to delete functions from the UI
...
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com >
2017-09-13 08:43:19 -07:00
d127dc7cb0
Give feedback via toast in UI.
2017-09-08 10:43:44 +01:00
5339fdcdbe
Query Prometheus API for stats.
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-09-07 22:42:27 +01:00
3db2064d91
Handle constraints
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-09-04 13:42:36 +01:00
777351af76
Remove old Dockerfiles
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-09-03 20:44:44 +01:00
78daa9cd39
Specify Linux constraints by default
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-09-02 20:12:10 +01:00
fba2d8aa52
Add MIT header
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-08-29 19:40:08 +01:00
2cca166dc0
Update async for CallbackUrl
...
Signed-off-by: Alex <alexellis2@gmail.com >
2017-08-29 19:40:08 +01:00
3031531b3c
Specify callback URL via http header
...
Signed-off-by: Alex <alexellis2@gmail.com >
2017-08-29 19:40:08 +01:00
fa069e412c
Remove Docker client from NATS
...
Signed-off-by: Alex <alexellis2@gmail.com >
2017-08-29 19:40:08 +01:00
cfcb183bc7
Name builder steps
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com >
2017-08-29 19:40:08 +01:00