Jon Beilke
21c8914efe
include pending days input for schedule key deletion and update tests since boto client returns DeletionDate as datetime
2018-10-06 00:13:47 -05:00
Jon Beilke
6277983e3f
missed some KeyMetadata and need to transform datetime for testing
2018-10-05 23:48:19 -05:00
Jon Beilke
f596069dab
use initial KeyMetadata for identifying keys in KMS tests
2018-10-05 23:35:34 -05:00
Jon Beilke
786b9ca519
need region for kms client
2018-10-05 22:17:48 -05:00
Jon Beilke
a29daf411b
fix invalid variables used in kms testing
2018-10-05 21:56:32 -05:00
Jon Beilke
7e96203020
add freezegun and test DeletionDate for chedule_key_deletion
2018-10-05 16:21:16 -05:00
Jon Beilke
60ec840eef
add disable_key, enable_key, cancel_key_deletion, and schedule_key_deletion actions to KMS endpoint
2018-10-05 15:55:47 -05:00
Steve Pulec
2abbecee71
Merge pull request #1774 from chrisLeeTW/cloudwatch-sequenceToken-hotfix
...
nextSequenceToken that return by cloudwatch logs putLogEvents should be string, not int.
2018-09-22 17:16:53 -04:00
Steve Pulec
c035348ae4
Merge pull request #1759 from kgutwin/iam_get_policy
...
Implement IAM get_policy and correct policy version behavior
2018-09-22 16:59:07 -04:00
Steve Pulec
6aa753af6f
Merge pull request #1745 from cm-iwata/fix_upditem_with_emptystring
...
BugFix dynamodb2 update_item with empty string Fixes#1744
2018-09-22 16:57:10 -04:00
Steve Pulec
1d9c19de44
Merge pull request #1838 from jrbeilke/feature-CopyTagsToSnapshot
...
Update RDS/RDS2 to support CopyTagsToSnapshot and get tagging working with snapshots
2018-09-22 16:51:33 -04:00
Steve Pulec
0ab07bc482
Merge pull request #1763 from nate/fix/receive_message_wait_time_seconds
...
Force receive_message_wait_time_seconds to be int
2018-09-22 16:49:24 -04:00
Steve Pulec
6c8963b9a7
Merge pull request #1837 from ogckw/master
...
Fix #1830 Add support for cross-region VPC peering
2018-09-22 16:42:14 -04:00
Steve Pulec
693c677b87
Merge pull request #1687 from sthuber90/master
...
Fix ECR and bug fixes
2018-09-22 16:40:33 -04:00
Steve Pulec
ec2b278fc8
Merge pull request #1765 from nate/fix/double-create-queue-with-redrive-policy
...
Don't error on double create queue with same attrs
2018-09-22 16:36:35 -04:00
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
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
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
Jon Beilke
7daee905a5
remove merge_taglists as AWS will only take submitted tags or tags from db but not both when creating snapshot
2018-09-21 13:28:13 -05:00
Jon Beilke
6eb490ac78
add support for tags to rds snapshots
2018-09-21 12:03:13 -05:00
Jon Beilke
276da06168
added new merge_taglists() to moto.core.utils for merging lists of tags with precedence (ie. during rds2.create_snapshot)
2018-09-21 10:39:42 -05:00
hans
cedb89dc3b
Fix #1830 Add support for cross-region VPC peering
...
Add a class level store in models/VPCBackend of ec2
for saving vpcs of all regions info. Any instance can correctly find vpc in another region
when connecting vpc of cross-region or vpc of same region.
Modify vpc_peering_connections in ec2/responses to handle
vpc peering of same region or cross region.
Update vpc_peering_connections response
template content to latest (2016-11-15) .
Add vpc cross region peering successful test case.
Add vpc cross region peering fail test case.
Related: https://github.com/spulec/moto/issues/1830
Reference
CreateVpcPeeringConnection Sample Response
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateVpcPeeringConnection.html
2018-09-21 23:29:04 +08:00
Jon Beilke
bf9b37142e
no need for [DBSnapshot] with list_tags_for_resource as the retuned snapshot already handles it
2018-09-21 08:49:45 -05:00
Jon Beilke
881afc8f4a
update RDS models to include CopyTagsToSnapshot
2018-09-21 08:31:31 -05:00
Stephan Huber
88596518f5
Merge remote-tracking branch 'upstream/master'
2018-09-12 11:48:19 +02:00
Jordan Upiter
756b5d6671
Add support for multiple delete markers on an s3 object
2018-09-11 10:41:01 -04:00
Ollie Ford
28aa5d34b0
Add failing test for #1809
2018-09-05 11:31:47 +01:00
Brian Pandola
c6f5e816cc
Add ClusterCreateTime
to Redshift response
...
Fixes #1778
2018-08-20 18:48:13 -07:00
chrisLeeTW
001a7d0278
type of json field - nextSequenceToken that return by cloudwatch logs putLogEvents should be string, not int.
2018-08-17 01:33:50 +08: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
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
1f499971d1
Merge branch 'master' into add_describe_secret_to_secretsmanager
2018-08-14 11:01:47 -07: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
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
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
Nathan Sutton
8393c7f20b
Don't error on double create queue with same attrs
...
Creating a queue a second time with the same attributes should not raise
an error. This change makes it work correctly.
2018-08-08 21:10:13 -05:00
Nathan Sutton
9d1c665310
Force receive_message_wait_time_seconds to be int
...
When a queue is created with the ReceiveMessageWaitTimeSeconds
attribute the value is never converted to an integer. When the
ReceiveMessage action is called it tries to compare the string
ReceiveMessageWaitTimeSeconds with the min and max wait times which
raises a TypeError.
The solution is to convert this value to an integer before comparing.
2018-08-08 19:14:56 -05: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
Karl Gutwin
5ae5ae0efa
Correct deviation in behavior of policy versions from standard API
2018-08-07 17:24:15 -04:00
Karl Gutwin
9e667d6b25
Add get_policy IAM action
2018-08-07 16:59:15 -04:00