moto/moto
Alexander Mohr 9008b85299 lambda + SNS enhancements (#1048)
* updates

- support lambda messages from SNS
- run lambda in docker container

* decode output

* populate timeout

* simplify

* whoops

* skeletons of cloudwatchlogs

* impl filter log streams

* fix logging

* PEP fixes

* PEP fixes

* fix reset

* fix reset

* add new endpoint

* fix region name

* add docker

* try to fix tests

* try to fix travis issue with boto

* fix escaping in urls

* fix environment variables

* fix PEP

* more pep

* switch back to precise

* another fix attempt

* fix typo

* fix lambda invoke

* fix more unittests

* work on getting this to work in new scheme

* fix py2

* fix error

* fix tests when running in server mode

* more lambda fixes

* try running with latest docker

adapted from aiodocker

* switch to docker python client

* pep fixes

* switch to docker volume

* fix unittest

* fix invoke from sns

* fix zip2tar

* add hack impl for get_function with zip

* try fix

* fix for py < 3.6

* add volume refcount

* try to fix travis

* docker test

* fix yaml

* try fix

* update endpoints

* fix

* another attempt

* try again

* fix recursive import

* refactor fix

* revert changes with better fix

* more reverts

* wait for service to come up

* add back detached mode

* sleep and add another exception type

* put this back for logging

* put back with note

* whoops :)

* docker in docker!

* fix invalid url

* hopefully last fix!

* fix lambda regions

* fix protocol

* travis!!!!

* just run lambda test for now

* use one print

* fix escaping

* another attempt

* yet another

* re-enable all tests

* fixes

* fix for py2

* revert change

* fix for py2.7

* fix output ordering

* remove this given there's a new unittest that covers it

* changes based on review

- add skeleton logs test file
- switch to docker image that matches test env
- fix mock_logs import

* add readme entry
2017-09-27 16:04:58 -07:00
..
acm Finished ACM + tests 2017-09-22 14:26:05 +01:00
apigateway Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
autoscaling Boto3 and cloudformation have different keys for auto scaling tags - handle that gracefully 2017-06-21 15:59:03 -04:00
awslambda lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
cloudformation handle short form function in cfn yaml template (#1103) 2017-09-07 11:28:15 -07:00
cloudwatch Added dashboard methods + tests 2017-09-22 16:38:20 +01:00
core Fix parsing non V4 Authorization headers 2017-09-25 23:28:18 +01:00
datapipeline Merge #913. 2017-05-10 21:58:42 -04:00
dynamodb Fixed a bug where Dynamo registers STS and sts calls go to dynamo (#1097) 2017-09-07 11:25:14 -07:00
dynamodb2 get_item update_item return capacity consumed correctly 2017-09-25 11:39:09 +13:00
ec2 lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
ecr Add more error handling to the ECR backend 2017-08-10 19:54:10 -04:00
ecs lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
elb updating explanation of boto client usage 2017-08-02 13:41:39 -07:00
elbv2 implement target group tagging 2017-09-16 19:53:09 -07:00
emr Merge #913. 2017-05-10 21:58:42 -04:00
events Fix cloudwatch events delete_rule. Closes #884. 2017-04-12 22:15:23 -04:00
glacier Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
iam regenerating policies 2017-09-20 18:12:30 -07:00
instance_metadata Fix urlparse for py3. 2017-02-23 21:41:05 -05:00
kinesis add CloudFormation model for Kinesis streams 2017-07-20 14:37:53 +10:00
kms Add kms boto3 test. 2017-03-14 23:42:52 -04:00
logs lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
opsworks Change checks for handling same layer name un different stack 2017-09-25 14:49:08 +03:00
packages Avoid to override SocketType when disabling the mock and bad_socket_shadow is True 2017-07-14 19:29:20 -03:00
polly Fixed issue with server routing 2017-09-26 20:43:58 +01:00
rds Persisting selected LicenseModel in RDS instances 2017-07-05 16:02:45 -07:00
rds2 the linter is too linty 2017-08-15 00:58:33 +10:00
redshift Redshift Updates 2017-08-09 18:43:21 -07:00
route53 Updated R53 ID's to match what AWS do now 2017-09-22 23:50:01 +01:00
s3 lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
s3bucket_path Testing new version of decorator. 2017-02-15 22:35:45 -05:00
ses Adding list_verified_email_addresses and testing 2017-07-11 08:02:31 +00:00
sns lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
sqs Fixed conflicting arguments 2017-09-22 20:37:32 +01:00
ssm ssm get_parameter to honot WithDecryption 2017-09-23 01:41:10 -04:00
sts Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
swf Add BaseModel to all models. 2017-03-11 23:41:12 -05:00
templates Add about page. 2017-03-12 19:58:40 -04:00
xray Finished X-Ray + fixed routing bug 2017-09-23 11:02:25 +01:00
__init__.py lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
backends.py lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
compat.py Fix urlparse for py3. 2017-02-23 21:41:05 -05:00
server.py lambda + SNS enhancements (#1048) 2017-09-27 16:04:58 -07:00
settings.py Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00