115 Commits

Author SHA1 Message Date
softprops
fdac9df145 generate a dynamic date 2018-09-18 21:02:14 -04:00
softprops
c06ae9ebea more faithfully represent aws lambda python runtime context 2018-09-12 01:09:12 -04:00
bhaskarbalusani
c961dee9ab
Update index.js 2018-08-06 14:22:22 +05:30
bhaskarbalusani
a1876717a3
Update index.js 2018-08-06 13:17:39 +05:30
bhaskarbalusani
e599f57178
Update index.js 2018-08-03 15:45:28 +05:30
Lewis Chung
0a9006927b Fix test failure on Node 4 by not using spread 2018-07-01 13:41:30 -07:00
Lewis Chung
e48f1dada5 fix lint 2018-05-30 11:34:42 -07:00
Lewis Chung
15e506196f Fix test cases for callback + context.done 2018-05-30 11:32:56 -07:00
Lewis Chung
48a249500b Add more test cases 2018-05-29 16:51:47 -07:00
Lewis Chung
9acef76ea0 Address callback being called in async function and error being returned 2018-05-29 16:42:39 -07:00
Lewis Chung
68e4460451 Make adjustments
- Use lodash to check thennable
- Add arguments back into lambda context fixture
2018-04-30 09:28:35 -07:00
Lewis Chung
202fcbd8a7 Fix lint on Node 8 2018-04-17 10:24:02 -07:00
Lewis Chung
e29b6e7d07 Fix handling of maybeThennable 2018-04-17 10:11:56 -07:00
Lewis Chung
82278d351d change promise handling to check if return value is a promise rather than checking runtime 2018-04-17 09:49:28 -07:00
Lewis Chung
dd5aa83c93 remove unnecessary change 2018-04-17 00:04:34 -07:00
Lewis Chung
b000bbabdb Support AWS Lambda Node 8.10 Async Await Lambda Functions 2018-04-16 23:48:10 -07:00
GuruRAM
a2e62373e4 #4852 "should throw when module loading error" unit test improvement 2018-04-04 20:39:23 +03:00
GuruRAM
cf1260a372 #4852 fix by rethrowing a module loading exception in aws invoke local 2018-04-03 23:13:04 +03:00
Devin Fee
d1d1b05cea Fixed python module parsing (#4755)
* Fixed python module parsing

Ref: https://github.com/serverless/serverless/issues/4663#issuecomment-366931491

* Update index.js

* Update index.js
2018-02-21 18:59:42 +01:00
Takahiro Horike
4b71faf212
Merge pull request #4596 from Instabridge/invokelocal-pojo
InvokeLocal/Java: support POJO input and different handler names
2018-01-13 14:53:12 +09:00
Daniel Schep
211ba71077 Don't have Python buffer it's output 2018-01-10 18:38:17 -05:00
Jesús A. Álvarez
db08b03be4 resolve handler method like AWS lambda 2017-12-20 16:21:59 +01:00
Jesús A. Álvarez
d9c986e97f pass handler name to java 2017-12-20 16:21:59 +01:00
Jesús A. Álvarez
11cf69bd80 fall back to POJO if handler doesn't take Map 2017-12-20 16:21:59 +01:00
Erik Erikson
ca5ba8daac Remove unused parameters in platform.js (and deal with consequences)
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Erik Erikson
bf8d57fa9f Improve Stage and Region Usage
Remove the errant (but understandable) distributed usage of region and stage settings.  This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting.  Instead, all code should use the centralized algorithm for determining such values.  This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -08:00
Carlos Hernando Carasol
bbade3d1a8 Basic logging for python invoke local 2017-10-31 12:45:20 +01:00
Daniel Schep
29a85498f5 Set stdin to a TTY in invoke.py to allow PDB use
Setting `sys.stdin` to a TTY prevents `pdb.set_trace()` from immediatly throwing
`BdbQuit`. I am unsure if there is a way to make this work in Windows
2017-10-10 14:40:23 -04:00
Rafal Wilinski
0b8f1b4678 Change colon to path.delimeter 2017-09-21 09:03:47 +02:00
Rafal Wilinski
cf3f4e6cd9 Change template literal to path.join 2017-09-20 13:03:39 +02:00
Rafal Wilinski
6e05ce8f9c Merge branch 'master' into window-env-path 2017-09-19 16:04:14 +02:00
Rafal Wilinski
bfe1dedc3c Obey VIRTUAL_ENV on Windows 2017-09-19 16:01:41 +02:00
Philipp Muens
a1cf9fd65e Minor fixes 2017-09-18 12:29:37 +02:00
Philipp Muens
ff03b89c2f Minor fixes to avoid race conditions 2017-09-18 11:06:14 +02:00
Rafal Wilinski
6b74a9c68b Change fs sync calls to async graceful 2017-09-13 11:09:45 +02:00
Rafal Wilinski
5e8d67ce4b Code review fixes 2017-09-13 10:59:14 +02:00
Rafal Wilinski
105de7a60f Throw an error if artifact doesn't exist 2017-09-12 15:01:16 +02:00
Rafal Wilinski
a989b4e7d2 Get rid of log4j warnings 2017-09-12 14:48:26 +02:00
Rafal Wilinski
f3d9d0f53c Add toString() notice 2017-09-12 14:39:18 +02:00
Rafal Wilinski
2d09606cba Move gitignore declaration 2017-09-11 18:38:41 +02:00
Rafal Wilinski
c304aab55d Change javaBridgePath to include pom.xml 2017-09-11 18:34:12 +02:00
Rafal Wilinski
43be48ab3c Add missing maven source & target properties 2017-09-06 18:27:39 +02:00
Rafal Wilinski
0423c6e228 Improve tests coverage, add documentation 2017-09-06 12:43:34 +02:00
Rafal Wilinski
b1244996ac Merge branch 'master' into invoke-local-maven 2017-09-04 16:28:14 +02:00
Rafal Wilinski
612cec59c5 Fix unit test 2017-09-04 16:24:41 +02:00
Philipp Muens
01efc5d0a1 Fix failing test to work on Windows 2017-09-04 11:51:56 +02:00
Philipp Muens
1121a8d36a Update test for remainingTimes to be less strict about the time 2017-09-04 10:33:37 +02:00
Philipp Muens
bcf3a31ff5 Fix invokeLocal tests 2017-09-04 09:59:08 +02:00
Rafal Wilinski
b1425c5ad5 Context related fixes 2017-09-02 22:11:04 +02:00
Rafal Wilinski
3cf32ef60a Add custom context passing 2017-09-02 22:02:16 +02:00