Commit Graph

111 Commits

Author SHA1 Message Date
Pedro Nasser
4d7dde3486 change update from PUT method to PATCH (#440) 2016-12-14 17:22:44 +01:00
Pedro Nasser
f03619d479 remove ifaces from doc (#430) 2016-12-13 13:36:56 -08:00
Pedro Nasser
32de7d5361 Improvements on API error, swagger and status code (#428)
* improvements on API error, swagger and status code

* missing validation

* removing typo

* fix if-within-if

* fix handle app delete
2016-12-13 19:18:52 -02:00
Pedro Nasser
2a09a1c2a2 listeners and special handlers improvements (#412)
* listeners and special handlers improvements

* update runnerListener methods

* typo
2016-12-13 19:40:48 +01:00
Pedro Nasser
1389bfb1d3 add special handler docs (#408) 2016-12-12 16:04:25 -02:00
C Cirello
8a24cc432e doc: hot containers (#411)
* doc: hot containers

* doc: update with code review
2016-12-11 10:58:58 +01:00
Pedro Nasser
49a7712e6b API improvements (#410)
* api improvements, remove global Api object and reduce gin dependency

* requested changes
2016-12-09 15:24:35 -02:00
Travis Reeder
e172a838c2 Fixed Route definition in swagger doc. (#405)
* Fixed Route definition in swagger doc.

* Changed swagger URL to petstore so we don't have to maintain it in swaggerhub and github anymore.
2016-12-07 20:33:34 +01:00
C Cirello
3b16b7f1d8 functions: application updates no longer accept name in the body (#391)
* functions: application updates no longer accept name in the body

AppUpdate was initially conceived as an upsert endpoint for apps.
It turns out that it created an inconsistency regarding updates:
updates with names divergent with URL would not actually change
application's name.

This commit atempts to address the issue by returning an HTTP
error when trying to update an application name. In swagger.yml,
application names are already `readOnly:true`. Thus there is no
change from expected behavior.

Fixes #380

* functions: use specific error value for name change
2016-12-07 19:54:21 +01:00
C Cirello
66d446b148 functions: returns HTTP error in case of route update attempt (#396)
Ensure that attempts to update route's path are properly handled
with a HTTP error. Moreover, updates swagger file to make it
explicit that routes are immutable.

Fixes #381
2016-12-07 19:54:09 +01:00
Pedro Nasser
91006a701e Update listener docs (#398)
* add listener docs

* removed TODO and added more listener info

* removing invalid route from appupdatelistener
2016-12-06 16:11:21 +01:00
C Cirello
08e9a52388 functions: fix documentatino on Redis support for DB (#387) 2016-12-06 10:06:26 -02:00
C Cirello
470e497e7b fn: improve funcfile doc (#376)
* fn: improve funcfile doc

* fn: improve wording of build key

* fn: make clear max_concurrency is per node
2016-12-05 17:15:20 +01:00
C Cirello
28f713ed11 fn: support for functions testing (#379)
* fn: add test framework

* fn: make routes creation smarter

* fn: add testframework examples

* fn: remove unnecessary dependency

* fn: update doc

* fn: fix consistenty between runff, runlocaltest and runremotetest
2016-12-05 17:05:06 +01:00
C Cirello
9ac2539aeb fn: improve UX and publish/deploy command (#359)
* fn: improve UX and publish/deploy command

* fn: remove wrong use cases for deploy

* fn: fix regression introduced by merge
2016-12-01 18:11:13 +01:00
C Cirello
e63cc04e68 fn: add header configuration to route calls (#371) 2016-12-01 17:51:26 +01:00
C Cirello
37afafab72 api: remove app_name duplication of route related calls (#370) 2016-12-01 17:38:32 +01:00
C Cirello
688ffcf39f api,fn: entrypoint to return daemon version (#367) 2016-12-01 16:50:49 +01:00
C Cirello
f1e1d69e81 doc: add language libraries to the documentation (#354)
Fixes #319
2016-11-29 00:00:52 +01:00
C Cirello
308cb25ba2 api: remove useless parameter in get task call (#353)
Fixes #275
2016-11-28 23:59:12 +01:00
C Cirello
a7a466f968 functions: fix route timeout (#349)
* functions: add route-level timeout configuration options

* functions: harmonize defaults
2016-11-28 20:53:11 -02:00
C Cirello
ac0044f7d9 functions: hot containers (#332)
* functions: modify datastore to accomodate hot containers support

* functions: protocol between functions and hot containers

* functions: add hot containers clockwork

* fn: add hot containers support
2016-11-28 15:45:35 -02:00
C Cirello
da96ef471a api: add support for deleting apps (#327)
* api: add support for deleting apps

Fixes #274

* functions: improve error name and description

* functions: fix test regression
2016-11-22 01:07:30 +01:00
C Cirello
fe845e1886 fn: improve UX (#325)
* fn: make UX more consistent with regards to app name position

* fn: improve detection of missing routes

* fn: fix update operations

- No longer delete-than-add for configuration updates
- Path cleaning before most of routes operations
2016-11-22 00:27:48 +01:00
C Cirello
c0512a4cbd fn: rename from fnctl (#321)
* fn: rename from fnctl

* fn: predicting the release version for installer

* fn: predicting the release version for installer
2016-11-21 17:24:26 +01:00
C Cirello
9d06b6e687 functions: common concurrency stream for sync and async (#314)
* functions: add bounded concurrency

* functions: plug runners to sync and async interfaces

* functions: update documentation about the new env var

* functions: fix test flakiness

* functions: the runner is self-regulated, no need to set a number of runners

* functions: push the execution to the background on incoming requests

* functions: ensure async tasks are always on

* functions: add prioritization to tasks consumption

Ensure that Sync tasks are consumed before Async tasks. Also, fixes
termination races problems for free.

* functions: remove stale comments

* functions: improve mem availability calculation

* functions: parallel run for async tasks

* functions: check for memory availability before pulling async task

* functions: comment about rnr.hasAvailableMemory and sync.Cond

* functions: implement memory check for async runners using Cond vars

* functions: code grooming

- remove unnecessary goroutines
- fix stale docs
- reorganize import group

* Revert "functions: implement memory check for async runners using Cond vars"

This reverts commit 922e64032201a177c03ce6a46240925e3d35430d.

* Revert "functions: comment about rnr.hasAvailableMemory and sync.Cond"

This reverts commit 49ad7d52d341f12da9603b1a1df9d145871f0e0a.

* functions: set a minimum memory availability for sync

* functions: simplify the implementation by removing the priority queue

* functions: code grooming

- code deduplication
- review waitgroups Waits
2016-11-18 18:23:26 +01:00
Michael Kitson
1f5e820a17 Fix duplicate docs folder in link path (#306) 2016-11-15 16:47:05 -08:00
C Cirello
02d3b18497 all: drop CONFIG_ prefix for configuration (#297)
Fixes #251
2016-11-15 19:19:21 +01:00
Chad Arimura
bb5250e223 Update faq.md 2016-11-15 08:20:42 -08:00
Travis Reeder
616112b349 swagger fixes and appname -> app_name (#294)
* swagger fixes and appname -> app_name

* Swagger errors fixed
2016-11-15 08:13:53 -08:00
Travis Reeder
0d71e1e38e Docs update with new fnctl commands (#273)
* Added high level roadmap.

* Changed to funtion.yaml.

* Added logo

* updating quickstart code example, WIP, waiting on another merge.

* Minor updates.

* Changed function.yaml to func.yaml and updated fnctl README.
2016-11-15 01:40:05 +01:00
Seif Lotfy سيف لطفي
ba65220127 Lambda docs (#264)
* Add aws.md and s3 example

Signed-off-by: Seif Lotfy <seif.lotfy@gmail.com>

* minor fix
2016-11-11 19:40:22 +01:00
Travis Reeder
f9281e70b4 Fixes leftovers from #258. (#261) 2016-11-11 15:28:15 +01:00
C Cirello
4e41cac6e2 functions: DB -> DB_URL / MQ -> MQ_URL and related docs (#258) 2016-11-09 17:02:32 -08:00
C Cirello
6af57c2bdb fnctl: add application level configuration (#247)
Fixes #233
2016-11-09 13:59:24 -08:00
Benji Visser
a32ca3d90a docs: moving documentation around to be more clear and easier to browse (#236)
* moving documentation around to be more clear and easier to browse

- moved assets into their own directory and updated links to them
- moved operating docs into their own directory
- consolidated kubernetes docs
- added docker-swarm folder for docs
- updated docs layout in docs/README.md to reflect the changes and make it easier to read

* docs: s/Operating Functions/Operating IronFunctions/

* docs: removing duplicate database link

* docs: moving databases into general docs

* docs: moving databases/mqs back

* docs: removing memory.md (duplicate of operating/routes.md)

* docs: converting to markdown bullets
2016-11-09 09:39:53 -08:00
Travis Reeder
605fe1eecc Quick link added 2016-11-09 08:50:23 -08:00
C Cirello
c985a17b02 fnctl: expand fnctl README.md with new options for configuration (#242)
* fnctl: expand fnctl README.md with new options for configuration

* fnctl: extends function files to update routes configurations
2016-11-09 00:33:49 +01:00
C Cirello
ae6924c36c client: add memory, type and configuration flags (#234)
* client: add memory, type and configuration to API
* client: improve documentation about memory, type and route configuration
2016-11-08 21:49:10 +01:00
Travis Reeder
85e15fe48a More doc updates, explanation of serverless. (#228)
* More doc updates, explanation of serverless.

* Moved howto directory to examples and some minor doc updates.

* Added apps and routes docs.

* Fixes for Carlos' comments.

* Added bit about importing lambda functions.
2016-11-08 09:44:08 -08:00
Carlos C
d5fb1afda7 Revert "Assert License (#224)"
This reverts commit a61c4dab78.
2016-11-06 09:25:12 -08:00
C Cirello
a61c4dab78 Assert License (#224)
* license: assert license for Go code
* license: add in shell scripts
* license: assert license for Ruby code
* license: assert license to individual cases
* license: assert license to Dockerfile
2016-11-05 23:33:07 +01:00
Travis Reeder
4421c151c5 Docs on writing functions and the functions format. (#203)
* WIP on writing functions and the functions format.

* Added more docs on writing functions.

* Running on windows docs.

* Linked README to writing.md

* Minor fixes from PR feedback.
2016-11-03 10:53:36 -07:00
Pedro Nasser
e9c0fb454a memory docs (#210) 2016-11-02 15:52:07 -07:00
C Cirello
5b3971060b Per language HOWTO's on writing functions (#208)
* fnctl: improve UX for howto's

* doc: go function howto

* fnctl: show the progress of build calls

* doc: php function howto

* doc: fix Go HOWTO

* doc: Node Functions HOWTO

* doc: Python Functions HOWTO

* doc: improve README files

* doc: ccirello -> USERNAME

* docs: fix Python example

Used an idiomatic method (isatty) to decide whether stdin must
be read or not.

* doc: fix go example

* fnctl: fix docker push output
2016-11-02 00:19:16 +01:00
C Cirello
b8cc8ad1d5 Functions CLI (#191)
First iteration of CLI tool.
2016-10-24 09:21:07 -07:00
C Cirello
ed4e7cd422 Mention that aufs is also supported (#186) 2016-10-20 10:58:58 -07:00
C Cirello
154df15e88 Draft for Kubernetes support (#138)
Fixes #64
* Draft for Kubernetes support
* fix image name
* Update kubernetes.md
* Basic outline of kubernetes howto both quickstart and production
2016-10-20 18:08:30 +02:00
C Cirello
64e74adce9 Add information about host's Docker configuration (#184)
* Add information about host's Docker configuration

* Move Docker block to its own file

* Fix configuration mistake
2016-10-19 16:42:05 -07:00
C Cirello
0cdf012dfc Draft for Swarm support (#136)
* Draft for Swarm support

Fixes #65

* fix shell prompt

* Add instructions for production deployments

Further set of instructions with steps for:
- PostgreSQL
- Redis
- Load Balancer
2016-10-19 14:53:49 -07:00