581 Commits

Author SHA1 Message Date
John McCabe
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
Eric Stoekl
9052a7d750 Adding Telegram Bot Tutorial to community.md
Signed-off-by: Eric Stoekl <ems5311@gmail.com>
2017-09-26 17:19:55 +01:00
Alex Ellis
677c9a60f2 Adding contributions via Microsoft 2017-09-26 17:12:11 +01:00
Alex Ellis
97cabbf0c0 Update troubleshooting.md 2017-09-26 16:52:29 +01:00
Alex Ellis
0ed21a7db4 Update CONTRIBUTING.md 2017-09-26 16:50:30 +01:00
John McCabe
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
Alex Ellis
ad3eec6a49 Update ci.sh 2017-09-25 21:24:08 +01:00
Alex Ellis
8f0acf7301 Update ci.sh 2017-09-25 21:17:35 +01:00
Alex Ellis
0ce5a08690 test using proper Gopath 2017-09-25 21:08:37 +01:00
Alex Ellis
9745faa243 Update ci.sh 2017-09-25 19:42:37 +01:00
Alex Ellis
38f2c1e765 Update ci.sh 2017-09-25 19:25:11 +01:00
Alex Ellis
00686d0380 Update ci.sh 2017-09-25 19:09:02 +01:00
Alex Ellis
3b74f60226 Force positive exit. 2017-09-25 19:07:51 +01:00
Alex Ellis
5c2e18d6af Update .travis.yml 2017-09-25 19:04:25 +01:00
Alex Ellis
55429562ff Add CI script 2017-09-25 19:04:11 +01:00
Alex Ellis
5a29eefe25 Less is more for the README 2017-09-25 18:09:50 +01:00
Alex Ellis
464508d6ef Update README.md 2017-09-25 17:51:25 +01:00
Alex Ellis
7be845cb20 Update with additional blog link 2017-09-25 17:46:06 +01:00
Alex Ellis
770437109e Pad out explanations 2017-09-25 17:42:13 +01:00
John McCabe
c52c6decc6 Add Belfast meetups to events
Signed-off-by: John McCabe <john@johnmccabe.net>
2017-09-25 12:51:45 +01:00
Dinesh Majrekar
72f15f9c97 Added OpenFaaS on Civo Blog post
Signed-off-by: Dinesh Majrekar dinesh.majrekar@serverchoice.com
2017-09-25 11:45:37 +01:00
Alex Ellis
c66972325d Add timeouts
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-25 11:22:59 +01:00
Alex Ellis
0f695fecb0 Update troubleshooting.md 2017-09-25 09:28:33 +01:00
Alex Ellis
7b300ce1f9 Update chaining_functions.md 2017-09-25 09:15:45 +01:00
Alex Ellis
fc2733a2a0 Create chaining_functions.md 2017-09-25 09:11:53 +01:00
Alex Ellis
096bede3f0 Update troubleshooting to add timeouts 2017-09-25 08:40:59 +01:00
Ken Fukuyama
274ebef13a added graphql blog post
Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
2017-09-24 16:16:04 +01:00
Alex Ellis
f7d62f2200 openfaas 2017-09-24 10:34:18 +01:00
Alex Ellis
6515a50655 On the road 2017-09-24 10:24:16 +01:00
Alex Ellis
4bba14bdb7 Update TestDrive.md 2017-09-24 10:13:59 +01:00
Alex Ellis
cf0b36fc1d Update URL 2017-09-24 10:13:31 +01:00
Alex Ellis
2015107142 Make link live 2017-09-24 09:56:46 +01:00
Alex Ellis
bdd2e42acd Update title 2017-09-24 09:53:16 +01:00
Alex Ellis
c567ac1ad7 Make gateway 2017-09-24 09:49:25 +01:00
Alex Young
ad1130d5f2 Add event to community doc
Signed-off-by: Alex Young <alex@heuris.io>
2017-09-23 21:12:48 +01:00
Alex Ellis
9b56ff839b Flesh out intro 2017-09-23 20:52:15 +01:00
Jono Finger
8e5f2f9696 Constraining kong to manager node.
Hiding Kong admin port.
Updating firewall section.

Signed-off-by: Jono Finger <jono@foodnotblogs.com>
2017-09-23 20:46:27 +01:00
Jono Finger
8dadbc1b4b Addressing some of the security comments in PR.
Signed-off-by: Jono Finger <jono@foodnotblogs.com>
2017-09-23 20:46:27 +01:00
Jono Finger
94eb11ef2f Updating formatting and adding SSL
Signed-off-by: Jono Finger <jfinger@plos.org>
2017-09-23 20:46:27 +01:00
Jono
ab1e913492 Updating Kong to use the same network as FaaS
Signed-off-by: Jono <jono@foodnotblogs.com>
2017-09-23 20:46:27 +01:00
Jono
13852a930d Adding Kong integration guide
Signed-off-by: Jono Finger <jono@foodnotblogs.com>
2017-09-23 20:46:27 +01:00
Alex Ellis
ca9a7fe97c Reinstating tests
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-23 20:42:13 +01:00
Alex Ellis
2229e922d7 Add update endpoint/route
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-23 20:42:13 +01:00
Alex Ellis
e19803a357 Update community.md 2017-09-23 14:10:35 +01:00
Alex Ellis
20e7b04c31 Add third-party providers 2017-09-23 10:26:58 +01:00
Alex Ellis
1aeb978617 Remove binary
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-22 22:34:07 +01:00
Johnny Mkhael
ff5590f6b2 Added link to DownNotifier post
Signed-off-by: Johnny Mkhael <johnny.mkhael@gmail.com>
2017-09-22 16:29:07 +01:00
Alex Young
84ae82473c Use types from requests
Signed-off-by: Alex Young <alex@heuris.io>
2017-09-22 14:39:01 +01:00
Alex Young
403236610a Remove duplication from createfunction_test.go
Signed-off-by: Alex Young <alex@heuris.io>
2017-09-22 14:39:01 +01:00
Alex Young
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