Commit Graph

3266 Commits

Author SHA1 Message Date
Steve Pulec
f071a9cf4f
Merge pull request #1768 from nimbis/ssm-backend-get-command-invocation-upstream
Ssm backend get command invocation upstream
2018-09-22 16:34:37 -04:00
Steve Pulec
793e520c90
Merge pull request #1746 from Brett55/master
- Updated ResourceAlreadyExistsException(LogsClientError) to latest msg
2018-09-22 16:30:56 -04:00
Steve Pulec
7e95698adf
Merge pull request #1777 from madarve/master
ECS: Added schedulingStrategy support
2018-09-22 16:24:56 -04:00
Steve Pulec
2d978aa1c9
Merge pull request #1782 from NeilRoberts/Moto-1781_add_rotate_secret_to_secretsmanager
Issue# 1781 implement secretsmanager.RotateSecret
2018-09-22 16:21:31 -04:00
Steve Pulec
d3b5cea22a
Merge pull request #1806 from joseluisdiaz/return-moto-api-backend
Return given host for 'moto-api'
2018-09-22 16:20:22 -04:00
Steve Pulec
4bb4c96efa
Merge pull request #1821 from Jtupiter/multiple-delete-marker
Fix #1820: Add support for multiple delete markers on an s3 object
2018-09-22 16:16:08 -04:00
Steve Pulec
f3cc02002c
Merge pull request #1751 from Destygo/topic/add_unknown_state_to_elb_unregistered_instances
Add support for unregistered instances in ELB DescribeInstancesHealth.
2018-09-22 16:11:31 -04:00
Steve Pulec
90de7fc0d2
Merge pull request #1789 from bpandola/fix-1778
Add `ClusterCreateTime` to Redshift response
2018-09-22 16:08:38 -04:00
Steve Pulec
afdda39fc4
Merge pull request #1810 from OJFord/fix-1809
Fix #1809: skip patching staticmethods
2018-09-22 15:57:38 -04:00
Steve Pulec
6d3673f284
Merge pull request #1817 from justinm/aws-partition-in-cloudfront
Add AWS::Partition as a variable available to CloudFormation templates
2018-09-22 15:55:56 -04:00
Steve Pulec
626113351d
Merge pull request #1835 from dhuang/remove-cookies-dep
Remove unused cookies dependency
2018-09-22 15:42:51 -04:00
Steve Pulec
11184d188f
Merge pull request #1801 from meneal/fix/mismatch
Fix botocore/boto3 dependency version mismatch
2018-09-22 15:13:47 -04:00
Daniel Huang
4ffff9161e Remove unused cookies dependency 2018-09-20 11:23:20 -07:00
Jordan Upiter
756b5d6671 Add support for multiple delete markers on an s3 object 2018-09-11 10:41:01 -04:00
Justin McCormick
d60d562c62 Add AWS::Partition as a variable available to CloudFormation templates 2018-09-09 02:14:28 -04:00
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
José Luis Diaz
54cbc98506 Return given host for 'moto-api' 2018-09-03 19:16:14 -03:00
Matthew Neal
50f8d5e13c Pin boto3 version to 1.7.84
Pinning boto3 to this version would remove the mismatch between
boto3 and the botocore dependency in setup.py.

Closes #1800
2018-08-29 15:43:45 -04: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
Brian Pandola
c6f5e816cc Add ClusterCreateTime to Redshift response
Fixes #1778
2018-08-20 18:48:13 -07:00
Neil Roberts
6985f27167 Moto-1781: Add unit tests to verify that rotation is enabled.
- Add standalone unit test to verify that rotation is enabled and the
rotation interval is correct.
- Add server test to verify that rotation is enabled and the rotation
interval is correct. Commented out until nested dict error is sorted.
- Fix incorrectly asserted message strings.
2018-08-15 17:11:58 -07:00
Neil Roberts
71ed78141a Moto-1781: Implement server unit tests.
*** Includes 2 commented out tests that generate errors pointing deeper
in the code. ***
2018-08-15 11:32:54 -07:00
Neil Roberts
4ced0ce0db Opportunistic update to unit test for consistency. 2018-08-15 11:22:07 -07:00
Neil Roberts
b2997304b4 Moto-1781: Implement standalone unit tests to cover bad parameters. 2018-08-15 11:20:29 -07:00
Neil Roberts
6e716a5926 Moto-1781: Update implementation coverage. 2018-08-15 11:06:26 -07:00
Neil Roberts
43277a59b9 Moto-1781: finish implementation of rotate_secret and add happy test.
- Implement RotateSecret to support initial setup of secret rotation.
Moto's implementation of secrets is currently flat and needs to gain
some dimension before full rotation can be simulated.
- Add the happy path unit test.
2018-08-15 11:04:44 -07:00
Neil Roberts
69a78ba7c9 Moto-1781: Create initial stub of rotate_secret and tests. 2018-08-15 10:52:30 -07:00
Neil Roberts
0b0d16e8ec Opportunistic update to unit test for consistency. 2018-08-15 10:33:38 -07:00
Neil Roberts
32c32ee5d7 Moto-1781: Implement rotate_secret response. 2018-08-15 10:29:58 -07: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
Manuel Adarve
b75e78a3cd ECS: Added schedulingStrategy support
Co-authored-by: Jonas Gratz <jgratz@newstore.com>
2018-08-13 18:30:05 +02: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
Mike Liu
de532b93b7 Fix flake8.
Remove extra whitespace.
2018-08-09 10:53:32 -04:00
Mike Liu
1b1fc4c030 Support getting cloudformation targets for the SSM backend.
SendCommand allows filtering for instances by tags. This adds support
for filtering by a cloud formation stack resource when creating command
invocations.
2018-08-09 10:34:59 -04: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