Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lambda][flare] Send minimal Lambda config data to Datadog #924

Merged
Merged
Show file tree
Hide file tree
Changes from 25 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
4df2876
Create flare subcommands
nhulston Jun 9, 2023
aa0a2bf
Make command valid when in interactive mode
nhulston Jun 9, 2023
156b05b
Comment out `allFunctions`, make strings nullable
nhulston Jun 9, 2023
e675026
Convert `validateCommand` to Chain Responsibility pattern
nhulston Jun 9, 2023
ced2960
Refactor `flare-validator`
nhulston Jun 9, 2023
b2310cc
Add tests for flare-command-validator.ts
nhulston Jun 9, 2023
aa10c42
Rename handler -> validator for more readability
nhulston Jun 9, 2023
95fb66b
Remove flare-command-validator.ts, get lambda function configuration,…
nhulston Jun 12, 2023
1836d02
Write config to file and zip it
nhulston Jun 12, 2023
cf058f1
- Send zip to Datadog when not in dry run
nhulston Jun 13, 2023
daf5f6e
Change zip method to use the `jszip` package for compatability on Win…
nhulston Jun 13, 2023
4f0deff
Add test to send zip file
nhulston Jun 13, 2023
3d721fc
Add `jszip` copyright
nhulston Jun 13, 2023
4e2b8b9
Fix csv format
nhulston Jun 13, 2023
0bae35f
Standardize error format
nhulston Jun 13, 2023
df721c1
Fix lint
nhulston Jun 13, 2023
7f24af9
Code review changes
nhulston Jun 14, 2023
08ea2aa
Code review refactoring
nhulston Jun 15, 2023
e580c45
Simplify delete folder method
nhulston Jun 15, 2023
da7247b
- Move constant endpoint URL to top of file
nhulston Jun 15, 2023
1bb8b07
Refactoring
nhulston Jun 15, 2023
4e84a92
Create better tests
nhulston Jun 20, 2023
7c939ca
Get CLI version programmatically and set as `operator_version`
nhulston Jun 20, 2023
d09f367
Rename `operator_version` to `datadog_ci_version`
nhulston Jun 20, 2023
cb1b3d2
Fix endpoint url
nhulston Jun 20, 2023
d5dc2d9
Update tests, add global mock for `util.inspect`
nhulston Jun 20, 2023
8142541
Update commons mocks to only change `getAWSCredentials` and `getLambd…
nhulston Jun 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ eslint-plugin-no-null,dev,MIT,Copyright (c) 2016 Rene Saarsoo
@microsoft/eslint-formatter-sarif,dev,MIT,Copyright (c) Microsoft Corporation
ajv,import,MIT,Copyright (c) 2015-2021 Evgeny Poberezkin
ajv-formats,import,MIT,Copyright (c) 2020 Evgeny Poberezkin
jszip,import,MIT,Copyright (c) 2009-2016 Stuart Knightley and other contributors
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"inquirer": "^8.2.5",
"inquirer-checkbox-plus-prompt": "^1.4.2",
"js-yaml": "3.13.1",
"jszip": "^3.10.1",
nhulston marked this conversation as resolved.
Show resolved Hide resolved
"ora": "5.4.1",
"proxy-agent": "5.0.0",
"rimraf": "^3.0.2",
Expand Down
Loading