Commit Graph

3232 Commits

Author SHA1 Message Date
Ollie Ford
0ac989cfd4
Fix #1809: skip patching staticmethods 2018-09-05 12:01:34 +01:00
Ollie Ford
28aa5d34b0
Add failing test for #1809 2018-09-05 11:31:47 +01:00
Steve Pulec
e8c65d3d85
Merge pull request #1797 from subsett/subsett/documentation_maintenance
Update README.md
2018-08-29 10:57:40 -04:00
Steve Pulec
c4b630e20f Version 1.3.5. 2018-08-29 08:44:03 -04:00
Steve Pulec
f7b039e787
Merge pull request #1794 from garyd203/1793-workaround
RFC: Change setup.py to require older version of botocore with compatible implementation
2018-08-29 08:42:07 -04:00
Subhankar Sett
1371b742cf
Update README.md
Fixes a very minor typo
2018-08-28 11:02:36 -04:00
Gary Donovan
abc15f0ae8 Mitigate #1793 by restricting maximum version for botocore.
botocore v1.11.0 changed it's internal implementation so that it now
uses a different library for HTTP requests. This means that moto's
mocking will not work, and test code will inadvertently call the live
AWS service.

As an interim solution to reduce the impact of this breakage, we
restrict the "required" (ie. recommended) version of botocore so that
users will be less likely to use an incompatible version, and will
receive a pip warning when they do.
2018-08-27 17:29:55 +10:00
Steve Pulec
9c6e7f2ee7
Merge pull request #1754 from NeilRoberts/add_describe_secret_to_secretsmanager
Issue# 1753 - implement secretsmanager.DescribeSecret
2018-08-14 20:24:37 -04:00
Neil Roberts
48a71ae329 Issue 1753: Add support for DescribeSecret
- Merge changes from upstream master.
- Update get_secret_value to use helper method for validating secret
identifier.
- Update implementation coverage checklist.
2018-08-14 12:04:39 -07:00
Neil Roberts
1f499971d1 Merge branch 'master' into add_describe_secret_to_secretsmanager 2018-08-14 11:01:47 -07:00
Steve Pulec
93c9a51fc6
Merge pull request #1772 from NeilRoberts/handle_secret_name_and_id_properly_issue-1770
Issue 1770: Deal with the friendly name properly
2018-08-13 20:31:08 -04:00
Neil Roberts
b2c672a074 Issue 1753: add server test for mismatched secret 2018-08-13 12:53:22 -07:00
Neil Roberts
85d3250b89 Issue 1753: add test for mismatched secret 2018-08-13 12:49:35 -07:00
Neil Roberts
92bc3ff910 Issue 1753: Add support for DescribeSecret
- Add helper method to validate the secret identifier from the client.
- Update describe_secret to use new helper method.
- Insert friendly name into "Name" field of returned description (was
SecretId). ***Assumes acceptance of PR 1772.
2018-08-13 12:41:43 -07:00
Neil Roberts
1f3256ed40 Issue 1770: Deal with the friendly name properly
- Save friendly name in create_secret.
- Reference the saved friendly name in responses that have "Name" field.
- Verify the received secret_id matches the current value. Don't just
test for an empty string.
- Add test for mismatched secret_id.
2018-08-10 16:40:31 -07:00
Neil Roberts
b47fc74650 Set correct default auto rotation period. 2018-08-09 18:19:33 -07:00
Steve Pulec
42d486f9b0
Merge pull request #1750 from TheDooner64/glue-data-catalog
Scaffolding for AWS Glue Data Catalog
2018-08-08 13:25:15 -04:00
TheDooner64
3830757ec6 Add glue to backends to support server mode 2018-08-07 16:57:20 -04:00
Jack Danger
ba9e795394
Version 1.3.4 (#1757)
* bumping to version 1.3.4

* updating changelog

* fixing generation of implementation coverage
2018-08-07 10:53:21 -07:00
Will Bengtson
a420064621 IAM get account authorization details (#1736)
* start of get_account_authorization_details for iam

* add get_account_authorization_details dynamic template

* remove old commented out template

* Fix flake8 problems and add unit test
2018-08-07 10:31:36 -07:00
Neil Roberts
65ef61ca1d Fix linter warning. 2018-08-06 15:54:37 -07:00
Neil Roberts
cce3a678aa Implement secretsmanager.DescribeSecret and tests. 2018-08-06 14:40:33 -07:00
TheDooner64
9339a476d2 Adjust glue get_tables method to use items instead of iteritems 2018-08-05 19:46:40 -04:00
TheDooner64
d988ee15fe Add create_table, get_table, and get_tables for the Glue Data Catalog 2018-08-05 19:18:11 -04:00
TheDooner64
c5c57efbb5 Creating a database that already exists in the glue data catalog raises an exception 2018-08-05 19:18:11 -04:00
TheDooner64
e67a8c6f1b Revert minor changes to s3 tests 2018-08-05 19:18:11 -04:00
TheDooner64
77f0a61c9f Add scaffolding for Glue service, including create_database and get_database for the Glue Data Catalog 2018-08-05 19:18:11 -04:00
Gary Donovan
2e5e7e7f5e Fix typo in test name (#1729) 2018-07-24 23:11:04 +01:00
Steve Pulec
a1d095c14b
Merge pull request #1721 from sepulworld/adding_secretsmanager_random_password
Added SecretsManager get_random_password mock
2018-07-19 11:13:24 -04:00
Steve Pulec
de88ae8cec
Merge pull request #1724 from r1b/master
feature: add parameters back to Message models
2018-07-19 11:11:47 -04:00
Steve Pulec
cc31f22bb5
Merge pull request #1723 from Comcast/create_policy
Adding account id to ManagedPolicy ARN
2018-07-19 10:55:22 -04:00
Steve Pulec
2c1aa8a63d
Merge pull request #1717 from fewstera/usage-plans
APIGateway: Added API for usage plans and usage plan keys
2018-07-19 10:40:14 -04:00
Steve Pulec
0309d1ec39
Merge pull request #1707 from Whamied/etag-no-quote-patch
Added support for multipart upload completion with unquoted etags
2018-07-19 10:05:07 -04:00
Steve Pulec
4c904e19c1
Merge pull request #1699 from chezclem/ECR-list-images-exception
ECR: list_images should return RepositoryNotFoundException when repository is not found
2018-07-19 09:43:29 -04:00
Steve Pulec
786ec0501e
Merge pull request #1692 from sanjeevsuresh/exception-when-missing-key
BugFix: Exception in ListObjectVersions with a Prefix that Returns an Empty Result Set
2018-07-19 09:41:44 -04:00
Steve Pulec
f3175118d1
Merge pull request #1600 from nimbis/extend-ssm-backend
Extend ssm backend
2018-07-19 08:44:30 -04:00
zane
6c7a22c7d7 Added get_random_password mock with tests 2018-07-18 00:27:53 -07:00
Robert C Jensen
f50c6c2fb0 feature: add parameters back to Message models 2018-07-17 20:12:05 -04:00
Nathan Mische
ff80ecb56d Adding account id to ManagedPolicy ARN 2018-07-17 13:31:18 -04:00
Zane Williamson
ba1ceee95f Adding create_secret, exception handle, fix (#1680) 2018-07-14 08:39:19 +01:00
Aidan Fewster
9bd6f0a725
APIGateway: Added usage plan keys API 2018-07-13 15:16:25 +01:00
Aidan Fewster
43e430560c
APIGateway: Added API for usage plans 2018-07-13 15:10:30 +01:00
Aidan Fewster
c20e8568e0 APIGateway - Generate API key value when no value provided (#1713) 2018-07-13 12:53:00 +01:00
temyers
c3b690114c Add support for CloudFormation Fn::GetAtt to KMS Key (#1681) 2018-07-13 11:40:54 +01:00
Nate Peterson
dcdaca8984 parameters return from root path (#1701) 2018-07-13 10:24:11 +01:00
Michael Bell
51db19067c Allow attributes to be set with subscribe command (#1705) 2018-07-13 10:21:33 +01:00
Gary Donovan
802402bdba Tweak comparison to treat NULL/NOT_NULL correctly. (#1709)
The AWS documentation says that a ComparisonOperator of NULL means
the attribute should not exist, whereas NOT_NULL means that the
attribute should exist. It explicitly says that an attribute with a
value of NULL is considered to exist, which contradicts our previous
implementation. This affects both put_item and get_item in dynamodb2.

https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Condition.html
2018-07-13 10:11:10 +01:00
Andrew Basson
7d201c48b5 Fix tier typo in get_amis.py (#1714) 2018-07-13 10:07:09 +01:00
Henadzi Tsaryk
46dd351965 Add ApproximateArrivalTimestamp and MillisBehindLatest to Kinesis get_records response (#1715)
* Add ApproximateArrivalTimestamp to Kinesis response

* Add MillisBehindLatest to Kinesis get_records response
2018-07-13 10:06:28 +01:00
Waleed Hamied
f8fdd439ad Added support for multipart upload confirmation with unquoted etags 2018-07-03 15:36:41 -04:00