Commit Graph

28 Commits

Author SHA1 Message Date
Michael J Williams
8221867b42 Fixlinks to func-file.md (#1122) 2018-07-16 15:38:39 +01:00
Tom Coupland
c7a50efd2c Plan for func.yaml file changes for triggers. fnproject/cli#324 (#1115)
The changes aim to be as minimal as possible:

* Remove no longer available options
* Add a schema version to the file for validation
* Add trigger list block
2018-07-11 15:05:27 +01:00
Tolga Ceylan
300fcd7d92 fn: applications should be aware of reserved writable space (#1083)
Similar to FN_MEMORY, we pass FN_TMPSIZE to function config.
2018-07-03 16:04:48 -07:00
Sachin Pikle
abd8580300 Fixed broken links (#1087) 2018-06-25 18:26:19 +05:30
Owen Cliffe
456cbed8bd Update CLI docs to reflect new CLI verb/noun structure (#1031)
Use new CLI syntax
2018-06-08 11:47:04 +01:00
Travis Reeder
977976fa52 Update cloudevents.md 2018-04-24 11:15:01 -07:00
Travis Reeder
3eb60e2028 CloudEvents I/O format support. (#948)
* CloudEvents I/O format support.

* Updated format doc.

* Remove log lines

* This adds support for CloudEvent ingestion at the http router layer.

* Updated per comments.

* Responds with full CloudEvent message.

* Fixed up per comments

* Fix tests

* Checks for cloudevent content-type

* doesn't error on missing content-type.
2018-04-23 16:05:13 -07:00
Shaun Smith
795f37f1bd Fix to broken CLI link. (#868)
* Fix to broken CLI link.

* Point to install CLI link in the Fn readme file
2018-03-19 17:42:18 +05:30
Reed Allman
6967d0bfcb json format __definition__ omit whitespace between objects (#835)
http://json.org/ says: `Whitespace can be inserted between any pair of tokens. Excepting a few encoding details, that completely describes the language.`

we do not explicitly need the whitespace between objects in our json, it's entirely optional and soon we will even support it (#830)!
2018-03-09 12:06:31 -08:00
Denis Makogon
91d7874e34 FDK Node reference (#793) 2018-02-27 18:06:21 +02:00
Travis Reeder
575e1d3d0c Removes "type" from json format. Was pointless. (#783) 2018-02-20 12:04:08 -08:00
Dario Domizioli
e753732bd8 Hot protocols improvements (for 662) (#724)
* Improve deadline handling in streaming protocols

* Move special headers handling down to the protocols

* Adding function format documentation for JSON changes

* Add tests for request url and method in JSON protocol

* Fix  protocol missing fn-specific info

* Fix import

* Add panic for something that should never happen
2018-01-31 12:26:43 +00:00
Travis Reeder
7ace234848 Cleaned up main readme a bit (#693)
* Cleaned up main readme a bit

* Update README.md
2018-01-24 09:31:28 -08:00
Reed Allman
899cc027b5 fixes header format in function file docs (#711)
closes #145
2018-01-22 12:02:14 -08:00
Reed Allman
333d07c58d add config placement info to docs (#703)
this behavior was recently cemented but was entirely omitted from the doc on
'how to write functions'
2018-01-18 15:00:32 -08:00
Travis Reeder
5a2602d42e Updated docs, cleaned things up, DRY's up function format stuff. (#688)
* Updated docs, cleaned things up, DRY's up function format stuff.

* deleted files

* updated bad link
2018-01-16 14:45:44 -08:00
Travis Reeder
5cdee5579d Fixes 404 responses from functions that go through NoRoute path. (#651)
* Fixes 404 responses from functions that go through NoRoute path.

* cleanup

* cleanupp

* fix link

* Rollback a bad change.
2018-01-08 10:03:33 -08:00
Travis Reeder
fdb4188146 Adds before/after app get/list. And some bug fixes/cleanup. (#610)
* Adds before/after app get/list. And some bug fixes/cleanup.

* Fix test
2017-12-21 09:32:03 -08:00
Michal Gebauer
5cf7098129 Typo in docs (#599) 2017-12-14 07:25:24 -08: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
Travis Reeder
7e5919432e Update clients.md 2017-10-19 13:43:59 +02:00
Denis Makogon
e8dfb04cb1 Adding fdk-python link (#413) 2017-10-10 07:25:20 -07:00
Reed Allman
a4de984f79 add fdk-go to main docs (#412)
* add fdk-go to main docs

* add note about using fdk-go to hot example
2017-10-09 14:43:28 -07:00
Chris Helgert
f511cd27ed fix url in client libraries for java language wrapper (#398) 2017-10-06 13:37:29 +03:00
Travis Reeder
b520567a4c Update apps.md 2017-10-03 17:31:50 -07:00
Travis Reeder
5219227393 Updated docs on configuration and required env vars. (#285)
* Updated docs on configuration and required env vars.

* minor
2017-09-29 16:20:46 -07:00
Travis Reeder
87deba45e2 Updated docs. 2017-09-18 17:17:00 -07:00
Travis Reeder
9f87b1ead0 Client generator update (#262)
* Generated a bunch of clients.

* Builds go client.

* Removed test line.

* Changed dependencies to fnproject/fn_go

* Fix tests.
2017-09-14 10:57:22 -07:00