Commit Graph

1367 Commits

Author SHA1 Message Date
CI
0ef171dff5 functions: 0.3.36 release [skip ci] 0.3.36 2017-07-31 19:14:19 +00:00
Reed Allman
11b5c4ce67 Merge pull request #168 from fnproject/fix-async-task-reserving
Fix async task reserving
2017-07-31 12:05:31 -07:00
Denis Makogon
edb1279d57 Fixing task deleting to be similar to task getter 2017-07-31 21:37:29 +03:00
Denis Makogon
333fc66906 Making http client global to async runner 2017-07-31 21:22:12 +03:00
Denis Makogon
7c22468b81 Addressing comments 2017-07-31 21:15:08 +03:00
Denis Makogon
10566ba1a8 Use better http client while deleting task 2017-07-31 21:14:12 +03:00
Denis Makogon
f1e46ebfe3 Using better HTTP client 2017-07-31 21:14:12 +03:00
Denis Makogon
2d7f54bffe Addressing comments 2017-07-31 21:14:12 +03:00
Denis Makogon
bb8f12ece9 Fixing tests and CI file 2017-07-31 21:14:11 +03:00
Denis Makogon
49fe3eb11a Fixing FMT errors
Do we run go-fmt in CI?
2017-07-31 21:14:11 +03:00
Denis Makogon
721c0f1255 Improving erro handling while trying to reserve tasks at async runner
Each time when MQ becomes unreachable HTTP GET /tasks returned HTTP 500
 and code was not handling this case except expecting networking errors.
 After that it tried to unmarshal empty response body that caused another sort of an error.

 This patch triggers error based on http response code, explicitly checking if response code
 is something unexpected (not HTTP 200 OK).

 Response status code for /tasks for changed from 202 Accepted to 200 OK according to swagger doc.
