Commit Graph

2179 Commits

Author SHA1 Message Date
Tolga Ceylan
b0937f236f fn: headroom error case to clarify OOM (#589) 2017-12-12 12:02:12 -08:00
CI
669b8ef662 fnlb: 0.0.193 release [skip ci] fnlb-0.0.193 2017-12-12 18:23:47 +00:00
CI
034b507e65 fnserver: 0.3.231 release [skip ci] 0.3.231 2017-12-12 18:21:48 +00:00
Denis Makogon
67ea4a2baf Adding minio for log store in compose (#580)
* Use data volumes for database

 plus better volume source path reference for prometheus

* Adding minio to compose for log store
2017-12-12 20:03:58 +02:00
CI
8149ce65a3 fnlb: 0.0.192 release [skip ci] fnlb-0.0.192 2017-12-12 18:03:11 +00:00
CI
9234bdff96 fnserver: 0.3.230 release [skip ci] 0.3.230 2017-12-12 18:01:11 +00:00
Nigel Deakin
3bfe57825e Update README.md (#586) 2017-12-12 17:43:48 +00:00
CI
6cfa69b088 fnlb: 0.0.191 release [skip ci] fnlb-0.0.191 2017-12-11 19:01:52 +00:00
CI
85d5291f0f fnserver: 0.3.229 release [skip ci] 0.3.229 2017-12-11 18:59:51 +00:00
Reed Allman
2ebc9c7480 hybrid mergy (#581)
* so it begins

* add clarification to /dequeue, change response to list to future proof

* Specify that runner endpoints are also under /v1

* Add a flag to choose operation mode (node type).

This is specified using the `FN_NODE_TYPE` environment variable. The
default is the existing behaviour, where the server supports all
operations (full API plus asynchronous and synchronous runners).

The additional modes are:
* API - the full API is available, but no functions are executed by the
  node. Async calls are placed into a message queue, and synchronous
  calls are not supported (invoking them results in an API error).
* Runner - only the invocation/route API is present. Asynchronous and
  synchronous invocation requests are supported, but asynchronous
  requests are placed onto the message queue, so might be handled by
  another runner.

* Add agent type and checks on Submit

* Sketch of a factored out data access abstraction for api/runner agents

* Fix tests, adding node/agent types to constructors

* Add tests for full, API, and runner server modes.

* Added atomic UpdateCall to datastore

* adds in server side endpoints

* Made ServerNodeType public because tests use it

* Made ServerNodeType public because tests use it

* fix test build

* add hybrid runner client

pretty simple go api client that covers surface area needed for hybrid,
returning structs from models that the agent can use directly. not exactly
sure where to put this, so put it in `/clients/hybrid` but maybe we should
make `/api/runner/client` or something and shove it in there. want to get
integration tests set up and use the real endpoints next and then wrap this up
in the DataAccessLayer stuff.

* gracefully handles errors from fn
* handles backoff & retry on 500s
* will add to existing spans for debuggo action

* minor fixes

* meh
2017-12-11 10:43:19 -08:00
Alexander Bransby-Sharples
1df4b46c56 [skip ci] Added the API_CORS env var to the documented options (#538) 2017-12-08 13:29:44 +00:00
Avi Miller
251a9b34d6 [skip ci] Fix the name of Oracle Linux to the official product name. (#584)
Signed-off-by: Avi Miller <avi.miller@oracle.com>
2017-12-08 11:04:56 +00:00
CI
6fdd5434b2 fnlb: 0.0.190 release [skip ci] fnlb-0.0.190 2017-12-07 14:15:54 +00:00
CI
eb39c22bf5 fnserver: 0.3.228 release [skip ci] 0.3.228 2017-12-07 14:13:52 +00:00
Denis Makogon
92a2810e79 New swagger version (#579) 2017-12-07 15:56:40 +02:00
CI
e783e5f4e4 fnlb: 0.0.189 release [skip ci] fnlb-0.0.189 2017-12-07 00:29:39 +00:00
CI
834e61cd9f fnserver: 0.3.227 release [skip ci] 0.3.227 2017-12-07 00:27:41 +00:00
Tolga Ceylan
9481f811b7 fn: fail count should include timeouts (#577)
* fn: fail count should include timeouts
2017-12-06 16:11:59 -08:00
CI
fd309c7cac fnlb: 0.0.188 release [skip ci] fnlb-0.0.188 2017-12-07 00:09:56 +00:00
CI
af08abd532 fnserver: 0.3.226 release [skip ci] 0.3.226 2017-12-07 00:07:48 +00:00
Travis Reeder
140aab4c94 Now matches docker version instead of our own versions. (#576) 2017-12-06 15:51:00 -08:00
CI
ec7062dc8c fnlb: 0.0.187 release [skip ci] fnlb-0.0.187 2017-12-06 21:54:29 +00:00
CI
485e679736 fnserver: 0.3.225 release [skip ci] 0.3.225 2017-12-06 21:52:24 +00:00
Derek Schultz
8de31c6b50 add link to Fn Helm Chart (#573)
Removes old k8s doc and script in favor of linking to the new Helm Chart.
2017-12-06 14:35:11 -07:00
CI
9e949a9751 fnlb: 0.0.186 release [skip ci] fnlb-0.0.186 2017-12-06 19:04:46 +00:00
CI
04d1183bd9 fnserver: 0.3.224 release [skip ci] 0.3.224 2017-12-06 19:02:37 +00:00
CI
b042b47f10 fnlb: 0.0.185 release [skip ci] fnlb-0.0.185 2017-12-06 18:59:21 +00:00
CI
937e78d6a3 fnserver: 0.3.223 release [skip ci] 0.3.223 2017-12-06 18:57:17 +00:00
jan grant
8fc4bdcf97 Fnlb/k8s grouper (#563)
* WIP: add k8s grouper

- This shares a great deal of behaviour with allGrouper. Once it's
tested, refactor that to share as much as possible

- Glide hell. Checked in the yaml and lock files but a glide i -v
will be required to bring vendor/ up-to-date. Will address once this
is ready.

* Update README. Make the watch tracking work.

(To follow: add the junk that was pulled in via the glide update.)

* Vendor updates.

* go fmt

* Use the allGrouper with a k8s-backed DBStore instead.

This is much tidier :-)

* Fix up go vet
2017-12-06 10:45:27 -08:00
Denis Makogon
53a2b2702a Compose: API_URL --> FN_API_URL (#572) 2017-12-06 10:40:32 -08:00
CI
d7789121a0 fnlb: 0.0.184 release [skip ci] fnlb-0.0.184 2017-12-06 18:30:21 +00:00
CI
af8b8d87a0 fnserver: 0.3.222 release [skip ci] 0.3.222 2017-12-06 18:28:57 +00:00
Travis Reeder
6b8627d1c5 Fixes to recent extension changes. (#568)
* Fixes to recent extension changes.

* Fixes issue where gin will continue calling the handler even if next() isn't called.

* Updated docs.
2017-12-06 10:12:55 -08:00
CI
3096900d52 fnlb: 0.0.183 release [skip ci] fnlb-0.0.183 2017-12-06 17:33:19 +00:00
CI
bcc91dcdfa fnserver: 0.3.221 release [skip ci] 0.3.221 2017-12-06 17:31:50 +00:00
jan grant
e05afebed1 Nitfix for #548 (#571) 2017-12-06 09:15:16 -08:00
CI
188d855665 fnlb: 0.0.182 release [skip ci] fnlb-0.0.182 2017-12-06 11:35:34 +00:00
CI
96dda67bd9 fnserver: 0.3.220 release [skip ci] 0.3.220 2017-12-06 11:34:16 +00:00
Martin Beeby
ded2af187a Should it be fnserver (#569)
When I followed these instructions on line 127 I got the docker error "Docker: Error response from daemon: could not get container for functions: No such container: functions." Looking at the containers set up by fn start it appeared that the name was fnserver.

Changing the link container  from functions to fnserver made it work for me.
2017-12-06 11:18:46 +00:00
CI
14d4580cb1 fnlb: 0.0.181 release [skip ci] fnlb-0.0.181 2017-12-06 00:24:03 +00:00
CI
1e3edd45f0 fnserver: 0.3.219 release [skip ci] 0.3.219 2017-12-06 00:22:20 +00:00
Matthew Gilliard
77ca7f450f Adds Spring Cloud Function example (#566) 2017-12-05 16:02:32 -08:00
CI
7cba25c065 fnlb: 0.0.180 release [skip ci] fnlb-0.0.180 2017-12-05 18:43:51 +00:00
CI
f89367f526 fnserver: 0.3.218 release [skip ci] 0.3.218 2017-12-05 18:42:23 +00:00
Nigel Deakin
96f27070be More metrics (#561)
* Add new spans to agent.submit

* Add new spans to agent.submit

* Add new spans to agent.submit

* Add new spans to agent.submit
2017-12-05 10:26:28 -08:00
CI
d75508ecc3 fnlb: 0.0.179 release [skip ci] fnlb-0.0.179 2017-12-05 18:15:34 +00:00
CI
5dc6f164de fnserver: 0.3.217 release [skip ci] 0.3.217 2017-12-05 18:14:04 +00:00
Nigel Deakin
06f0650041 Fix spelling error (#565)
Fix spelling error (so worth merging), but I really just want to trigger a CI build.
2017-12-05 09:57:07 -08:00
CI
c5f29c66b5 fnlb: 0.0.178 release [skip ci] fnlb-0.0.178 2017-12-05 16:40:39 +00:00
CI
c501d3232f fnserver: 0.3.216 release [skip ci] 0.3.216 2017-12-05 16:39:14 +00:00