Commit Graph

383 Commits

Author SHA1 Message Date
Eugene Kalinin
8cf6eb5ada OpenStack Ceilometer example: more literate text 2016-10-17 15:32:05 -07:00
Eugene Kalinin
1e77d19af1 added vim into gitignore 2016-10-17 15:32:05 -07:00
Eugene Kalinin
ad07c38c0a Example for OpenStack Ceilometer 2016-10-17 15:32:05 -07:00
Seif Lotfy سيف لطفي
7ec037b46a Move hello-async.sh and hello-sync.sh to the ruby and go directories … (#176)
* Move hello-async.sh and hello-sync.sh to the ruby and go directories and get rid of examples in tools

* update hello-ruby code to use iron/hello:ruby images
2016-10-17 22:12:10 +02:00
Seif Lotfy سيف لطفي
0270eca460 remove unused ApplyAppFilter which always returns true (#177) 2016-10-17 11:37:31 -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
C Cirello
42efb2ed6b Improve routes query (#172) 2016-10-14 21:52:25 +02:00
Travis Reeder
fcde29802e Swagger client generator. (#166) 2016-10-14 11:40:20 -07:00
C Cirello
6b7886721d Fix supervisor dependency (#167)
Fixes #164
2016-10-14 13:17:34 +02:00
C Cirello
d6e31b5d65 Skip flaky test for now (#168) 2016-10-14 13:09:53 +02:00
Travis Reeder
2cced6f2c3 Copied a bunch of examples from Titan. 2016-10-13 20:27:39 -07:00
Travis Reeder
c40ef433d8 Minor to fix comments in PR. 2016-10-13 20:24:06 -07:00
Travis Reeder
3f5af686b1 Skipping this test for now. 2016-10-13 20:24:06 -07:00
Travis Reeder
74402bdfea Fixing tests. 2016-10-13 20:24:06 -07:00
Travis Reeder
3e443e604c Added async post command to README. 2016-10-13 20:24:06 -07:00
Travis Reeder
df9343f5ed Version bump iron/hello. 2016-10-13 20:24:06 -07:00
Travis Reeder
777dc9dbb2 Ignores bad payload and just prints hello world for iron/hello. 2016-10-13 20:24:06 -07:00
Travis Reeder
75383d060f Updated route_name in json to app_name. 2016-10-13 20:24:06 -07:00
Travis Reeder
62fae89e33 Updated readme. 2016-10-13 20:24:06 -07:00
Travis Reeder
fd29b760d9 Minor: formatting. 2016-10-13 20:24:06 -07:00
Travis Reeder
25f582b180 Updated README and simplified/cleaned up some code. 2016-10-13 20:24:06 -07:00
Travis Reeder
e85c7560c3 Added hello-go example to make example image faster. 2016-10-13 20:24:06 -07:00
C Cirello
df3d5b48ce Fix race condition during initialization (#163)
Currently, async workers are started before HTTP interface is available
to get their requests. It fixes by ensuring that async workers are
started after HTTP interface is up.

Essentially we are getting rid of an error message during bootstrap:

        ERRO[0000] Could not fetch task error=Get http://127.0.0.1:8080/tasks: dial tcp 127.0.0.1:8080: getsockopt: connection refused
2016-10-13 22:56:34 +02:00
C Cirello
34b4b25092 Log messages cleanup (#158) 2016-10-13 18:11:31 +02:00
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