69 Commits

Author SHA1 Message Date
Max Marze
e0d6a8acbb
fix: remove bluebird and set concurrency limits for packaging (#12658)
* fix: remove bluebird from zip-service

* fix: remove bluebird and set concurrency limits for packaging
2024-07-02 14:26:28 -04:00
Max Marze
893bfa7aef
chore: update eslint & prettier (#12553) 2024-05-29 11:51:04 -04:00
Austen
158f644cd0
feat: Refactor logging to reduce complexity (#12432)
* chore: Change logger

* chore: continue refactor

* chore: WIP

* chore: Sync
2024-04-17 13:26:31 -07:00
James Kyburz
a50773b60d
fix(AWS Websocket): Fix internal authorizers handling (#11871) 2023-06-20 14:10:49 +02:00
Rob Nielsen
16dd286a1d
fix: Fix function references when represented by alias (#11788) 2023-03-14 12:39:51 +01:00
timo92
2a5e11a997
feat: provider.logDataProtectionPolicy and functions[].logDataProtectionPolicy (#11599) 2022-12-20 14:28:39 +01:00
pjmattingly
b36cdf2db6
refactor: Replace _.flatten with Array.prototype.flat (#11271) 2022-07-28 12:42:51 +02:00
tjurdzinski
22e4842d97
feat(AWS Websocket): Allow propagating tags to Websocket APIGW (#10931)
Co-authored-by: tomasz.jurdzinski <tomasz.jurdzinski@olx.pl>
2022-05-08 23:28:37 +02:00
Ariette
82ce1c83d2
feat(AWS Websocket): Add ability to configure log format and types 2022-04-14 16:59:19 +02:00
Mariusz Nowak
bb70c63656 refactor: Rename …kage/compile/events/websockets/lib/routeResponses.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
bff4cc7b13 refactor: Rename …/events/websockets/lib/pickWebsocketsTemplatePart.js 2022-01-27 15:21:58 +01:00
Mariusz Nowak
f2a4f96f36 refactor: Rename …compile/events/lib/ensureApiGatewayCloudWatchRole.js 2022-01-27 15:21:58 +01: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
Juanjo Diaz
006557d847
refactor: Use standalone ServerlessError. (#8897) 2021-02-09 09:20:55 +01:00
ifitzsimmons
61dd3bde8d
refactor: Use async in compile/events/websockets (#8874)
Covered the following paths:
* `lib/plugins/aws/package/compile/events/websockets`

Made changes to tests where necessary.
2021-02-03 10:13:20 +01:00
Mariusz Nowak
87790e50bd refactor: Seclude ServerlessError into lib/serverless-error.js 2021-01-11 19:39:42 +01:00
Mariusz Nowak
cf7b25e458 style: Upgrade "prettier" to v2 2021-01-04 16:21:24 +01:00
Mariusz Nowak
3808471972 test: Move unit tests to "test/unit" folder 2020-11-30 16:53:52 +01:00
Raul Zaldana
9303d8ecd4
feat(AWS Websocket): Support CF intrinsic functions at arn (#8335) 2020-10-12 16:58:13 +02:00
Piotr Grzesik
76e02cc09c
refactor: Replace _.forEach with Object.entries().forEach (#8280) 2020-09-24 10:31:32 +02:00
Raul Zaldana
e1ca63c06a
feat(Config Schema): Schema for AWS websocket event (#8218) 2020-09-18 17:36:10 +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
Petr Reshetin
268f714357
feat: Schema based validation of service config (#7335)
Co-authored-by: Mariusz Nowak <medyk@medikoo.com>
2020-08-03 15:41:05 +02:00
Mariusz Nowak
409b4d81b6 test: Remove superfluous cleanup logic 2020-07-27 11:42:02 +02:00
andreizet
7bbd04a693
refactor: Replace _.has with better counterparts (#7915) 2020-07-07 17:18:48 +02:00
Mariusz Nowak
9c0f6461b7 fix(AWS Websocket): Fix resources dependency chain
Not having that caused race condition where route response could have been created before deployment.

Exposed by CI fails as: https://travis-ci.org/github/serverless/serverless/jobs/699675795
2020-06-19 14:03:55 +02:00
Nguyễn Việt Đức
20cef81555
refactor: Replace _.isUndefined with native checks (#7826) 2020-06-12 09:54:00 +02:00
Wing-Kam
9f3ee94a74
refactor: Replace _.isString(value) with typeof value === 'string'
(PR #7812)
2020-06-03 16:17:04 +02:00
TATSUNO Yasuhiro
5e0af21313
refactor: Replace _.forEach and _.each with array.forEach (#7748) 2020-05-28 10:45:25 +02:00
DougHamil
2d25e678cb
feat(AWS Websocket): routeResponseSelectionExpression setting (#7233)
Fixes #6130
2020-03-16 22:00:44 +13:00
Austin J. Alexander
9b627fbf7e
fix(AWS Websocket): Fix AWS partition support (#7430) 2020-03-09 12:19:15 +13:00
Petr Reshetin
9f0131fedf
fix: Ensure deterministic WebSockets deployment id (#7248)
To support skip of deployments when no changes are detected
2020-01-29 16:09:43 +04:00
Mariusz Nowak
8932307dce test: Ensure to generate tmp files in tmp dir 2020-01-09 14:16:34 +01:00
maafk
3236adb040 fix: Remove hard-coded AWS partitions (#7175) 2020-01-07 14:51:08 +01:00
Philipp Muens
e080dd2a12
Merge pull request #7035 from tinexw/websocket-loglevel
Add option to change log level for websocket logs
2019-12-03 14:27:55 +01:00
Kristine Jetzke
781cf79ec8 Add option to change log level for websocket logs 2019-12-03 00:25:04 +01:00
Mariusz Nowak
80866c7000
Improve explanation 2019-12-02 18:04:10 +01:00
Mariusz Nowak
24fc39c967
Fix tests 2019-12-02 17:51:53 +01:00
Sam Marks
d1537f7b4b fix: remove $context.status from websocket access log format 2019-11-26 13:52:31 -05:00
exoego
f4b25b37e4 Respect logRetentionInDays in log group for websocket 2019-09-10 10:06:27 +09:00
Mariusz Nowak
40e71b9efc
Ensure to handle API GW account via custom resource 2019-08-28 11:29:49 +02:00
Mariusz Nowak
44c7382a41
Refactor logic 2019-08-28 11:29:49 +02:00
Mariusz Nowak
6eee746718
Refactor to BbPromise.try 2019-08-28 11:29:49 +02:00
Mauro Ronchi
46d1e72720 extract long expression into local variable 2019-08-19 18:14:44 +02:00
Mauro Ronchi
266a4406a3 npm run prettify 2019-08-14 15:12:26 +02:00
Mauro Ronchi
51e49096e2 Add support for external werbsocketApiId
fixes #6533
2019-08-14 13:06:05 +02:00
Christoph Gysin
6b00ef5bcc websockets: fix passing log group ARN
The log group ARN contains a trailing ":*" that seems to cause
deployment to fail. Instead, generate the ARN with the trailing
wildcard.

fixes #6304
2019-06-27 10:46:39 +03:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Christoph Gysin
142a9d8304 Support external ApiGateway websocket API
fixes #6270
2019-06-19 09:21:54 +03:00