Commit Graph

2196 Commits

Author SHA1 Message Date
CI
0afa3e5c13 fnlb: 0.0.199 release [skip ci] fnlb-0.0.199 2017-12-14 15:44:57 +00:00
CI
e1b6212d28 fnserver: 0.3.237 release [skip ci] 0.3.237 2017-12-14 15:42:55 +00:00
Michal Gebauer
5cf7098129 Typo in docs (#599) 2017-12-14 07:25:24 -08:00
CI
cf73cc6343 fnlb: 0.0.198 release [skip ci] fnlb-0.0.198 2017-12-14 00:49:53 +00:00
CI
20b73b3452 fnserver: 0.3.236 release [skip ci] 0.3.236 2017-12-14 00:47:58 +00:00
Reed Allman
fab788b539 makes span use init() to run before server.New (#597) 2017-12-13 16:31:19 -08:00
CI
87f8d2180a fnlb: 0.0.197 release [skip ci] fnlb-0.0.197 2017-12-13 18:46:30 +00:00
CI
4f7ccab0eb fnserver: 0.3.235 release [skip ci] 0.3.235 2017-12-13 18:44:33 +00:00
Dario Domizioli
6ba8bf4488 Change runner api env var to FN_RUNNER_API_URL (#592) 2017-12-13 10:28:19 -08:00
CI
b4f909a730 fnlb: 0.0.196 release [skip ci] fnlb-0.0.196 2017-12-13 00:15:21 +00:00
CI
1aed099d7d fnserver: 0.3.234 release [skip ci] 0.3.234 2017-12-13 00:13:18 +00:00
Reed Allman
bb92547b95 Hybrid plumby (#585)
* fix configuration of agent and server to be future proof and plumb in the hybrid client agent

* fixes up the tests, turns off /r/ on api nodes

* fix up defaults for runner nodes

* shove the runner async push code down into agent land to use client

* plumb up async-age

* return full call from async dequeue endpoint, since we're storing a whole
call in the MQ we don't need to worry about caching of app/route [for now]
* fast safe shutdown of dequeue looper in runner / tidying of agent
* nice errors for path not found against /r/, /v1/ or other path not found
* removed some stale TODO in agent
* mq backends are only loud mouths in debug mode now

* update tests

* Add caching to hybrid client

* Fix HTTP error handling in hybrid client.

The type switch was on the value rather than a pointer.

* Gofmt.

* Better caching with a nice caching wrapper

* Remove datastore cache which is now unused

* Don't need to manually wrap interface methods

* Go fmt
2017-12-12 15:54:55 -08:00
CI
05ce2e3868 fnlb: 0.0.195 release [skip ci] fnlb-0.0.195 2017-12-12 20:27:01 +00:00
CI
9643e38f5d fnserver: 0.3.233 release [skip ci] 0.3.233 2017-12-12 20:25:06 +00:00
CI
98f34332b6 fnlb: 0.0.194 release [skip ci] fnlb-0.0.194 2017-12-12 20:21:22 +00:00
CI
ef735aeb47 fnserver: 0.3.232 release [skip ci] 0.3.232 2017-12-12 20:19:25 +00:00
Denis Makogon
a7763a6668 Adding java to list of fn_{} bindings (#588) 2017-12-12 12:08:40 -08:00
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