Commit Graph

2219 Commits

Author SHA1 Message Date
Mike Bjerkness
9f019792df Added tests 2017-05-22 21:57:14 -05:00
Kate Heddleston
a21413f4ea NoSuchKey error in S3 is actually '404'
Fixes #571 and #953
2017-05-22 19:08:12 -07:00
Jack Danger
bdecd26397 Merge pull request #919 from JackDanger/md5-of-sqs-messages
MD5 calculation of SQS message attributes
2017-05-22 18:23:51 -07:00
Jack Danger
1922857ed7 Merge pull request #947 from JackDanger/shorten-test-sleep
Shorter sleeps in SQS test
2017-05-22 18:22:29 -07:00
Jack Danger Canty
6679def702 Python 2/3 compat for MD5 of SQS attributes 2017-05-22 18:11:59 -07:00
Jack Danger Canty
daba699147 binary values are sent as base64-encoded strings 2017-05-22 18:11:59 -07:00
Jack Danger Canty
5e88b5d1b4 MD5 calculation of SQS message attributes
This implements the same MD5 hashing pattern as implemented in the Ruby
and Java AWS SDKs

Doesn't yet handle list types but if you're reading this you might be
surprised how easy that is to add. Give it a shot and if you get stuck
reach out to me for help.
2017-05-22 18:11:59 -07:00
Mike Bjerkness
20b3069540 Add ECR tests 2017-05-22 15:52:17 -05:00
Mike Bjerkness
588e211c71 Adding ECR 2017-05-22 15:50:22 -05:00
Jack Danger
584352aaf6 Merge pull request #958 from JackDanger/implement_iam_delete_role
implementing IAM delete_role
2017-05-19 16:54:00 -07:00
Jack Danger Canty
15d3397a60 implementing IAM delete_role
Fixes #957
2017-05-19 16:23:42 -07:00
Simon-Pierre Gingras
517416c4d9 feat(s3) HeadObject: honor If-Modified-Since header 2017-05-19 15:59:25 -07:00
Jack Danger
a2be8b760c Merge pull request #959 from mickeypash/correct-iam-error-code-no-such-entity
Fix the error code for IAMNotFoundException to NoSuchEntity used by AWS.
2017-05-19 15:46:29 -07:00
mickeypash
965dc806c5 Fix the error code for IAMNotFoundException to NoSuchEntity used by AWS. 2017-05-19 23:30:29 +01:00
Jack Danger
fe51fadda5 Merge pull request #955 from spulec/add-support-to-plain-text-zipfile-for-lambda
Fix CloudFormation Lambda ZipFile implementation to be plain text
2017-05-18 09:32:14 -07:00
Hugo Lopes Tavares
bfa8b4552c Fix CloudFormation Lambda ZipFile implementation to be plain text
The AWS CloudFormation documentation[1] states the following about the ZipFile property:

> For nodejs4.3, nodejs6.10, python2.7, and python3.6 runtime environments, the source code of your Lambda function.
> You can't use this property with other runtime environments.

[1]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html#cfn-lambda-function-code-zipfile
2017-05-17 18:48:54 -04:00
Jack Danger
61c6be82a9 Merge pull request #952 from mosampaio/master
Adds SSM support in the README
2017-05-17 10:13:41 -07:00
Marcos Sampaio
e344a7e95b Adds SSM support in the README 2017-05-17 14:09:43 +10:00
Jack Danger
b54ef0961f Merge pull request #950 from acmiyaguchi/fix-mock-import
Fixes issue #949 - Add mock as dependency
2017-05-16 16:24:20 -07:00
Anthony Miyaguchi
601fd8a7b4 Fix issue #949 - Add mock as dependency 2017-05-16 14:56:29 -07:00
Jack Danger
6ff8d500e5 Merge pull request #946 from heddle317/add_policy_version
Add policy version
2017-05-15 15:10:49 -07:00
Jack Danger Canty
aad1e17787 Shorter sleeps in SQS test
One of these tests actually waited the entire 60 seconds of the
visibility timeout but that value appears to have been copied
from a previous test that didn't. Updating all tests with shorter
timeouts so folks who copy setup code in the future don't fall
into this trap
2017-05-15 15:06:28 -07:00
Kate Heddleston
992b475093 testing create, get, list, delete policy versions 2017-05-15 14:56:30 -07:00
Kate Heddleston
e307dc38e6 Implementing IAM policy versions
Adding definitions for create, list, and delete policy_versions
2017-05-15 14:56:28 -07:00
Jack Danger
af7a5859fe Merge pull request #943 from tardyp/fixdeprecation
fix warning on py2 as well
2017-05-15 12:10:28 -07:00
Pierre Tardy
2bae587a76
fix warning on py2 as well
object takes no constructor argument whatever the python version.
we simplify the code to not use constructor arguments
2017-05-15 11:28:42 +02:00
Steve Pulec
d45727e028 Merge pull request #941 from georgepsarakis/feature/s3_delete_markers
S3 DeleteMarker support
2017-05-14 16:17:57 -04:00
Steve Pulec
c971a257c6 Merge pull request #940 from JeromeBosman/master
Replace and delete Network ACL Entries
2017-05-14 16:15:01 -04:00
georgepsarakis
ac8b8c9a36 Add tests for DeleteMarker support 2017-05-14 20:00:26 +03:00
georgepsarakis
9a861a367d Enable DeleteMarker support for versioned buckets
- Add object version deletion
- Add DeleteMarker in versioned key store as latest version
- GetObject returns NoSuchKey for objects with DeleteMarker as latest
  version
