7789 Commits

Author SHA1 Message Date
Mariusz Nowak
4eba512c15 fix(Variables): Support resolving "raw" JSON string form of SSM params 2021-04-02 12:03:29 +02:00
Mariusz Nowak
7f788d29e5 refactor(CLI): Fix deprecation message typo 2021-03-31 13:18:03 +02:00
Piotr Grzesik
0a84f1c84e fix(AWS IAM): Support for CF functions for provider.iam.role 2021-03-31 12:36:11 +02:00
Mariusz Nowak
9b830728df refactor: Ensure to remove internal .env resolution with next major 2021-03-31 12:25:49 +02:00
Mariusz Nowak
80bddce667 fix(CLI): Fix commands pass to local installation 2021-03-31 12:25:49 +02:00
Piotr Grzesik
d3c6e4323b feat(AWS HTTP API): Add support for AWS IAM authorization 2021-03-30 11:34:31 +02:00
Mariusz Nowak
089405a7a8 refactor(Variables): Improve error message grammar 2021-03-30 10:22:40 +02:00
Mariusz Nowak
6292197ee1 refactor(Dashboard): Provide direct internal access to dashboard plugin 2021-03-30 10:22:40 +02:00
Mariusz Nowak
3f7f67ccc1 refactor(Variables): Configure ssm source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
12a4cad102 refactor(Variables): Configure s3 source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
a60e90f61c refactor(Variables): Configure cf source in a new resolver 2021-03-30 10:22:40 +02:00
Mariusz Nowak
eecd9285d5 refactor(Variables): Configure sls source in a new resolver 2021-03-30 10:22:40 +02:00
Piotr Grzesik
6674660b17 fix: Ensure correct payload generation for functions without events 2021-03-29 16:38:55 +02:00
Piotr Grzesik
37d03b6888 feat(AWS HTTP API): Add support for custom Lambda authorizers 2021-03-29 16:38:55 +02:00
Joël Galeran
bf83f3c406
chore: Update code comment about file stat chmod (#9191)
It seems that `normalizedFilesToChmodPlusX` was removed and does not exist anymore so removing it from the comment seemed appropriate
2021-03-29 15:13:18 +02:00
Juanjo Diaz
e1678fb1c6
feat(Packaging): Deprecate include & exclude in favor of patterns
(PR #8581)
2021-03-26 11:33:58 +01:00
Mariusz Nowak
03817c23fb refactor(CLI): Rename module to unify convention 2021-03-26 10:11:57 +01:00
Mariusz Nowak
053fea18e0 refactor(CLI): Move main help renderer out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
d9cf52b2c8 fix(CLI): Fix handling of container commands 2021-03-26 10:11:57 +01:00
Mariusz Nowak
afad2315a5 refactor(CLI): Move to CLI logic required options validation 2021-03-26 10:11:57 +01:00
Mariusz Nowak
8142515bfc refactor(CLI): Ensure to have up to date commands
When invoked by outdated global installation
2021-03-26 10:11:57 +01:00
Mariusz Nowak
2d4d05d425 refactor(CLI): Pass resolved commands options to local installation 2021-03-26 10:11:57 +01:00
Mariusz Nowak
aca3c0d57d refactor(CLI): Seclude command help render from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
87b186113a refactor(CLI): Seclude general help render logic from internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
2fd921dbfc refactor(CLI): Seclude interactive setup help render out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
41e921aa6f refactor(CLI): Seclude command options render logic out of internals 2021-03-26 10:11:57 +01:00
Mariusz Nowak
0f353750f1 fix: Ensure detection of external plugins is multi instance safe 2021-03-26 10:11:57 +01:00
Mariusz Nowak
64684f2ed5 fix(CLI): Ensure to copy and not modify preset schemas
While modyfing should not be problematic for regular usage, it introduces unexpected states to tests which test multiple runs in same process run
2021-03-26 10:11:57 +01:00
Mariusz Nowak
f1af86ab55 fix(CLI): Unconditionally crash on unrecognized command
As we cannot display any help for unrecognized command, obviously
2021-03-26 10:11:57 +01:00
Mariusz Nowak
ae645e7e8e fix(CLI): Fix generate-event and test commands schema visibility 2021-03-26 10:11:57 +01:00
Piotr Grzesik
14f5743846 feat(AWS Lambda): Do not require all image properties 2021-03-24 21:13:43 +01:00
Piotr Grzesik
e20766cf25 feat: Detect Serverless CI/CD engine for analytics 2021-03-24 16:35:45 +01:00
Mariusz Nowak
2dacbcce85 feat(CLI): Validate command and options against resolved schema 2021-03-24 11:50:24 +01:00
Mariusz Nowak
3422a121d7 feat(Variables): Recognize CLI command plugin extensions in new resolver 2021-03-24 11:50:24 +01:00
Mariusz Nowak
57543a9c64 refactor(CLI): Put least significant options to end of index 2021-03-24 11:50:24 +01:00
Mariusz Nowak
2294a4b4cb refactor(CLI): Move lifecycles definition to commands schema
It's needed to be able to process commands as introduced by plugins without a need of processing Serverless instance
2021-03-24 11:50:24 +01:00
Mariusz Nowak
1618e23c5c refactor(Plugins): Bulletproof way to recognize external plugins
It ensures that also plugins added externally by invoking `pluginManager.addPlugin` are recognized as external.

e.g. such practise can be observed here: c53f535204/src/index.ts
2021-03-24 11:50:24 +01:00
Mariusz Nowak
f8b50b7079 refactor: Remove vague comment 2021-03-24 11:50:24 +01:00
Sergii Kovalev
8c3e1be735
feat(AWS IAM): Add support for iam.role.name definition (#9166)
Co-authored-by: Sergii Kovalev <sergey@haftahave.com>
2021-03-24 09:43:38 +01:00
Mariusz Nowak
031ca4dd2a fix(CLI): Ensure all expected command schemas in collections 2021-03-23 10:22:37 +01:00
Mariusz Nowak
6a8ea90518 fix(CLI): Fix reference to AWS service options 2021-03-23 10:22:37 +01:00
Mariusz Nowak
841e847c20 fix(Variables): Ensure necessary resolution interface for plugins 2021-03-23 09:07:51 +01:00
Mariusz Nowak
13610cf0f0 refactor(Variables): Recognize only defined CLI options in resolver 2021-03-22 15:31:17 +01:00
Mariusz Nowak
6c6ada93e4 fix(Variables): Fix resolution of "false" CLI params 2021-03-22 15:31:17 +01:00
Mariusz Nowak
b6382fdb7a refactor(CLI): Resolve command and options gradually
Against command schemas which we know are supported in given context
2021-03-22 15:31:17 +01:00
Mariusz Nowak
9ab04a6747 refactor(CLI): Proritize provider.name validation 2021-03-22 15:31:17 +01:00
Mariusz Nowak
cfe83df174 refactor(Variables): Smarter "is property resolved" validation 2021-03-22 15:31:17 +01:00
Mariusz Nowak
471e34ddc3 refactor(CLI): Categorize CLI commands in schema 2021-03-22 15:31:17 +01:00
Mariusz Nowak
4364acca58 refactor(CLI): Return resolved commandSchema from resolveInput util 2021-03-22 15:31:17 +01:00
Mariusz Nowak
362f5e94e0 refactor(CLI): Expose resolved string command by resolveInput util 2021-03-22 15:31:17 +01:00