Lambda refactoring/CRUD ASF provider implementation by dominikschubert · Pull Request #6865 · localstack/localstack · GitHub
Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
24f550f
re-enable circle CI for lambda ASF provider
dominikschubert Sep 13, 2022
51525ca
add typing for stores, drop this when merging
dominikschubert Sep 14, 2022
6e95dd4
implement delete_function, minor refactorings
dominikschubert Sep 14, 2022
ff95949
add tests for s3 based storage
dfangl Sep 14, 2022
249dfe2
minor fixes for s3 test
dominikschubert Sep 14, 2022
f3e368e
some initial code regarding storing lambda archives in s3
dfangl Sep 14, 2022
9480bdc
wip
dominikschubert Sep 15, 2022
468eb0b
add s3 mechanism to create function
dfangl Sep 15, 2022
f126409
move prepare function to RuntimeExecutor class
dfangl Sep 15, 2022
ef3d864
make update function code backend use s3 as well
dfangl Sep 15, 2022
ff65c39
continue on create_function and update_function_configuration
dominikschubert Sep 16, 2022
276d09d
todos
dominikschubert Sep 16, 2022
f2e9580
some refactoring
dfangl Sep 20, 2022
8961ab2
mark lambda functions as ready correctly
dfangl Sep 21, 2022
5c49b43
some cleanup and comments
dfangl Sep 21, 2022
8c8457c
add function urls
dominikschubert Sep 22, 2022
86887fb
implement initial lambda permissions and move codesigning test
dominikschubert Sep 22, 2022
2bc2f9c
add skeletons for code signing config
dominikschubert Sep 22, 2022
584c0a6
fix invoke for all managed runtimes, add truncation of log output
dfangl Sep 22, 2022
b600a8e
undo create docker override
dfangl Sep 22, 2022
8b2c1f0
extract function name from arn if arn is provided for invoke, guard m…
dfangl Sep 22, 2022
3b3a144
add a lot of validation of inputs, some functional changes in delete …
dfangl Sep 22, 2022
b330509
make environment conditional of its setting (even to an empty dict) i…
dfangl Sep 22, 2022
15eb031
add initial code signing config in provider
dominikschubert Sep 23, 2022
b2daa28
add exceptions and tests for signing config
dominikschubert Sep 23, 2022
747f984
fix for new optional environment in model
dominikschubert Sep 23, 2022
da8eb4e
skip unimplemented API changes for old provider
dominikschubert Sep 23, 2022
38754d3
add invoked arn to invocation so it can be added to the context
dfangl Sep 23, 2022
df439be
start on version publishing
dfangl Sep 26, 2022
f9f7ec9
add get function configuration snapshot of lambda version
dfangl Sep 26, 2022
9d1cb82
add basic alias and more version handling
dfangl Sep 27, 2022
0737a9e
add alias updates
dfangl Sep 27, 2022
7ee6ccd
correctly handle case of empty changeset for alias update
dfangl Sep 27, 2022
58b60ab
initial version of alias routing
dfangl Sep 27, 2022
f0703b1
add behavior test for lambda concurrency
dominikschubert Sep 26, 2022
e52db0b
update provisioned concurrency snapshot
dominikschubert Sep 27, 2022
04d54e7
add more comprehensive tests for event invoke config API
dominikschubert Sep 27, 2022
ca32b61
fix event invoke config snapshots
dominikschubert Sep 27, 2022
64bdace
add event source mapping API tests
dominikschubert Sep 27, 2022
d41ddd8
skip state verification
dominikschubert Sep 27, 2022
5f52f58
continue on event source mappings,eventinvokeconfig,provisionedconcur…
dominikschubert Sep 27, 2022
53195b3
add new tests, fix executed version return value
dfangl Sep 27, 2022
a7de83d
add lambda tag tests
dominikschubert Sep 28, 2022
052be81
regenerate snapshot with different region
dominikschubert Sep 28, 2022
ca6d4ef
add additional tag test cases
dominikschubert Sep 28, 2022
34a3c56
implement function tags
dominikschubert Sep 28, 2022
286d6df
add tag support in create_function and get_function
dominikschubert Sep 28, 2022
2250743
extend function concurrency tests
dominikschubert Sep 28, 2022
23774e4
add lambda alias routing test
dfangl Sep 28, 2022
189111a
add more alias crud validations
dfangl Sep 28, 2022
a8d5546
add test for lambda invocation roles, add couple aws_validated marks
dfangl Sep 28, 2022
6d07b3b
add lambda role injection
dfangl Sep 28, 2022
550cb55
fix snapshot
dfangl Sep 28, 2022
7ed4018
remove snapshot from max limit case
dominikschubert Sep 28, 2022
22c8f1e
use proper values for account settings
dominikschubert Sep 29, 2022
33ea797
emulate account settings locally for lambda
dominikschubert Sep 29, 2022
f28e65d
implement event invoke config crud
dominikschubert Sep 29, 2022
c834ad7
add back deleted snapshots
dominikschubert Sep 29, 2022
69d4771
fix other-than-dict json payloads, fix empty payload, support event i…
dfangl Sep 29, 2022
8f86710
add additional event invoke config cases
dominikschubert Sep 29, 2022
4653ef3
cleanup test_lambda.py
dominikschubert Sep 30, 2022
e4e4067
narrow scope of ASF lambda tests in circleCI
dominikschubert Sep 30, 2022
e999b63
add more validation about wrong-region lambda arns
dfangl Sep 30, 2022
3b59d29
regenerate test_lambda_api snapshots
dfangl Sep 30, 2022
aecf058
fix some api tests
dfangl Sep 30, 2022
5f46418
generate snapshot for provisioned concurrency config
dominikschubert Oct 3, 2022
8ed6c07
add exception tests for provisioned config
dominikschubert Oct 3, 2022
d50491c
implement provisioned concurrency config crud
dominikschubert Oct 3, 2022
3910b4e
enforce tested size limits
dfangl Oct 3, 2022
854dc3a
skip snapshots for introspection tests
dfangl Oct 3, 2022
8284828
add test to check if version arns can be tagged
dfangl Oct 3, 2022
4e84c4b
move behavior test
dominikschubert Oct 4, 2022
7bbd863
add missing function URL exceptions & tests
dominikschubert Oct 4, 2022
4f9e6a0
add paging for remaining list operations
dominikschubert Oct 4, 2022
de65f42
ignore codesize and codesha since compiled builds are currently not r…
dfangl Oct 4, 2022
373aab6
pin rust version, update common snapshots
dfangl Oct 4, 2022
436960f
fix lambda permission tests & exceptions
dominikschubert Oct 4, 2022
38ab9d3
fix more test_lambda tests
dfangl Oct 4, 2022
65e5210
generate snapshot for test_oversized_unzipped_lambda
dominikschubert Oct 4, 2022
3ca5710
skip snapshot verification for logs test (missing init duration) for now
dfangl Oct 4, 2022
75d3d3b
move tags into function dataclass
dfangl Oct 4, 2022
b82ca62
fix type hint <python3.10 compatibility
dfangl Oct 4, 2022
4937690
fix test failures in current provider by skipping where necessary
dfangl Oct 4, 2022
dd11b50
fix lambda runtime snapshot for new role reusing
dfangl Oct 4, 2022
aa11e07
use gradle docker image to prevent multiple downloads, remove now-unn…
dfangl Oct 4, 2022
fa59c49
add verification for certain create / update parameters
dfangl Oct 4, 2022
cbd4bbc
add test for async invocation retries
dfangl Oct 4, 2022
91a1776
unify api_utils and lambda_util to api_utils
dfangl Oct 5, 2022
6d371d0
fix circular imports
dfangl Oct 5, 2022
78771e3
unify api utils addressing, move map methods to api_utils, add test f…
dfangl Oct 5, 2022
296173f
fix list_functions, add test for it, address PR issues
dominikschubert Oct 6, 2022
626a63a
remove unused lock
dominikschubert Oct 6, 2022
1d2d327
fix nits, add proper messages to update function event invoke config …
dfangl Oct 6, 2022
af28d25
proper error message when zip file validation is not successful
dfangl Oct 6, 2022
f9d059d
delete arn from function version config
dfangl Oct 6, 2022
22b4572
fix paging for alias and functions
dominikschubert Oct 6, 2022
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
4 changes: 3 additions & 1 deletion localstack/aws/api/core.py
Loading