C Cirello
4cbfb3ccfd
Reduce test log verbosity ( #150 )
...
* Reduce test verbosity
* Divert gin's log to the test buffer
* Divert stdlib's log to the test buffer
* Add bolt tests into log buffer
* Add a linebreak to improve log output layout
2016-10-13 00:06:02 +02:00
C Cirello
5a1d9d4825
Update tool/examples to allow for naive load testing ( #152 )
2016-10-13 00:03:25 +02:00
Seif Lotfy سيف لطفي
006c01c97e
Change default API URL from localhost to 127.0.0.1 ( #153 )
...
* Change host from localhost to 127.0.0.1
* change unit tests to also use 127.0.0.1 instead of localhost
2016-10-13 00:00:53 +02:00
Pedro Nasser
1ff480561a
add runTask test ( #131 )
2016-10-12 22:32:06 +02:00
Pedro Nasser
2e12e2c700
Fix input async tasks + tests ( #137 )
2016-10-12 22:23:34 +02:00
C Cirello
b59a56ee51
Upgrade CircleCI's dependencies: Go and Glide ( #149 )
2016-10-12 20:19:36 +02:00
Carlos C
bbdbcbfa94
remove wrok runner version from glide.yaml
2016-10-12 20:05:57 +02:00
C Cirello
1dfc798af7
Strip vendored dependencies of their own vendor/ directories ( #148 )
2016-10-12 19:55:16 +02:00
C Cirello
15e76965a6
Remove examples/ directory from test scope ( #147 )
2016-10-12 19:40:47 +02:00
Travis Reeder
32f91e83ea
Fixes issues with dependencies.
2016-10-12 19:15:39 +02:00
Henrique Chehad
978224ecf8
created twitter example
2016-10-12 09:36:44 -07:00
Travis Reeder
042bccb2e6
Fixes issues with dependencies.
2016-10-11 18:18:06 -07:00
Seif Lotfy سيف لطفي
064d597b60
Fix runner changes ( #135 )
...
* Upgrade iron-io/runner to 165c16a9
* fix support for Stdin to work
2016-10-07 21:17:40 +02:00
Carlos C
1da3c7c7cf
remove data/
2016-10-07 20:44:45 +02:00
Carlos C
a36acc2ce1
.gitignore: data/
2016-10-07 20:44:20 +02:00
Pedro Nasser
52f78eb601
fix runner changes ( #132 )
...
Fix runner changes
2016-10-07 18:49:16 +02:00
Seif Lotfy سيف لطفي
970412ba88
If no task if found don't print error ( #130 )
2016-10-06 20:27:25 -03:00
Seif Lotfy سيف لطفي
52cab30056
Change PAYLOAD input to STDIN ( #111 )
...
* change to iron-io/runner dependency
* Fix runner dependency
* Change PAYLOAD input to STDIN, fixes #40
2016-10-06 18:44:58 -03: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
3bafb38e6d
Merge branch 'master' of https://github.com/iron-io/functions
2016-10-06 11:24:54 -07:00
Travis Reeder
b7844e9898
Checks env var first, then stdin.
2016-10-06 11:24:50 -07:00
C Cirello
3ca137a01c
Upgrade to Go 1.7 ( #128 )
...
* Upgrade to stdlib context package
* Modernized syntax
2016-10-06 20:10:00 +02:00
Travis Reeder
e90a109ed5
Updated README.
2016-10-06 10:45:33 -07:00
Travis Reeder
8390c5dc8e
Updated hello to use stdin.
2016-10-06 10:44:27 -07:00
C Cirello
c6f81ff921
Unify env variables naming into constants ( #127 )
2016-10-06 02:01:11 +02:00
C Cirello
aa12f3c724
Add graceful shutdown support for async runners ( #125 )
2016-10-06 00:32:56 +02:00
Carlos C
1e62c2a403
Remove log.Fatal message preventing application start
2016-10-05 22:59:03 +02:00
Seif Lotfy سيف لطفي
fbcec6bf40
Depend on iron-io/runner instead of iron-io/worker ( #124 )
2016-10-05 20:42:12 +02:00
C Cirello
eed5422c59
Fix configuration load from environment variables ( #123 )
...
Fix configuration load from environment variables
Fixed #119
2016-10-05 19:10:21 +02:00
Seif Lotfy سيف لطفي
659d30dd9f
Merge pull request #118 from iron-io/issue-114
...
Add context do models.MessageQueue interface
2016-10-05 01:05:34 +02:00
Seif Lotfy سيف لطفي
c6189dd422
Merge pull request #121 from iron-io/cascaded-functions
...
Fix start problem with two IronFunction colliding configurations
2016-10-05 00:59:12 +02:00
Carlos C
bb5824fef0
Code grooming
2016-10-05 00:51:50 +02:00
Carlos C
642cda40bc
Code grooming
...
Upper case letter when starting the sentence
2016-10-05 00:48:36 +02:00
Carlos C
bc3fba088f
Fix start problem with two IronFunction colliding configurations
...
By default, BoltDB will hang while waiting to acquire lock to the
datafile, thus the users might find themselves waiting for something
but not what. The added timeout aims inform use about what's
happening.
Also this renames MQADR to TASKSRV, refactor configuration to read
environment variables. RunAsyncRunner now fills the gaps when
parsing TASKSRV.
Fixes #119
2016-10-04 23:57:43 +02:00
Carlos C
b15ff5ce3a
context -> golang.org/x/net/context
2016-10-04 19:01:57 +02:00
Carlos C
6fd13e6754
update tests with new mq interface
2016-10-04 18:45:59 +02:00
Carlos C
0ecb6ca5cc
Add context do models.MessageQueue interface
2016-10-03 23:49:08 +02:00
Seif Lotfy سيف لطفي
3db24e2745
Merge pull request #117 from iron-io/minor-start-refactor
...
Reorganize daemon startup
2016-10-03 23:17:22 +02:00
Carlos C
39a582e2dd
Place srv.Run() last in the start up process
...
Smaller and simpler code, runner.RunAsyncRunner
2016-10-03 21:27:57 +02:00
Seif Lotfy سيف لطفي
5b36ed0833
Merge pull request #110 from iron-io/async
...
Async
2016-10-02 23:17:58 +02:00
Seif Lotfy
a8535120da
async calls return the call_id/task_id
2016-10-02 22:38:51 +02:00
Seif Lotfy
d8801d5be7
Refactor async runner and its reference and add unit tests
2016-09-30 23:29:59 +02:00
Seif Lotfy
067100bf9c
Move hello-async.sh and hello-sync.sh to examples directory
2016-09-30 23:29:59 +02:00
Travis Reeder
adf1b3105e
Merge pull request #106 from seiflotfy/fixTests
...
Fix unit tests due to missing Mock MQ
2016-09-30 14:20:21 -07:00
Seif Lotfy
f5c4f5f7a9
Fix unit tests due to missing mock MQ
2016-09-30 23:04:56 +02:00
Travis Reeder
c452d845fe
Merge pull request #102 from iron-io/route-params-doc
...
Route params documentation
2016-09-28 11:18:08 -07:00
Travis Reeder
1b172c8131
Merge pull request #97 from seiflotfy/async
...
WIP: Initial work on async functions
2016-09-28 11:17:39 -07:00
Seif Lotfy
f6f160cef9
Move async runner to runner file
2016-09-26 15:11:36 +02:00
Seif Lotfy
54f66c7b09
update glide
2016-09-26 12:59:18 +02:00
Seif Lotfy
92df53b144
Add support for Async worker
2016-09-24 10:06:57 +02:00