855 Commits

Author SHA1 Message Date
Piotr Grzesik
ba5f207d0a refactor(Telemetry): Make serverless optional in generatePayload 2021-04-27 17:46:19 +02:00
Piotr Grzesik
11e7311032 refactor: Introduce is-using-local-installation util 2021-04-27 17:46:19 +02:00
Piotr Grzesik
822a7cf9f5 refactor: Add code to ServerlessError in lib/utils 2021-04-23 13:34:20 +02:00
Piotr Grzesik
ba7fd2e1b4 feat(Telemetry): Allow to disable telemetry via SLS_TELEMETRY_DISABLED 2021-04-21 14:30:51 +02:00
Piotr Grzesik
f4302249a9 fix(Telemetry): Do not send request when there are no events 2021-04-20 15:39:48 +02:00
Piotr Grzesik
0f30125189 refactor(Telemetry): Make getServiceConfig return only config prop 2021-04-19 16:18:24 +02:00
Piotr Grzesik
d3ecb7cc3b feat(Telemetry): Record all commands and send only on deploy 2021-04-19 16:18:24 +02:00
Piotr Grzesik
cde1e54878 feat(Telemetry): Adjust generatePayload for service-agnostic command 2021-04-19 16:18:24 +02:00
Piotr Grzesik
5be1fd0486 feat(Telemetry): Do not send request during storeLocally 2021-04-19 16:18:24 +02:00
Piotr Grzesik
bd4e792594 refactor(Telemetry): Rename report to storeLocally 2021-04-19 16:18:24 +02:00
Piotr Grzesik
70175857c9 refactor(Telemetry): Rename sendPending to send 2021-04-19 16:18:24 +02:00
Mariusz Nowak
e8c8f1cfff refactor: Rename servicePath vars to serviceDir 2021-04-16 13:32:13 +02:00
Mariusz Nowak
87d380275b refactor: Replace config.servicePath with service.dir 2021-04-16 13:32:13 +02:00
Piotr Grzesik
d66711108b refactor(Telemetry): Rename analytics to telemetry 2021-04-16 10:45:56 +02:00
Piotr Grzesik
f805786d7c feat: Bring back support for serverlessExecutionSpan 2021-04-15 17:08:48 +02:00
Piotr Grzesik
010fa2ca83 feat: Remove ongoingRequestCount counter 2021-04-15 17:08:48 +02:00
Piotr Grzesik
8c6be158d7 refactor: Use async/await in analytics test 2021-04-15 17:08:48 +02:00
Piotr Grzesik
278935d3f5 feat(Analytics): Send all payloads with single request 2021-04-15 17:08:48 +02:00
Piotr Grzesik
3e913fafd4 feat(Analytics): Remove handling of obsolete serverlessExecutionSpan 2021-04-15 17:08:48 +02:00
Piotr Grzesik
8aa275725b refactor: Use async/await in PluginManager 2021-04-13 09:15:30 +02:00
Piotr Grzesik
b35c28a194 refactor: Use async/await in analytics 2021-04-13 09:15:30 +02:00
Piotr Grzesik
c88a2ea61a feat: Account for functions with containers for analytics 2021-04-07 13:49:59 +02:00
Mariusz Nowak
2011649537 refactor: Remove injustified "eslint-disable" comments 2021-04-02 15:05:03 +02:00
Piotr Grzesik
6674660b17 fix: Ensure correct payload generation for functions without events 2021-03-29 16:38:55 +02:00
Piotr Grzesik
e20766cf25 feat: Detect Serverless CI/CD engine for analytics 2021-03-24 16:35:45 +01:00
Piotr Grzesik
f6292b2d49 feat: Extend generatePayload 2021-03-16 09:50:19 +01:00
Mariusz Nowak
774358271e refactor: Seclude tokenizeException util 2021-03-05 16:20:03 +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
Juanjo Diaz
820cc1f581
refactor: Remove bluebird from lib/utils (#8972) 2021-02-22 10:05:31 +01:00
Mariusz Nowak
16950d098b refactor(CLI): Remove internal CLI arguments parsing 2021-02-11 14:01:41 +01:00
Dmitry Shirokov
9ad4d07886
feat(AWS IAM): Group IAM-related settings under provider.iam (#8701) 2021-02-11 13:11:58 +01:00
Mariusz Nowak
ab77a11e13 fix: Handle gently npm response errors 2021-02-05 15:38:04 +01:00
Mariusz Nowak
77c7d55f62 refactor: Prefix private property with "_" 2021-02-02 08:53:24 +01:00
Piotr Grzesik
e79f906b9f fix(Templates): Ensure that .gitignore is packaged for templates 2021-01-28 15:51:55 +01:00
Piotr Grzesik
f6c5427b0f chore: Bump @serverless/utils to "v3.0.0" 2021-01-26 16:23:31 +01:00
Sudipto Das
9abe9db27f
refactor: Replace fse.exists with fs.promises.access (#8788) 2021-01-24 14:31:08 +01:00
Mariusz Nowak
8f3481e42a refactor: Improve var naming 2021-01-22 14:57:10 +01:00
Mariusz Nowak
f274cd7637 refactor: Seclude configuration parse from internals 2021-01-22 14:57:10 +01:00
Mariusz Nowak
97d544be82 refactor: Refactor to async/await 2021-01-22 14:57:10 +01:00
Mariusz Nowak
b23bfdbf6a refactor(CLI): Seclude service config path resolution out of internals 2021-01-18 16:19:12 +01:00
Mariusz Nowak
76ab2ffbe2 refactor: Refactor to async/await 2021-01-18 16:19:12 +01:00
Mariusz Nowak
eb0b65dc16 fix: Ensure async function is memoized as promise returning 2021-01-18 16:19:12 +01:00
Brian Dwyer
461a3965a5
feat(Variables): Add support for Terraform state file parsing (#8755)
Signed-off-by: Brian Dwyer <Brian.Dwyer@broadridge.com>
2021-01-15 11:10:49 +01:00
Piotr Grzesik
c3f59e4d78 refactor: Seclude ensureExists util 2021-01-12 11:53:37 +01:00
Mariusz Nowak
87790e50bd refactor: Seclude ServerlessError into lib/serverless-error.js 2021-01-11 19:39:42 +01:00
Frédéric Barthelet
2efc3570c9
refactor: Use @serverless/utils for cloudformationSchema (#8705) 2021-01-06 12:01:02 +01:00
Mariusz Nowak
dde9b85965 refactor: Improve var naming 2021-01-04 21:54:43 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Tim Qian
b572388030
ci: Switch region for china standalone uploads (#8675) 2021-01-04 12:25:25 +01:00
Piotr Grzesik
ef530506d5
feat(AWS Deploy): Introduce new version of hashing algorithm (#8661) 2020-12-28 12:31:18 +01:00