Commit Graph

1126 Commits

Author SHA1 Message Date
James Jeffrey
55239dbd80 Check both errors 2017-07-06 12:42:09 -07:00
James Jeffrey
7ebf8ab144 No nil errors on error 2017-07-06 12:23:44 -07:00
James Jeffrey
61bd41f9b2 Error apps create not route 2017-07-06 12:22:03 -07:00
James Jeffrey
e5b1bb03ea Address more comments. Add docs and clean up comments 2017-07-06 12:19:48 -07:00
James Jeffrey
d3fb420be0 Move logging. Remove todo comment 2017-07-06 12:08:17 -07:00
James Jeffrey
77c5d38381 Update docs 2017-07-06 11:46:25 -07:00
James Jeffrey
021bb32a22 Refactor tests to use testRoute case struct. Use one method for tests. Fix logic for when to skipzero 2017-07-06 11:46:25 -07:00
James Jeffrey
a37abfd9d5 Add error validation to some cases that were missing it. 2017-07-06 11:46:25 -07:00
James Jeffrey
3087a12b83 Needs != for this. Do not try to test client for functions go if there 2017-07-06 11:46:25 -07:00
James Jeffrey
7f226bc96b Assign err. Fixes tests that were not working 2017-07-06 11:46:25 -07:00
James Jeffrey
b4d39c0f3c Refactor seperate out logic 2017-07-06 11:46:24 -07:00
James Jeffrey
4845ddb1d4 Only use 200 follows what others do. Less switching. Remove defense 2017-07-06 11:46:24 -07:00
James Jeffrey
c66a0d0cc4 Update swagger doc. Indicate to user if updated or created 2017-07-06 11:46:24 -07:00
James Jeffrey
2832c5adec Catch errors when building fn bin 2017-07-06 11:46:24 -07:00
James Jeffrey
70eb25c873 Change logic behind put post and patch for routes 2017-07-06 11:46:24 -07:00
Reed Allman
ed0b49b706 Merge branch 'cleanup-utils-imports-leftovers' into 'master'
Cleanup utils imports leftovers

See merge request !92
2017-07-06 10:45:13 -07:00
Denis Makogon
fa20db0df4 Remove trace message on client init 2017-07-06 20:42:42 +03:00
Denis Makogon
009c478c07 Clean up leftover imports 2017-07-06 18:15:07 +03:00
Reed Allman
a5861d5b6f Merge branch 'integration-api-tests' into 'master'
Full stack tests

See merge request !68
2017-07-05 12:38:10 -07:00
Denis Makogon
adf61c77be Full stack tests 2017-07-05 12:38:09 -07:00
Reed Allman
c85571f51d Merge branch 'fix-logs-reed' into 'master'
Fix logs stuff

See merge request !74
2017-07-05 10:41:27 -07:00
Reed Allman
c20b4769bf make hot functions actually have logs now 2017-06-30 16:10:33 -07:00
Reed Allman
db782536d9 Merge branch 'fix_issue_72' into 'master'
This returns 404 when app is not there on delete closes #72

Closes #72

See merge request !87
2017-06-30 12:37:58 -07:00
Reed Allman
c186c10123 Merge branch 'issues-76' into 'master'
Check if route exists before attempting to delete it

Closes #76

See merge request !85
2017-06-30 12:37:48 -07:00
James Jeffrey
8e97a635a9 This returns 404 when app is not there on delete closes #72 2017-06-30 12:20:59 -07:00
James Jeffrey
76b2b8059e functions: 0.3.18 release [skip ci] 2017-06-30 11:34:47 -07:00
Travis Reeder
27ab931340 Merge branch 'glide-get' into 'master'
add funcy/functions_go & update docker/distribution

See merge request !86
2017-06-30 11:22:56 -07:00
Reed Allman
c9c7950d0f add funcy/functions_go & update docker/distribution 2017-06-30 11:22:56 -07:00
Denis Makogon
67719d691d Check if route exist before attempting to delete it
xFixes: #76
2017-06-30 14:09:00 +03:00
Reed Allman
452dc1ee86 Merge branch 'fnpatch' into 'master'
fixes fn set/unset for routes & apps

Closes #80

See merge request !83
2017-06-29 13:43:44 -07:00
Reed Allman
94c0232480 Merge branch 'remove_iron' into 'master'
Use FN_TOKEN not iron_token

See merge request !82
2017-06-29 10:59:44 -07:00
Derek Schultz
049a048c09 Merge branch 'fnlb-docker' into 'master'
adds docker & release stuff for fnlb

Closes #58

See merge request !65
2017-06-29 10:57:04 -07:00
Reed Allman
4172bac7fe add buffer reuse sugar 2017-06-28 23:35:32 -07:00
Reed Allman
447fd4f478 add test file 2017-06-28 23:11:04 -07:00
Reed Allman
f85237ff5e add tests 2017-06-28 23:09:43 -07:00
Reed Allman
760879d6f9 add all the fancy log writers i've been on about
line writers to log writers. limit writers to db writers. multi writers. close
writers. all the writers
2017-06-28 22:08:30 -07:00
Reed Allman
9cc5fb8784 remove traces of iron 2017-06-28 21:25:56 -07:00
Reed Allman
4e7a497696 fixes fn set/unset for routes & apps
was posting a whole config and not letting the server do the merging, now the
server does the merging instead. touch tested this, works as originally
intended now.

closes !80
closes #80
2017-06-28 21:19:01 -07:00
Reed Allman
cc8194d015 add docs for running docker local/not, operation of api, usage w/ cli, remove docker-run from makefile (impossibru) 2017-06-28 20:41:16 -07:00
Reed Allman
68a79eb7b8 left align 2017-06-28 20:41:16 -07:00
Reed Allman
bcd9f1253e adds docker & release stuff for fnlb 2017-06-28 20:41:16 -07:00
Travis Reeder
26806ccafd Merge branch 'function_go-update' into 'master'
Updating functions_go to newer version

See merge request !81
2017-06-27 12:02:35 -07:00
Denis Makogon
1dccbaf5b7 Updating functions_go 2017-06-27 21:43:07 +03:00
James Jeffrey
4738cd3aae Use FN_TOKEN not iron_token 2017-06-26 17:16:15 -07:00
Travis Reeder
ad11f0699a Merge branch 'pass-call-id' into 'master'
Pass call ID into function, closes #79

Closes #79

See merge request !78
2017-06-23 12:12:25 -07:00
Travis Reeder
3626d4dbe5 Merge branch 'issues-77' into 'master'
Add app and route validation to calls API handler

See merge request !77
2017-06-23 12:12:15 -07:00
Travis Reeder
fdf9f35cb2 Merge branch 'issue-75' into 'master'
Update swagger doc

See merge request !76
2017-06-23 12:11:24 -07:00
Travis Reeder
ce3245e243 Pass call ID into function, closes #79 2017-06-22 09:54:59 -07:00
Denis Makogon
c80746bf56 Add app and route validation to calls API handler
This patch adds check for app and route to ensure
 that they exist before listing calls
2017-06-22 18:23:31 +03:00
Denis Makogon
ed0395c118 Update swagger doc
- updating route attribute types
 - bumping version
2017-06-22 17:20:48 +03:00