313 Commits

Author SHA1 Message Date
Mariusz Nowak
a48117041c refactor(CLI): Integrate isHelpRequest into resolveInput util 2021-03-18 14:36:18 +01:00
Mariusz Nowak
4021ab4140 test(CLI): Improve coverage 2021-03-18 14:36:18 +01:00
Piotr Grzesik
86e0b6ddbb fix: Ensure to handle empty func definition with meaningful error 2021-03-17 13:12:16 +01:00
lewgordon
a941e87cbf
fix(CLI): Recognize --env option for sls invoke local as multiple
(PR #9131)
2021-03-16 19:27:48 +01:00
Mariusz Nowak
41df6fbee2 fix(AWS Credentials): Fix credentials resolution (right way) 2021-03-16 14:58:54 +01:00
Mariusz Nowak
6f8b5b41eb fix(AWS Credentials): Fix credentials resolution 2021-03-16 13:58:57 +01:00
Mariusz Nowak
d300cec3e9 test: Improve var name 2021-03-16 13:58:57 +01:00
Piotr Grzesik
f6292b2d49 feat: Extend generatePayload 2021-03-16 09:50:19 +01:00
Mariusz Nowak
e01dfacd83 refactor(CLI): Do not read service config for service unrelated commands 2021-03-16 09:34:33 +01:00
Mariusz Nowak
4779b62b8b test: Update titles to match convention 2021-03-16 09:34:33 +01:00
Mariusz Nowak
fe663ead50 refactor(CLI): Resolve commands and options by schema 2021-03-16 09:34:33 +01:00
Mariusz Nowak
f12095a31d test(AWS Invocation): Fix command arguments in test 2021-03-16 09:34:33 +01:00
Mariusz Nowak
6ec463cbe7 fix(CLI): Improve handling of container commands
Allow to run them, and simply show help output if they're run
2021-03-16 09:34:33 +01:00
Mariusz Nowak
87b8d019c2 refactor: Refactor pluginManager.spawn to async/await 2021-03-16 09:34:33 +01:00
Mariusz Nowak
21cc4cf8cb refactor(CLI): Expose "--help" in supported command options 2021-03-16 09:34:33 +01:00
Mariusz Nowak
14a2640bd9 refactor(CLI): Seclude schema of core commands 2021-03-16 09:34:33 +01:00
coyoteecd
e77a00dfff
fix(AWS IAM): Accept arn:${AWS::Partition} in function roles (#9103) 2021-03-15 16:49:03 +01:00
Mariusz Nowak
68de8bdeed fix(Variables): Retry JS function resolvers on unresolved dependencies 2021-03-15 13:27:20 +01:00
AlinoeDoctari
5fb85d36c8
refactor: Seclude AWS request util from internals (#8850) 2021-03-12 15:27:49 +01:00
Mariusz Nowak
aa7b66a66c fix(AWS Deploy): Fix deploy function command error handling 2021-03-11 16:55:19 +01:00
Piotr Grzesik
a79473d8b1 fix(CLI): Properly report SDK version when handling errors 2021-03-10 10:24:44 +01:00
terrybondy
ab8529cb24
fix(AWS Local Invocation): Support env vars with = in value (#9079)
* Fix prettier warnings.

* test(invoke): ensure everything after first "=" is included in environment variable

* test(invoke): unskip new test

Co-authored-by: Lew Gordon <lew.gordon@genesys.com>
2021-03-10 09:23:18 +01:00
Piotr Grzesik
2b857c7eb4
feat(CLI): Report Platform Client instead of SDK version (#9092) 2021-03-09 12:30:50 +01:00
Mariusz Nowak
524c43df75 refactor(Variables): Improve source fulfillment handling 2021-03-09 12:05:59 +01:00
Tristan Rigaut
dea7b5a3c0
fix(AWS Deploy): Warn when invalid IAM policy to fetch lambda (#9041) 2021-03-09 10:29:29 +01:00
Dmitry Shirokov
42a1cdb6f1
feat(AWS IAM): Allow tags parameter on lambda execution role (#9039) 2021-03-08 11:04:32 +01:00
Vishnu Prassad
b2188a20d9
feat(AWS Stream): Add support for custom checkpoint (#9056) 2021-03-05 18:35:30 +01:00
Mariusz Nowak
774358271e refactor: Seclude tokenizeException util 2021-03-05 16:20:03 +01:00
Mariusz Nowak
c9087ec4e6 refactor(CLI): Rely on cli/is-help-request util 2021-03-05 16:17:42 +01:00
Piotr Grzesik
55abaaf6d5 refactor: Revert bluebird from lib/plugins/aws
This reverts commit b11171c70c8f5597e2644f7ea8ec82a17a9eee29.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
217b9751ea refactor: Revert bluebird from lib/plugins/interactiveCli
This reverts commit 7c0ceb5c4a1171666e381ef9a00c6f133569732b.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
399d91b7e4 refactor: Revert bluebird from lib/plugins/package
This reverts commit 0fb0f43919bd3bd4a9c57b9f33bf96a822ce027c.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
ae2c92ced6 refactor: Revert bluebird from lib/plugins/create
This reverts commit 258543ab6e1874ba41be3563346cd7b50993ac58.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
2a9f79f19e refactor: Revert bluebird from lib/plugins/plugin
This reverts commit 9e7960297227b39f05c2619a80e3cac7cb7be1a5.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
7a012d83b9 refactor: Revert remove bluebird from lib/plugins
This reverts commit 8fead7f39e3a5649e87a4ceb6e0c0a28e7f61ea5.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
f62fc2ee9c refactor: Revert removal of bluebird from lib/utils
This reverts commit 820cc1f581bfd502e5452f5c9935301ec86f9d14.
2021-03-04 11:06:44 +01:00
Piotr Grzesik
c41bd64bb2 refactor: Revert removal of bluebird from lib/classes
This reverts commit 1a694ae4aab0a347b018380110b9a436f6c43c1e.
2021-03-04 11:06:44 +01:00
Mariusz Nowak
d6c7d97dc6 fix(Variables): Ensure to apply intialization patch unconditionally 2021-03-03 15:23:36 +01:00
Mariusz Nowak
5565047382 fix(Variables): Report with meaningful error unresolved "plugins" 2021-03-03 13:13:36 +01:00
Mariusz Nowak
390e7d5f15 refactor(Variables): Improve error wording 2021-03-03 13:13:36 +01:00
Mariusz Nowak
68f326e79f fix(Variables): Ensure to not share property cache across resolutions 2021-03-03 10:13:32 +01:00
Mariusz Nowak
4bf2c7b85e test(Variables): Improve test title 2021-03-03 10:13:32 +01:00
Juanjo Diaz
b11171c70c
refactor: Remove bluebird from lib/plugins/aws (#9054) 2021-03-03 09:29:51 +01:00
Mariusz Nowak
21ac1beb22 fix(Variables): Recognize hyphens in types
It's to recognize notation as "cf.us-east-1:.."
2021-03-02 22:47:32 +01:00
Mariusz Nowak
df627394b3 fix(Variables): Ensure proper error handling for resolved value parsing 2021-03-02 22:47:32 +01:00
Mariusz Nowak
480b61270c fix(Variables): Ensure to resolve variables in resolved strings 2021-03-02 21:24:52 +01:00
Mariusz Nowak
e224b31847 test(AWS Schedule): Improve test reliability 2021-03-02 16:15:19 +01:00
Mariusz Nowak
6378be9c24 test: Bump default confirm logs timeout to 3 minutes 2021-03-02 16:15:19 +01:00
Mariusz Nowak
452fdc2445 refactor(Variables): Make resolution error handler reusable 2021-03-02 13:54:16 +01:00
Mariusz Nowak
059c981250 test: Update integration fixtures to not rely on deprecated features 2021-03-01 22:42:15 +01:00