72 Commits

Author SHA1 Message Date
Alex Ellis
33e794abde Add Http_ContentLength for deterministic applications
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-29 17:49:20 +00:00
Burton Rheutan
ee88d42a14 Removed extra log statement on error
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2017-10-23 15:13:30 +01:00
Burton Rheutan
7fa03cb7a1 Updated watchdog readme with write_debug environment variable
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2017-10-23 15:13:30 +01:00
Burton Rheutan
b9f59f5150 Fixes 251. Set debug_write to false by default. Added log output of byte count when debug is false. Updated tests to match new default
Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
2017-10-23 15:13:30 +01:00
Alex Ellis
dde98eb582 Forward path and query string through proxy
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-11 18:57:00 +01:00
Minh-Quan TRAN
1b9affabb4 make build fail when need to run gofmt & remove docker pull in travis
use golang 1.8.3 for gateway

Signed-off-by: Minh-Quan TRAN <account@itscaro.me>
2017-10-09 08:42:30 +01:00
John McCabe
89878f0c8a Migrate from alexellis org to openfaas
Note, not all `alexellis/github` references should be changed, there are
a number of repos which are not part of the openfaas org, this commit
excludes those.

Signed-off-by: John McCabe <john@johnmccabe.net>
2017-10-04 09:18:06 +01:00
Alex Ellis
221ed7a292 Update for ARM builds
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-01 23:36:23 +02:00
Alex Ellis
53edc286aa Fix gofmt
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-10-01 22:36:07 +01:00
Franklin Harding
6ebc314bdf Added os.TempDir() to replace using '/tmp/' to make the tempdir cross platform
Signed-off-by: Franklin Harding <franklinharding0.0@gmail.com>
2017-10-01 22:06:26 +02:00
Alex Ellis
1aeb978617 Remove binary
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-22 22:34:07 +01:00
Alex Ellis
b32a4e3509 Support arm64 for watchdog release
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-21 15:40:56 +01:00
Alex Ellis
7f8219ee13 Typo 2017-09-17 19:13:08 +01:00
wangguoliang
94a15e44d5 should use strings.Contains() instead of stings.Index()
Signed-off-by: wgliang <liangcszzu@163.com>
2017-09-13 09:55:45 -07:00
Alex Ellis
f6c14a70ec Add gofmt to watchdog
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-13 08:32:37 -07:00
Alex Ellis
b9be8293a8 Fix querystring passing
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-09 09:42:57 +01:00
Alex Ellis
cbfcbbb880 Strip binaries to half of size
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-04 13:45:07 +01:00
Alex Ellis
44544d80ac Mention replacing watchdog 2017-09-04 10:12:51 +01:00
Alex Ellis
c67dd6fc9d Comment out fast-fork Dockerfile change
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-02 20:12:10 +01:00
Alex Ellis
1a78ec9234 Make dockerfile multi-arch
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-09-02 20:12:10 +01:00
Alex Ellis
c5815d36ab add_missing_mit_header_27_aug
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-08-27 22:37:19 +01:00
Alex Ellis
5f4c731df6 Update - to _ for env vars 2017-08-25 11:19:37 +01:00
Alex
0e723c5b97 watchdog - Patch environmental header test
Signed-off-by: Alex <alexellis2@gmail.com>
2017-08-23 21:13:38 +01:00
Alex
6d436c576c watchdog - Write out headers with underscores
Signed-off-by: Alex <alexellis2@gmail.com>
2017-08-23 21:08:53 +01:00
Alex Ellis
fcdba0971c Clarify use of templating. 2017-08-19 19:08:13 +01:00
Alex
c0cc48b844 Move NodeInfo to 0.6.0 watchdog. Produce ARMHF binaries too 2017-08-08 09:23:55 +01:00
Alex Ellis
f239033aa5 Update intro 2017-08-07 09:44:30 +01:00
Alex Ellis
4d896b6030 Add overview image 2017-08-03 08:29:44 +01:00
Alex Ellis
ddc973c341 Watchdog - Write error / stack to caller. 2017-07-19 17:41:38 +01:00
Alex
b77268c6cc Correct typo via pmuens 2017-07-07 08:49:11 +01:00
Alex Ellis
4d05896798 Watchdog refurbishments
- Watchdog - allow new methods with and without body.
- Enforce hard-timeout via exec_timeout variable.
- Correct bug in timeouts for read/write of HTTP.
- Documentation for new verbs and hard timeout.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2017-07-07 08:49:11 +01:00
Alex Ellis
c7cd074a68 Document cgi_headers 2017-05-11 08:15:00 +01:00
Alex
cc0d351e69 Watchdog - enable forwarding of HTTP headers via CGI-like env vars. 2017-05-09 09:13:42 +01:00
Alex
fbb9646377 Add x-duration-seconds for all functions via watchdog 2017-05-03 18:49:30 +01:00
Alex
569ccbf323 Add license into code files for MIT 2017-04-27 23:21:50 +01:00
Alex Ellis
556d02be1b Format for windows 2017-04-27 09:29:14 +01:00
Alex Ellis
1eaf13c6c8 Windows port - spike (#66)
* Add Windows Dockerfile.win
* Create appveyor.yml
* Create build.ps1
* Port Golang example to Windows
2017-04-27 09:12:15 +01:00
Alex
2618156414 Revert Prometheus version 2017-04-16 17:01:22 -05:00
Alex Ellis
f958e99bdc Allow override of contentType response from watchdog. (#46) 2017-04-10 22:18:37 +01:00
Alex Ellis
a803b677f6 Document response types and scaling behaviour 2017-04-08 10:03:16 +01:00
Alex Ellis
469fc690da Fix issue in watchdog - not reading false config overrides. 2017-04-05 09:13:18 +01:00
Alex Ellis
93bdfba4b2 Rename marshal_request for watchdog, enable lock-file for healthcheck CMD. 2017-04-05 09:13:18 +01:00
Alex Ellis
a476c50a99 Create README.md 2017-04-04 08:38:02 +01:00
Alex
c705cd8e33 Forward client HTTP headers through pipeline 2017-03-31 20:40:25 +01:00
Alex Ellis
04be17ce49 Add marshall_request to watchdog for passing header to functions 2017-03-31 20:40:25 +01:00
Alex Ellis
c2eb41ee4f Fix buffer dead-lock in Watchdog (#33)
* Go sync group to handle blocking on buffered-pipes
2017-03-28 19:05:33 +01:00
Alex Ellis
361a31ac97 Push Go to 1.7.5 2017-03-27 17:56:33 +01:00
Alex Ellis
2700a15668 Update builder to use functions/ namespace 2017-03-13 14:55:57 +00:00
Alex Ellis
d5290aad1b Refactor to armv6 2017-03-12 12:57:18 +00:00
Alex Ellis
80c12aeaea Update armhf to use armv6 binaries 2017-02-28 22:10:19 +00:00