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
499d6128e5
remove comment
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 09:54:05 -07: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
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
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
b6002e1c85
Add EnvProcess and logo to UI
...
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-23 09:01:44 +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
f165ce2ca7
External replica proxy
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
35a15cff01
Support external URL for FaaS functions
2017-08-08 09:14:46 +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 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
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
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
3aec97441e
Cleanup logging, give not allowed to GET on gateway functions
2017-04-05 22:34:45 +01:00
Alex Ellis
0b166c7627
Enable DNS-RR override for task lookup.
2017-04-05 09:13:18 +01:00
Alex Ellis
54d16013bb
Add comment
2017-03-31 20:40:25 +01:00
Alex
c705cd8e33
Forward client HTTP headers through pipeline
2017-03-31 20:40:25 +01:00
Alex Ellis
2aeadfda1c
Disable KeepAlive on proxy ( #21 )
...
* Service lookup
* Disable KeepAlive to force RR for replias.
* set KeepAlive to 0
* Remove temporary file
* Support white and rename function
* Remove debug from node sample
2017-03-21 08:39:36 +00:00
Alex Ellis
a63dd8ee4c
Simplify instrumentation metrics.
...
- fix javascript deserialization in UI with json response
- create swarm watcher to monitor replicas
2017-03-14 22:10:24 +00:00
Alex
38713184e5
Add status code instrumentation for functions
2017-03-14 22:10:24 +00:00
Alex
fe1e9fc52e
Create your own functionk working.
2017-03-12 12:56:53 +00:00
Alex
98c9ef67f4
Initial pop-up for new function.
2017-03-12 12:56:53 +00:00
Alex Ellis
9f2183f6f3
Update test names
2017-02-21 19:09:11 +00:00
Alex Ellis
cb807d2fa9
Adjust documentation
...
Allow content-type for UI
2017-01-31 17:30:42 +00:00
Alex
c211ba0d07
Cover replica scaling with tests.
2017-01-30 21:16:54 +00:00
Alex
52266a6741
Match content-type of incoming request. Fix for Alexa.
2017-01-28 12:26:30 +00:00
Alex
42c0c02950
Add integration test and defer
2017-01-27 21:07:09 +00:00
Alex Ellis
501e813d41
Move handlers into ./handlers
2017-01-25 22:29:17 +00:00