Commit Graph

136 Commits

Author SHA1 Message Date
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
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
C Cirello
3ca137a01c Upgrade to Go 1.7 (#128)
* Upgrade to stdlib context package
* Modernized syntax
2016-10-06 20:10:00 +02:00
C Cirello
aa12f3c724 Add graceful shutdown support for async runners (#125) 2016-10-06 00:32:56 +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
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
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
f5c4f5f7a9 Fix unit tests due to missing mock MQ 2016-09-30 23:04:56 +02: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
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
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
51fcdd2327 small fix postgres insert query 2016-09-20 19:21:30 -03:00
Henrique Chehad
06294b4b77 updated worker repository ref 2016-09-19 20:41:35 -03:00
Henrique Chehad
f4e8065cd9 server port comment about default/PORT env var 2016-09-19 16:58:24 -03:00
Pedro Nasser
b867b20cfd fix sleep time 2016-09-17 12:11:04 -03:00
Pedro Nasser
853c8b4534 prevent zero memory requirement 2016-09-13 23:44:16 -03:00
Pedro Nasser
688a6a0718 invalid method 2016-09-13 23:40:30 -03:00
Pedro Nasser
89a4092dc1 merge with master 2016-09-13 23:25:06 -03:00
Pedro Nasser
da1746dc97 improvements 2016-09-13 23:22:00 -03:00
Pedro Nasser
e6d0079051 add IGNORE_MEMORY 2016-09-12 14:44:11 -03:00
Pedro Nasser
a98b7e25d0 metric logger 2016-09-12 11:46:21 -03:00
Pedro Nasser
81a3394317 add queue.full and timeout count 2016-09-09 01:03:27 -03:00
Pedro Nasser
5d50721db1 add initial queue to runner 2016-09-09 00:54:00 -03:00
Pedro Nasser
f461312553 add required memory configuration to Route 2016-09-09 00:53:46 -03:00
Henrique Chehad
5697915676 removed repeated code 2016-09-06 20:23:33 -03:00
Henrique Chehad
11d619b38e fix typo 2016-09-06 16:57:38 -03:00
Henrique Chehad
49afdf5f35 created metrics func 2016-09-06 16:41:11 -03:00
Henrique Chehad
d539175e81 metrics standardize 2016-09-05 21:21:05 -03:00
Henrique Chehad
529af39dbc runner metrics 2016-09-05 18:12:46 -03:00
Pedro Nasser
c25c89f2fb Merge branch 'master' of github.com:iron-io/functions into runner-route-not-found 2016-08-30 22:41:09 -03:00
Travis Reeder
67c588577d functions: 0.0.32 release 2016-08-30 15:05:48 -07:00
Travis Reeder
d2afba465a Merge pull request #80 from iron-io/stdin
Streams stderr from user functions and outputs a standard format for …
2016-08-30 13:57:15 -07:00
Travis Reeder
b95e88bfdf Merge pull request #85 from pedronasser/standard-route-response
Standard route response
2016-08-30 11:32:52 -07:00
Travis Reeder
326eb8fd64 Merge pull request #78 from pedronasser/pass-header-env
Passing headers to env
2016-08-30 11:32:03 -07:00
Pedro Nasser
f5e7d8c956 fix runner route not found 2016-08-30 15:27:47 -03:00