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
Denis Makogon
91674820f2
Fixing tab writer for more clean view while listing routes
2017-07-06 20:48:33 +03: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
Mukhtar Haji
ce7ef8bb99
Split the deps into api and runtime
...
This is based on !34 in jfaas. The plan is to only depend on the api in
the pom file and for the runtime to be embedded into the run image.
Currently, there isn't a registry to push a Java image with the runtime
embedded so for run, we'll still reference both the api and runtime in
the pom.
2017-07-06 10:41:25 +01:00
Will Price
02d6349cf8
Allow calling root route on app
...
Fixes #64
Previously calling a root registered route would result in an error
message "Not Found" suggesting the route hadn't been registed, yet when
listing the routes, `fn routes list myapp` you could see the `/` route.
You can now successfully call a root registered route with `fn call
myapp /`
2017-07-06 10:40:34 +01:00
Travis Reeder
5ec0eadff8
Got optional hot functions working for Lambda.
2017-07-05 23:34:19 -07: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
Mukhtar Haji
5c5f10d6e5
Make Java maven the default Java runtime
...
This replaces the basic Java runtime with Java maven
2017-07-03 10:17:40 +01: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
Travis Reeder
1f3218f8dd
WIP: working on hot lambda functions.
2017-06-29 08:00:29 -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
Mukhtar Haji
c1e2d4b816
Manually generate boilerplate for Java Maven
...
This will eventually be replaced with something like Maven archetypes.
2017-06-27 12:16:34 +01:00
James Jeffrey
4738cd3aae
Use FN_TOKEN not iron_token
2017-06-26 17:16:15 -07:00
Mukhtar Haji
2b7e28b780
Support multi-stage docker build for java-maven
2017-06-26 17:44:57 +01:00
Mukhtar Haji
190af3fddd
Rebase master onto java-maven-runtime
2017-06-26 11:31:07 +01:00
Mukhtar Haji
55c2aaf28b
Create local .m2 dir to cache deps between builds
...
Also deletes target directory as an AfterBuild step
2017-06-26 11:21:55 +01:00
Mukhtar Haji
97bc009cce
Revert "Build project/func on host machine for java-maven"
...
This reverts commit 4ccb8fa33c8a5dc94e7262c3e5595ee4bced3d0b.
2017-06-26 11:21:55 +01:00
Mukhtar Haji
1918edacff
Build project/func on host machine for java-maven
...
This change introduces a local build step as opposed to the prebuild
step which happens inside a dev container.
2017-06-26 11:15:08 +01:00
Matthew Gilliard
4e511fd66c
Adds java-maven runtime
2017-06-26 11:13:04 +01: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