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
Seif Lotfy
b623fc27e4
Initial work on async functions
2016-09-24 10:06:51 +02:00
Travis Reeder
bf6c4b0a4a
Merge pull request #103 from iron-io/new-metrics
...
metrics added: wait time total and reserved memory
2016-09-23 11:16:24 -07:00
Seif Lotfy سيف لطفي
481ea81282
Merge pull request #98 from iron-io/caddy-lb-example
...
Caddy load balancer example
2016-09-23 14:12:39 -04:00
Henrique Chehad
ba3f0b360b
removed "reserved_memory" metric
2016-09-21 22:35:07 -03:00
Henrique Chehad
6b910d0b75
added wait time total and reserved memory metrics
2016-09-21 20:25:37 -03:00
Henrique Chehad
76e617ee04
fix irregular header and texts
2016-09-20 22:05:35 -03:00
Pedro Nasser
ef53279f9b
Merge pull request #101 from iron-io/update-worker-repository
...
updated worker repository references
2016-09-20 22:00:01 -03:00
Pedro Nasser
b061f8db41
update glide.lock
2016-09-20 21:50:46 -03:00
Pedro Nasser
51fcdd2327
small fix postgres insert query
2016-09-20 19:21:30 -03:00
Henrique Chehad
fdb199485d
separator in readme
2016-09-20 15:35:37 -03:00
Henrique Chehad
802b96166d
route params documentation
2016-09-20 15:29:48 -03:00
Henrique Chehad
06294b4b77
updated worker repository ref
2016-09-19 20:41:35 -03:00