- Enable IsLatest in response when listing object versions
2017-05-14 19:56:25 +03:00
Jerome Bosman
d1789624c4 Fix 2017-05-14 14:21:18 +01:00
Jerome Bosman
227318b037 Fixed typo failing the build 2017-05-14 13:20:18 +01:00
Jerome Bosman
405b8af870 Fixed:
moto/ec2/models.py:1996:21: E131 continuation line unaligned for hanging indent
moto/ec2/models.py:2380:21: E131 continuation line unaligned for hanging indent
moto/ec2/models.py:2582:21: E131 continuation line unaligned for hanging indent
moto/ec2/responses/network_acls.py:91:1: E303 too many blank lines (4)
moto/ec2/responses/network_acls.py:198:4: W292 no newline at end of file
2017-05-14 13:12:28 +01:00
Jerome Bosman
b6d9b4f584 Replace and delete Network ACL Entries 2017-05-14 13:03:43 +01:00
Steve Pulec
af9c65c5cc Version 1.0.0 2017-05-12 19:59:26 -04:00
Steve Pulec
84690b5425 Cleanup changelog. 2017-05-12 19:58:19 -04:00
Steve Pulec
75b6b67039 Merge pull request #939 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2017-05-12 19:53:29 -04:00
The Gitter Badger
bd6e7024f6 Add Gitter badge 2017-05-12 23:51:37 +00:00
Steve Pulec
97b920f6cf Fix ec2 tags in instance create. Closes #938. 2017-05-12 19:48:24 -04:00
Steve Pulec
0fe824277b Merge pull request #923 from JackDanger/jack/cloud-formation-yaml
Allow yaml templates for cloud formation
2017-05-12 18:41:46 -04:00
Jack Danger Canty
9801d22629 The name of yaml exceptions is more consistent between Py2->3 2017-05-11 07:15:07 -07:00
Jack Danger Canty
94a923ae91 adding pyaml dependency 2017-05-11 06:50:33 -07:00
Steve Pulec
2adc5f2ace Prefix should not be required for S3 lifecycle config. Closes #930. 2017-05-10 22:45:01 -04:00
Steve Pulec
956f44d46c Merge pull request #932 from grahamhar/master
Update list IAM AccessKeys
2017-05-10 22:42:14 -04:00
Steve Pulec
bbfd307f5e Merge pull request #935 from JackDanger/support-rds-default-ports
support default ports in RDS
2017-05-10 22:24:03 -04:00
Steve Pulec
60e3d55422 Merge pull request #927 from risicle/py3-normalize-headers-after-callable-body
bundled httpretty: re-normalize headers after executing callable_body
2017-05-10 22:09:02 -04:00
Steve Pulec
15b811901b Merge pull request #925 from JackDanger/idempotent-dynamodb2-deletes
Idempotent Dynamodb2 deletes
2017-05-10 22:07:12 -04:00
Steve Pulec
152d71e4f3 Merge pull request #922 from georgepsarakis/bug/s3_list_versions_valueerror
ValueError when calling boto3 list_object_versions
2017-05-10 22:06:26 -04:00
Steve Pulec
ff4649eebd Merge pull request #924 from JackDanger/require-content-length-header
Require content-length header
2017-05-10 22:02:21 -04:00
Steve Pulec
2f923b8248 Merge pull request #921 from picadoh/master
Fixing metadata key on s3 operation response
2017-05-10 21:59:57 -04:00