25 Commits

Author SHA1 Message Date
Maciej Winnicki
9f3b218157
refactor tests 2016-12-14 10:47:45 +01:00
Maciej Winnicki
145911a6ae
fix lint 2016-12-14 10:13:12 +01:00
Joe Stanton
b5284df55f
Reject promise and handle exit code in the wrapper 2016-12-14 10:11:51 +01:00
Joe Stanton
fb1b4ef14a
Correct exit code for failed function invocation 2016-12-14 10:09:04 +01:00
Eslam A. Hefnawy
08009c2945 handling strings 2016-12-13 18:08:05 +07:00
Eslam A. Hefnawy
142946e295 fixed bug where you can now invoke without any input data 2016-12-13 17:52:03 +07:00
Maciej Winnicki
5a978afa92
add support for stdin in invoke command 2016-12-08 10:48:53 +01:00
Philipp Muens
a39e2969de Remove reassignment of this.options.data if JSON parsing fails 2016-11-29 15:06:10 +01:00
Philipp Muens
f02c990fd8 Remove check if options.data exists 2016-11-29 13:32:29 +01:00
Philipp Muens
d048cc3e09 Add check if data is JSON or simple string 2016-11-29 10:35:26 +01:00
Philipp Muens
7837acf360 Fix minor typos 2016-11-29 10:35:26 +01:00
ac360
ee7f0c24bf sanitize strings 2016-11-29 10:35:26 +01:00
Maciej Winnicki
6888edec91 Merge pull request #2443 from erikerikson/invoke-command-allow-absolute-path
Allow invoke to accept absolute paths
2016-10-20 09:34:22 +02:00
Philipp Muens
c7b7472a48 Update provider properties in plugins 2016-10-19 08:32:06 +02:00
Philipp Muens
df7692ac80 Introduce AwsProvider plugin 2016-10-19 08:32:06 +02:00
Erik Erikson
0d9e6ef2f6 Allow invoke to accept absolute paths
Resolves https://github.com/serverless/serverless/issues/2442

1. Allow for the given `path` parameter to be an absolute path.  Detect this case and do not prepend the service path in this case.
2. Update docs (including random missing apostrophe)
3. Add test to verify absolute path use
2016-10-18 15:08:14 -07:00
Eslam A. Hefnawy
044a13f47d adding default function name property 2016-08-04 21:35:02 +09:00
Benny
0d2c78cc36 DRY validate 2016-07-20 21:43:20 +03:00
Eslam λ Hefnawy
2cf4633d50 Merge branch 'v1.0' into better-errors 2016-07-04 18:10:29 +09:00
Eslam A. Hefnawy
6ee4b9e420 more validation and better error messages 2016-07-04 09:51:59 +01:00
Philipp Muens
ecae591c38 Add provider definition to Amazon Web Services specific plugins 2016-07-04 09:51:38 +01:00
Philipp Muens
c308121d73 Fix AwsInvoke plugin and corresponding tests 2016-06-21 13:23:12 +02:00
Eslam A. Hefnawy
afe2321b11 fixed integration tests 2016-06-21 13:03:58 +02:00
Eslam A. Hefnawy
5af4507f94 updated invoke and remove plugins 2016-06-20 13:26:34 +02:00
Eslam A. Hefnawy
ef2fffe130 refatored aws plugins structure 2016-06-16 21:24:09 +02:00