Alex Ellis
d2b15241c6
fix x-header
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-19 22:14:04 +01:00
Eric Stoekl
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
Alex Ellis
ec22a301fe
Refactor out handler file from server.go
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 10:28:40 -07:00
wangguoliang
94a15e44d5
should use strings.Contains() instead of stings.Index()
...
Signed-off-by: wgliang <liangcszzu@163.com>
2017-09-13 09:55:45 -07:00
Alex Ellis
622b24268d
Merge branch 'master' of https://github.com/alexellis/faas
2017-09-13 09:54:14 -07:00
Alex Ellis
499d6128e5
remove comment
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 09:54:05 -07:00
Ken Fukuyama
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
Alex Ellis
d127dc7cb0
Give feedback via toast in UI.
2017-09-08 10:43:44 +01:00
Alex Ellis
5339fdcdbe
Query Prometheus API for stats.
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-07 22:42:27 +01:00
Alex Ellis
3db2064d91
Handle constraints
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-04 13:42:36 +01:00
Alex Ellis
777351af76
Remove old Dockerfiles
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-03 20:44:44 +01:00
Alex Ellis
78daa9cd39
Specify Linux constraints by default
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-02 20:12:10 +01:00
Alex Ellis
fba2d8aa52
Add MIT header
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-29 19:40:08 +01:00
Alex
2cca166dc0
Update async for CallbackUrl
...
Signed-off-by: Alex <alexellis2@gmail.com>
2017-08-29 19:40:08 +01:00
Alex
3031531b3c
Specify callback URL via http header
...
Signed-off-by: Alex <alexellis2@gmail.com>
2017-08-29 19:40:08 +01:00
Alex
fa069e412c
Remove Docker client from NATS
...
Signed-off-by: Alex <alexellis2@gmail.com>
2017-08-29 19:40:08 +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
c5815d36ab
add_missing_mit_header_27_aug
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-27 22:37:19 +01:00
Alex Ellis
c163b7d2a8
Add gateway_service_count metric for external provider
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-25 08:14:05 +01:00
Alex Ellis
b6002e1c85
Add EnvProcess and logo to UI
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-23 09:01:44 +01:00
Fabien Le Frapper
e8f387fa47
Use Roboto Mono for code blocks & use on imports for all fonts
...
Signed-off-by: Fabien Le Frapper <contact@fabienlefrapper.me>
2017-08-22 17:49:39 +01:00
Alex
3ac73340c3
Allow restarts of up to 5 times with 5 sec delays
...
Signed-off-by: Alex <alexellis2@gmail.com>
2017-08-16 21:34:05 +01:00
Alex Ellis
7818f3fb17
Bump arm to 0.6.0
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-13 20:20:42 +00:00
Alex Ellis
ce8d5838dc
Add plugin folder to Dockerfile
2017-08-08 09:14:46 +01:00
Alex Ellis
f165ce2ca7
External replica proxy
2017-08-08 09:14:46 +01:00
Alex Ellis
33381a783a
External alert-handler support.
2017-08-08 09:14:46 +01:00
Alex
1e4b5f907a
Wrap scaling / alert handling in interface/adapter pattern.
2017-08-08 09:14:46 +01:00
Alex
fa210a0dd3
Move HttpAdapter to own file
2017-08-08 09:14:46 +01:00
Alex
9df92c7f1b
Start logging metrics
2017-08-08 09:14:46 +01:00
Alex
35a15cff01
Support external URL for FaaS functions
2017-08-08 09:14:46 +01:00
leigh schrandt
cc3308a555
Relocate config_test to tests package and
...
Export struct members of GatewayConfig{}
2017-07-18 08:46:46 +01:00
leigh schrandt
457d0be78b
Add GatewayConfig
...
Add env configurable readTimeout / writeTimeout
Add env-timeout test
Modify appropriate Dockerfiles
Signed-off-by: leigh schrandt <leigh@null.net>
2017-07-18 08:46:46 +01:00
Alex Ellis
283d311b08
Update vendoring via vndr
2017-07-12 20:30:56 +01:00
Sebastien Guilloux
eccf94295f
Run unit tests before build
...
This modifies Dockerfile.build.* to run unit tests before build.
2017-05-30 17:10:34 +01:00
Sebastien Guilloux
9e711b3b5d
Handle private docker registry auth
...
This adds support for private docker registries, by adding
an optional `registryAuth` field in the CreateFunctionRequest.
Auth must be passed as base64-encoded basic auth, similar to
how done in Docker file store credentials (~/.docker/config.json).
Credentials are then passed to swarm at service creation.
2017-05-30 17:10:34 +01:00
Alex
201d2c20de
Requests update
2017-05-08 13:42:14 +01:00
Alex Ellis
9e3eaea754
Pass env-vars to functions via API gateway
2017-05-08 13:42:14 +01:00
Alex Ellis
024bd5419b
Format and add multi-stage Dockerfile
2017-05-08 13:42:14 +01:00
Alex Ellis
968002c15f
Extract magic variables for server
2017-05-08 13:42:14 +01:00
Alex Ellis
0b2d3ea6c0
Move static files to ui folder
2017-05-08 13:42:14 +01:00
Alex Ellis
2b57665293
Add EnvVars
2017-05-07 14:27:57 +01:00
Alex
569ccbf323
Add license into code files for MIT
2017-04-27 23:21:50 +01:00
Alex Ellis
78af82021f
Vendoring with Glide and delete function handler
2017-04-27 09:29:14 +01:00
Alex Ellis
09cc91108a
Enable handling of multiple concurrent alerts
2017-04-13 17:38:30 +01:00
Alex Ellis
8c66f43f79
Enable dash in function name
2017-04-12 11:18:05 +01:00
Alex Ellis
c62c00e411
Fix for Docker upstream
2017-04-11 21:22:37 +01:00
Alex Ellis
4a0c712c0f
Extract magic variables
2017-04-08 10:03:16 +01:00
Alex Ellis
a71329de4a
Provide override for replica scaling to cap out at custom value.
2017-04-08 10:03:16 +01:00
Alex Ellis
bafea3e79a
Add text type by default to tester page
2017-04-06 21:07:30 +01:00