2017-07-31 21:14:11 +03:00
CI
d3243b3ac9 fnlb: 0.0.12 release [skip ci] 0.0.12 2017-07-30 23:54:20 +00:00
CI
e618ceee07 fn tool: 0.3.34 release [skip ci] fn-0.3.34 2017-07-30 23:53:27 +00:00
CI
ee1656980c functions: 0.3.35 release [skip ci] 0.3.35 2017-07-30 23:51:51 +00:00
CI
37f9d578c6 fnlb: 0.0.11 release [skip ci] 0.0.11 2017-07-30 23:42:58 +00:00
CI
651426d00b fn tool: 0.3.33 release [skip ci] fn-0.3.33 2017-07-30 23:42:03 +00:00
CI
c93ed3b87c functions: 0.3.34 release [skip ci] 0.3.34 2017-07-30 23:40:24 +00:00
Mukhtar Haji
e69ceebed4 Building of Java project with no dependencies (#165)
* Bug: Fix building of Java project with no deps

Currently there is no way to perform a Docker `COPY` where the source
directory has no files, i.e. no way to ignore the error. So this change
puts all the dependencies into the /function/target directory whereas
they were in the /function/target/dependency directory before. This has
the benefit of knowing that the COPY command will always succeed even if
there are no dependencies as atleast the function jar itself will be in
/function/target directory.

* Add fail-never to first maven invocation

This is important as if the pom.xml has a compilation step, for example,
generate some source for me from my proto files in my src/main/resource
directory, this would fail as we have not copied the source directory in
yet.
2017-07-30 16:32:12 -07:00
Reed Allman
53cbe2d5a4 stop riding the short bus, no clue why this stuff is here. only adds confusion, removing (#1)
server exposes Router field
2017-07-30 16:31:31 -07:00
Reed Allman
2a7d9072d6 don't wait for signals to die 2017-07-28 17:17:16 -07:00
CI
85f7a53cc0 fnlb: 0.0.10 release [skip ci] 0.0.10 2017-07-28 19:09:06 +00:00
CI
9517a7d357 fn tool: 0.3.32 release [skip ci] fn-0.3.32 2017-07-28 19:08:09 +00:00
CI
153487002b functions: 0.3.33 release [skip ci] 0.3.33 2017-07-28 19:06:32 +00:00
CI
dabf1f031d fnlb: 0.0.9 release [skip ci] 0.0.9 2017-07-28 18:57:15 +00:00
CI
bd21813568 fn tool: 0.3.31 release [skip ci] fn-0.3.31 2017-07-28 18:56:21 +00:00
CI
5285b5d08e functions: 0.3.32 release [skip ci] 0.3.32 2017-07-28 18:54:44 +00:00
CI
90e1db8da2 fnlb: 0.0.8 release [skip ci] 0.0.8 2017-07-28 18:45:38 +00:00
CI
eea868f7b2 fn tool: 0.3.30 release [skip ci] fn-0.3.30 2017-07-28 18:44:41 +00:00
CI
329281232e functions: 0.3.31 release [skip ci] 0.3.31 2017-07-28 18:42:59 +00:00
Reed Allman
4a444a084a Merge pull request #169 from fnproject/ignore-fn-file
Add --ignore-fn-file while attempting to update route
2017-07-28 11:40:59 -07:00
Reed Allman
7ebdfa0451 Merge pull request #161 from fnproject/catch-panics
catch request panics in goroutine
2017-07-28 11:35:25 -07:00
James Jeffrey
0dfe68ddbe Merge pull request #172 from fnproject/export_app_name
Add appname and route path to context
2017-07-28 11:33:47 -07:00
Travis Reeder
ec75b34841 Merge branch 'master' into export_app_name 2017-07-28 11:19:15 -07:00
CI
ef2800aa29 fnlb: 0.0.7 release [skip ci] 0.0.7 2017-07-28 18:16:15 +00:00
CI
eff67f3882 fn tool: 0.3.29 release [skip ci] fn-0.3.29 2017-07-28 18:15:24 +00:00
CI
2319ed5be7 functions: 0.3.30 release [skip ci] 0.3.30 2017-07-28 18:13:52 +00:00
James
c57c071f44 Add appname and route path to context 2017-07-28 11:10:05 -07:00
James Jeffrey
9ff3dc1d50 Export handling error response (#171) 2017-07-28 11:05:30 -07:00
Denis Makogon
3730d702e8 Merge branch 'master' into ignore-fn-file 2017-07-28 19:35:52 +03:00
CI
5f206aa45b fnlb: 0.0.6 release [skip ci] 0.0.6 2017-07-28 14:49:25 +00:00
CI
4fbeec0920 fn tool: 0.3.28 release [skip ci] fn-0.3.28 2017-07-28 14:48:21 +00:00
CI
80b15a8fba functions: 0.3.29 release [skip ci] 0.3.29 2017-07-28 14:46:32 +00:00
Denis Makogon
6ecef21c56 Merge pull request #5 from fnproject/move_under_apps
Move all endpoints on v1 to be under apps
2017-07-28 17:36:38 +03:00
James
38a2b86184 glide update 2017-07-28 07:25:52 -07:00
James
6ee7619b40 Move all endpoints on v1 to be under apps 2017-07-28 07:25:50 -07:00
Denis Makogon
608629c7ef Add --ignore-fn-file while attempting to update route
Implements: #132
2017-07-28 13:08:57 +03:00
Denis Makogon
189905f726 Merge branch 'master' into catch-panics 2017-07-28 11:55:03 +03:00
CI
8ade75b868 fnlb: 0.0.5 release [skip ci] 0.0.5 2017-07-28 01:28:50 +00:00
CI
93ad7cd239 fn tool: 0.3.27 release [skip ci] fn-0.3.27 2017-07-28 01:27:54 +00:00
CI
cd85eefbbc functions: 0.3.28 release [skip ci] 0.3.28 2017-07-28 01:26:18 +00:00