272 Commits

Author SHA1 Message Date
Mariusz Nowak
9a33e62c83
test(AWS Local Invocation): Increase error margin 2020-10-12 13:37:38 +02:00
Frédéric Barthelet
6a81137406
feat(AWS Local Invocation): Randomize awsRequestId (#8380) 2020-10-12 11:54:48 +02:00
Mariusz Nowak
eb5e54847e fix(Config Schema): Recognize deployment valid env variables format 2020-09-30 14:30:51 +02:00
Piotr Grzesik
b867df147a
refactor: Replace _.{entries|entriesIn|toPairs} with Object.entries
(PR #8275)
2020-09-23 13:13:54 +02:00
Gábor Lipták
01643273df
fix(AWS Local Invocation): Fix Dockerfile layer path on Windows (#8273) 2020-09-22 08:50:42 +02:00
Mariusz Nowak
1beb8d0246 refactor: Replace mkdrip with esnureDir from fs-extra 2020-09-10 13:26:17 +02:00
Frédéric Barthelet
72745c9e77
feat(AWS Local Invocation): Resolve CF Ref in env variables (#8198) 2020-09-08 10:13:53 +02:00
jkburges
8f070d58c4
fix(Templates): Add missing property in ruby template (#8195)
This property was previously missing from the fake lambda context when running ruby functions locally.

Ref: https://docs.aws.amazon.com/lambda/latest/dg/ruby-context.html
2020-09-07 11:07:43 +02:00
Frédéric Barthelet
06ed01b874
feat(AWS Local Invocation): Resolve "Fn::ImportValue" instructions in env vars
(PR #8157)
2020-09-01 14:53:08 +02:00
Mariusz Nowak
8c3c7c4e3a chore: Rename "tests" folder to "test"
Also upgrade @serverless/eslint-config to v2
2020-08-28 16:22:09 +02:00
Yuji Yamano
03531d8bc6
fix(Template): Ensure java wrappers are moved to runtimeWrappers (#7999) 2020-07-28 11:08:03 +02:00
Mariusz Nowak
527233d263 fix(Standalone): Ensure local invocation wrappers are accessible 2020-07-27 11:42:02 +02:00
Mariusz Nowak
50bfd22096 refactor(AWS Local Invocation): Seclude runtime wrapping logic 2020-07-27 11:42:02 +02:00
Mariusz Nowak
5517ff0d26 test(AWS Local Invocation): Improve test reliability 2020-07-27 11:42:02 +02:00
Mariusz Nowak
095a26a445 test: Introduce debug log 2020-07-27 11:42:02 +02:00
Yuji Yamano
ab99b657a3
fix(Templates): Add aws-lambda-java-events support to Java (#7986) 2020-07-27 09:23:12 +02:00
Mariusz Nowak
46aa0b8676
test: Fix Buffer usage 2020-07-23 09:48:46 +02:00
Yuji Yamano
87e7480663
fix(Templates): Fix java invoke-bridge build error handling (#7968) 2020-07-22 16:01:24 +02:00
Yuji Yamano
25263fd473
fix(Templates): Set ContextClassLoader for groovy and clojure (#7955) 2020-07-20 09:16:27 +02:00
Yuji Yamano
851b85629d
fix(Templates): Upgrade Java 3rd party libraries used for invokeLocal
(PR #7930)
2020-07-17 08:59:44 +02:00
Yuji Yamano
dc1edc10c0
fix(AWS Local Invocation): Add java11 support.
(PR #7956)
2020-07-17 10:22:29 +09:00
RT
fce0b18864
refactor: Replace _.concat with array.concat (#7851) 2020-06-30 13:52:57 +02:00
Mariusz Nowak
475b9b4681 test: Add debug logs 2020-06-24 16:37:41 +02:00
Nguyễn Việt Đức
20cef81555
refactor: Replace _.isUndefined with native checks (#7826) 2020-06-12 09:54:00 +02:00
srd2014
053f5f420b
refactor: Replace _.split with string.split (#7820) 2020-06-09 12:23:14 +02:00
Chris Villanueva
77fbb5969b
refactor: Replace _.includes with val.includes (#7818) 2020-06-08 09:13:50 +02:00
TATSUNO Yasuhiro
8bb5517456
refactor: Replace _.{startsWith,endsWith,includes} with native methods
(PR #7715)
2020-05-19 12:22:25 +02:00
Alex Soto
4252422a94
fix(AWS Local Invocation): Ensure to mount as read only in docker
(PR #7622)
2020-05-18 21:45:07 +02:00
Kenan Christian Dimas
c106d53638
refactor: Upgrade 'fs-extra' to v8 (#7719) 2020-05-13 16:16:17 +02:00
Yotaro
a6b3154dee
feat(AWS Local Invocation): Support ruby2.7 runtime (#7538) 2020-04-21 14:16:53 +02:00
Arben Bakiu
d84e9e7d1e
fix: Fix handler resolution (multi . case) for local invocation (#7398) 2020-02-28 11:19:09 +13:00
frozenbonito
90b3a8f81e
fix: Ensure AWS creds resolution for local docker invocation (#7375) 2020-02-24 17:18:29 +13:00
frozenbonito
c09f71897a
fix: Ensure AWS env vars in local invocation made with docker (#7349) 2020-02-19 13:52:33 +13:00
Richard Davison
f6d9bfd6c6
feat: Improve performance of local invocation using docker (#7178) 2020-02-12 11:21:45 +13:00
Artur Grzybowski
9591d5a232 feat: Enhance configuration options of cloudFront event (#7170)
Fixes #7151 
Addresses partially #6843 and #6785
2020-01-09 14:07:33 +01:00
Mariusz Nowak
6ad516323b
fix: Fix mishandling of cachedCredentials in invokeLocal
Fixes #7050

Regression introduced with #7044
2019-12-05 11:15:07 +01:00
Mariusz Nowak
2f0ce9495b
test: Expose cachedCredentials mishandling in invokeLocal 2019-12-05 11:15:07 +01:00
Mariusz Nowak
356168785b
Fix AWS creds handling 2019-12-04 10:07:21 +01:00
Mariusz Nowak
f2a41bf0bd
Improve tests 2019-12-04 10:07:11 +01:00
Michael Hart
5e2e09a81f Enable Content Trust checking when pulling lambci/lambda images
This ensures that the images are signed correctly:
https://docs.docker.com/v17.09/engine/security/trust/content_trust/
2019-11-21 13:28:57 -05:00
Mariusz Nowak
0c8c8a0fb6
Merge pull request #6983 from serverless/bump-runtime-in-docs
Default to Nodejs12.x runtime
2019-11-20 12:18:10 +01:00
Mariusz Nowak
d66e457572
Ensure to update tests with a new runtime 2019-11-20 11:11:20 +01:00
Mariusz Nowak
71699d9a47
Default to nodejs12.x runtime 2019-11-20 09:48:32 +01:00
kdnakt
42517daf96 Python3.8 support! 2019-11-20 01:29:39 +09:00
Daniel Schep
ae36c256c0 plat-1798 - set env vars for AWS creds from cached credentials in invoke local
this allows for use of credentials provided by a deploy profile in the
serverless dashboard
2019-11-07 12:54:34 -05:00
Lasantha Kularatne
c11c9efe21 Issue 4867 - Allowing InvokeBridge to find handleRequest method from super classes 2019-10-04 14:15:29 -05:00
Philipp Muens
f11792e382 Update Jackson versions 2019-09-25 10:20:16 +02:00
Mariusz Nowak
6c949450bc
Refactor to rely on @serverless/test/skip-with-notice 2019-09-13 16:53:47 +02:00
drexler
5e425a7f84 test: update covering tests 2019-09-11 07:49:19 -04:00
Mariusz Nowak
4fa9854f81
Fix restore of process.stdin 2019-09-05 16:12:50 +02:00