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
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
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
Jesús A. Álvarez
d9c986e97f
pass handler name to java
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
Philipp Muens
ff03b89c2f
Minor fixes to avoid race conditions
2017-09-18 11:06:14 +02:00
Rafal Wilinski
5e8d67ce4b
Code review fixes
2017-09-13 10:59:14 +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
Mariusz Nowak
d6b29ab338
Fix promises handling in AwsInvokeLocal tests
2017-08-25 11:27:07 +02:00
Rafal Wilinski
b5e1564ab6
Merge branch 'master' into add-context
2017-08-21 22:59:37 +02:00
Eslam λ Hefnawy
0530627b33
Merge pull request #4047 from Nevon/time-remaining-in-millis
...
Fix behavior of getRemainingTimeInMillis in local invokation
2017-08-21 21:31:54 +07:00
Rafał Wiliński
db439478ce
Fix failing test
2017-08-19 17:41:20 +02:00
Rafał Wiliński
5e5f71df65
Add context and contextPath flags to invoke local cmd
2017-08-19 17:30:52 +02:00
Philipp Muens
03afbcb03f
Merge pull request #4036 from dzimine/DZ/fix_3788
...
Optionally skip parsing input to JSON when using `invoke` and `invoke local`
2017-08-18 15:20:22 +02:00
Philipp Muens
03fa853bd6
Fix broken test
2017-08-18 14:01:52 +02:00
Tommy Brunn
b21c330bd6
Skip Python test
2017-08-05 20:00:58 +02:00
Tommy Brunn
5a61f6c756
Test python implementation of get_remaining_time_in_millis
2017-08-05 19:47:46 +02:00
Tommy Brunn
f150e03fd8
Remove destructuring to support older node
2017-08-05 16:34:08 +02:00
Tommy Brunn
d4766254a6
Fix behavior of getRemainingTimeInMillis in local invokation
2017-08-05 16:19:33 +02:00
Dmitri Zimine
c4374ec6b1
Optionally pass raw string, take 1
2017-08-03 10:28:53 -07:00
Philipp Muens
cf7a6fb4bf
Enhance tests for invoke local
2017-07-17 10:51:20 +02:00
Frank Schmid
aca8db9ba7
Set IS_LOCAL for every provider. Added unit tests.
2017-05-29 11:15:32 +02:00
Philipp Muens
8dd462007b
Fix test
2017-05-19 10:26:49 +02:00
Philipp Muens
ca9ee443e1
Add test
2017-05-19 10:18:54 +02:00
Daniel Schep
e1c27c3569
🐍 🐍 🐍 Python3.6 support is coming to Lambda!
...
closes #3482
https://aws.amazon.com/releasenotes/5198208415517126
2017-04-18 17:57:48 -04:00
Eslam λ Hefnawy
a7d39352a2
Merge pull request #3403 from assaflavie/master
...
support any AWS nodejs runtime, not just 4.3
2017-03-24 20:00:24 +08:00
Assaf Lavie
c708469e9f
fix lint errors
2017-03-23 17:12:15 +02:00
Assaf Lavie
f2ccc00484
Test that nodejs6.10 local invoke works.
2017-03-23 15:14:42 +02:00
Philipp Muens
8d348da0ce
Merge master into PR
2017-03-23 12:29:07 +01:00
Eslam λ Hefnawy
8a32b39c37
Merge pull request #3037 from breath103/master
...
add features on AWSInvokeLocal Plugin.
2017-03-13 19:23:39 +08:00
Doug Moscrop
1012c351b7
add sinon-bluebird to make promises in tests a bit cleaner
2017-02-08 12:59:18 -05:00
Daniel Schep
a163e65d9f
invoke local python functions! closes #2862
2017-01-18 09:54:29 -05:00
Kurt Lee
50e9c5fb7d
add features on AWSInvokeLocal Plugin.
...
1. Added support js file that has export as an data input
2. You can specify the location of handlers, such as “/dst”
3. Show JSON.parse result if Content-Type = ‘application/json’
2017-01-01 17:58:56 +09: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
b78f7ac254
remove duplicated tests
2016-12-08 11:23:18 +01:00
Maciej Winnicki
5a978afa92
add support for stdin in invoke command
2016-12-08 10:48:53 +01:00