Commit Graph

27 Commits

Author SHA1 Message Date
James
d2b4078b60 Cleanup imports and errors 2017-05-17 16:38:23 -07:00
Travis Reeder
fedf08964e Deploy will automatically create a route if it doesn't exist. 2017-05-17 15:11:44 -07:00
Travis Reeder
ca18ae88fa Added Lambda Node support as part of the regular functions workflow. (#601)
* Added Lambda Node support as part of the regular functions workflow.

* Fixes for PR comments.
2017-03-22 21:41:27 +01:00
Pedro Nasser
dea100d3d9 fn improvements: (#560)
- standardized required args validation
- routes create/update now prioritize args, over flags, over funcfile configuration
- removed deadcode
2017-03-01 17:55:48 -08:00
Pedro Nasser
b74c41fc3b Dry up fn tool (#549)
* dry up fn tool
* remove print
2017-02-28 19:35:51 -06:00
Travis Reeder
6119f07007 Fixes some route creation and updating bugs. (#526)
* Fixes some route creation and updating bugs.

* Updated README

* Added more info the quickstart

* Updated based on PR comments.

* Fixed based on comments.

* Updated per comments.
2017-02-24 16:04:04 -08:00
Seif Lotfy سيف لطفي
ab9428a937 Unskip tests (#516)
* Unskip tests

* fix fn output for errors

* Change Error model and add fn routes call return on error
2017-02-09 22:31:39 -02:00
Seif Lotfy سيف لطفي
c154e0811b Clean func file (#507)
* remove wrongfully added fnctl

* Remove path and max_concurrency from func.yaml generated with `fn init`

Fixes: 424
2017-02-02 19:39:18 -02:00
Jordan Krage
f7a834d5ef improve fn run/call http method support (#505) 2017-02-01 21:46:27 +01:00
Pedro Nasser
c62e22f5fe fn: apps commands improvements (#476)
* improve apps commands

* fix app and routes update config and headers unset

* add the command config set/unset back

* prevent extractEnvConfig to panic if not valid key=value

* add examples to readme.md

* fix fn routes
2017-01-30 11:23:34 -08:00
Travis Reeder
b827135200 Switch to go-swagger for client lib and checks for IRON_TOKEN (#406)
* wip - for review, using go-swagger client and checking for IRON_TOKEN and passing as auth header.

* wip - auth header

* add golang builder

* finish client builder

* change gh username

* fix git command

* update readme and small fixes

* some improvements

* using go-swagger

* fn new client

* revert swagger

* make fn routes and apps work with new client (go-swagger)

* some fixes in fn apps

* update functions_go
2017-01-24 08:08:40 -08:00
Pedro Nasser
3d10101294 Add routes config set/unset back (#478)
* add routes config set/unset back

* missing brackets

* add to changelog
2017-01-19 18:12:10 +01:00
Pedro Nasser
e68df5d154 changes in the fn organization and aliases (#475) 2017-01-05 19:00:31 +01:00
Pedro Nasser
bf048c9222 Include missing update commands (#461)
* include missing update commands

* merge all update commands into one single command

* added route inspect command

* fn routes inspect improvement

* update fn docs
2017-01-03 18:31:26 -02:00
C Cirello
2f0520521c all: rename hot containers to hot functions (#465) 2016-12-29 20:07:41 +01:00
Pedro Nasser
23ef919a87 fix fn rename method name (#454) 2016-12-19 16:57:41 -02:00
Pedro Nasser
5a6ebb4e2f fn should show API errors messages (#450)
* fn should show API errors messages

* update functions_go

* update functions_go lock
2016-12-19 16:30:18 -02:00
Pedro Nasser
ea93ba00ac Disable envAsHeader by default (#435)
* disable envAsHeader by default

* fix -e flag usage description
2016-12-13 23:55:32 -02:00
C Cirello
c37c754e0b fn: fix precedence of path choice during route creation (#427)
Fixes #413
2016-12-13 19:52:54 +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
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
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