Commit Graph

39 Commits

Author SHA1 Message Date
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
Travis Reeder
0392363e1f Bumped swagger version and fixed client builder. 2016-10-19 13:03:28 -07:00
Seif Lotfy سيف لطفي
e85a31b715 Add missing swagger spec (#175)
* Add missing swagger spec

* More cleaning up of the swagger.yml and removing unused structs

* Add TaskWrapper
2016-10-19 12:22:41 -07:00
Travis Reeder
c95c0dd8f0 Added logging/metrics information, removed hosted thing in main README. (#183) 2016-10-19 12:21:55 -07:00
Travis Reeder
b2f89f707e async log image 2016-10-18 16:12:50 -07:00
Travis Reeder
41c06644d9 Docs related to running in production. (#174)
* Fixed up api.md, removed Titan references.

* Adding more documentation on running in production.

* Update deps for ironmq.
2016-10-17 11:31:58 -07:00
Travis Reeder
fcde29802e Swagger client generator. (#166) 2016-10-14 11:40:20 -07:00
Seif Lotfy سيف لطفي
b7bf73f5d2 Makefile (#122)
* Update Readme and add Makefile
* Skip stale tests (in wait for stdin support)

* Revert "Skip stale tests (in wait for stdin support)"

This reverts commit 228da3776503f40ca53df70a79a9e4a9c73fd8b5.
2016-10-06 20:46:29 +02:00
Travis Reeder
a48c0e38aa Added info on scaling. 2016-09-13 11:53:53 -07:00
Travis Reeder
8558d13f07 Added support for hooks to customize behavior. 2016-08-09 22:34:28 -07:00
Travis Reeder
40e1ebd434 Updates to fix against Titan changes and what not. 2016-08-07 14:10:31 -04:00
Pedro Nasser
338498e94d update docs and contributing 2016-07-27 17:51:51 -03:00