294 Commits

Author SHA1 Message Date
Mariusz Nowak
c563581ac9 refactor: Construct user errors with ServerlessError 2021-05-19 13:16:42 +02:00
Mariusz Nowak
277d66c75b test(AWS Local Invocation): Move fixtures to test folder 2021-05-19 13:16:42 +02:00
Mariusz Nowak
a2297ee916 fix(AWS Local Invocation): Report invalid handler path meaningfully 2021-05-19 13:16:42 +02:00
Mariusz Nowak
8d56d0e520 style: Prettier 2021-05-10 13:07:44 +02:00
Piotr Grzesik
fbf0ed30e9 refactor: Add code to ServerlessError in lib/plugins/aws 2021-04-23 13:34:20 +02:00
Yuji Yamano
924a698d2a
fix(AWS Local Invocation): Allow optional package.artifact for java 2021-04-19 13:00:32 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Yuji Yamano
5392a7dce2
fix(AWS Local Invocation): Dont build bridge if artifact missing (#9280) 2021-04-12 10:53:23 +02:00
Yuji Yamano
af8d2a1926
fix(AWS Local Invocation): Correctly decompress artifact (#9259) 2021-04-09 11:15:54 +02:00
Yuji Yamano
34d2c2feac
fix(AWS Local Invocation): Strip null envvars for local invoke (#9263) 2021-04-09 10:54:55 +02:00
Yuji Yamano
ce210f7852
fix(AWS Local Invocation): Adjust .gitignore #9273. (#9274) 2021-04-09 10:43:13 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
ifitzsimmons
134db21ed2
refactor: Use async/await in lib/plugins/aws/invokeLocal. (#8876) 2021-02-09 15:32:38 +01:00
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
Piotr Grzesik
11fb14115e fix: Properly handle error if Java bridge is not present 2021-02-02 16:02:31 +01:00
Piotr Grzesik
1833894856 fix(Standalone): Ensure proper resolution of runtime wrappers 2021-01-22 14:23:25 +01:00
Piotr Grzesik
c3f59e4d78 refactor: Seclude ensureExists util 2021-01-12 11:53:37 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Juanjo Diaz
84d423d3be
refactor: Convert to native Promise and async/await (#8593) 2020-12-16 17:22:37 +01:00
Mariusz Nowak
c0ea4c1461 feat(AWS Lambda): Basic container image support 2020-12-04 13:53:49 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Graham McGregor
06f6c6d28e
refactor: Refactor some functions to native promises (#8533) 2020-11-25 13:40:48 +01:00
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