Commit Graph

1144 Commits

Author SHA1 Message Date
Toshiya Kawasaki
2b10ef8517 dont use base64 for marker at describe_rules 2017-08-17 04:37:42 +09:00
Toshiya Kawasaki
5c0d5e920a rename test_create_listener_rules to test_handle_listener_rules 2017-08-17 04:28:32 +09:00
Toshiya Kawasaki
e07bce003c add set_rule_priorities to elbv2 2017-08-17 03:15:30 +09:00
Toshiya Kawasaki
0aaa624205 Fix respose number of rules of create_rule 2017-08-17 02:29:49 +09:00
Toshiya Kawasaki
9bc6779485 add modify_rules to elbv2 2017-08-17 02:25:39 +09:00
Toshiya Kawasaki
a73fa64043 add describe_rules to elbv2 2017-08-17 01:57:02 +09:00
Toshiya Kawasaki
3ac10945c1 add delete_rule to elbv2 2017-08-17 00:38:05 +09:00
Toshiya Kawasaki
05a2715f4b add create_rule to elbv2 2017-08-17 00:22:00 +09:00
Jack Danger
f6fc9c7d54 Merge pull request #1053 from rocky4570/rds-stop-start
Rds stop start
2017-08-14 17:53:32 -07:00
rocky4570fft
592bf868ff remove test for rds snapshot quota exceed as moto_server doesnt support it 2017-08-15 10:34:10 +10:00
Brian Pandola
bca5047202 Implement additional IAM endpoints
- attach_user_policy
- detach_user_policy
- list_attached_user_policies
2017-08-14 13:55:53 -07:00
rocky4570fft
c84e8c86f0 modify to use create_snapshot, add extra tests for certain error conditions 2017-08-15 00:55:09 +10:00
Jack Danger
d22671a756 Merge pull request #1049 from aleerizw/feature/add_ssm_delete_parameters
Added support for SSM delete_parameters
2017-08-13 23:47:03 -07:00
David Cuthbert
672604d3e7 Add support for iam:DetachRolePolicy and iam:DeleteRolePolicy. (#1052)
* Add support for iam:DetachRolePolicy and iam:DeleteRolePolicy.

* Raise proper exceptions for iam:DetachRolePolicy and iam:DeleteRolePolicy when the policy doesn't exist.
2017-08-13 21:58:11 -07:00
rocky4570fft
ed39c2ea4e fix up some issues found in unittests - comment out snapshotting until later 2017-08-14 00:27:15 +10:00
Ali Rizwan
d8b0df2bef Added support for SSM delete_parameters
Signed-off-by: Ali Rizwan <ari@hellofresh.com>
2017-08-11 15:19:36 +02:00
Steve Pulec
9ebcaf561e Merge pull request #1046 from spulec/feature/add-proper-errors-to-ecr-calls
Add proper errors to ECR calls
2017-08-10 21:40:55 -04:00
Alexander Mohr
2447725e98 fix list-object-versions with prefix (#1045)
fix list-object-versions with prefix
2017-08-10 17:14:31 -07:00
Hugo Lopes Tavares
e4da4f6cd5 Add more error handling to the ECR backend
The error messages were copied from `botocore`.
New exceptions: RepositoryNotFoundException & ImageNotFoundException.
2017-08-10 19:54:10 -04:00
Brian Pandola
0a03a7237e Redshift Updates
- Implement create_cluster_snapshot endpoint
- Implement describe_cluster_snapshots endpoint
- Implement delete_cluster_snapshot endpoint
- Implement restore_from_cluster_snapshot endpoint
- Implement limited support for describe_tags endpoint
- Correctly serialize errors to json (for boto) or xml (for boto3)
- Simulate cluster spin up by returning initial status as 'creating' and subsequent statuses as 'available'
- Fix issue with modify_cluster endpoint where cluster values get set to None when omitted from request
- Add 'Endpoint' key to describe_clusters response syntax
2017-08-09 18:43:21 -07:00
Waldemar Hummer
24d1562d2f allow non-ascii characters in request URLs 2017-08-05 21:03:50 +10:00
Waldemar Hummer
ce2f3e6e2b fix receiving of messages from queues with a dot character in their name 2017-08-05 15:47:40 +10:00
Jack Danger
7cff406778 fixing case of comments 2017-08-02 15:58:32 -07:00
Jack Danger
543e5fb077 Implementing ELBV2 target group attributes 2017-08-02 15:57:15 -07:00
Jack Danger
b061ac4d28 Merge pull request #1019 from JackDanger/elbv2
Implemented core endpoints of ELBv2
2017-08-02 13:54:20 -07:00
Jack Danger
2f05f6c9ea Adding version string to server tests 2017-08-02 13:41:39 -07:00
Jack Danger
8188fea0ce This is required for the server test to work 2017-08-02 13:41:38 -07:00
Jack Danger
ee6d253700 updating reference in server test 2017-08-02 13:41:38 -07:00
Jack Danger
04e623ea14 Implemented core endpoints of ELBv2 2017-08-02 13:41:38 -07:00
Jack Danger
5011cd28b6 Allow boto3 redshift cluster subnet group creation
Boto3 deviates from the AWS docs in the way subnets are described when
creating a Redshift cluster subnet group.

This entry in botocore nests the SubnetIds under SubnetIdentifier tags:
https://github.com/boto/botocore/blob/develop/botocore/data/redshift/2012-12-01/service-2.json#L5423-L5429
referenced here:
https://github.com/boto/botocore/blob/develop/botocore/data/redshift/2012-12-01/service-2.json#L2296

And the AWS docs do not nest them that way:
https://docs.aws.amazon.com/redshift/latest/APIReference/API_CreateClusterSubnetGroup.html

Fixes #1029
2017-08-02 11:48:12 -07:00
Jack Danger
2b76d07558 Merge pull request #1027 from iCHEF/fix_sns_should_send_json_http_message
Send JSON message to HTTP endpoint of SNS
2017-07-31 12:45:17 -07:00
Peter Us
d76559ee7c SNS delete_topic should also delete subscriptions. 2017-07-31 13:37:29 +02:00
sodastsai
92eedcf291 Send JSON message to HTTP endpoint of SNS
By the documentation from AWS -
http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html ,
SNS would send messages to HTTP/HTTPS endpoint in JSON format. But
current implementation of `moto` sends messages in form-data format.
2017-07-30 20:44:06 +08:00
Jack Danger
2564953ce7 Merge pull request #1021 from JackDanger/implement-get-update-login-profiles
Implement IAM {update,get}_login_profile
2017-07-27 14:36:12 -07:00
Jack Danger
e445c81e83 Implement IAM {update,get}_login_profile 2017-07-27 14:22:25 -07:00
Jack Danger
3eef3c23b1 Updating examples in README to latest API 2017-07-26 22:57:55 -07:00
Jack Danger
4028fe1abd Merge pull request #1023 from william-richard/add-ecr-get-authorization-token
Add ecr get_authorization_token response and tests
2017-07-26 11:52:16 -07:00
William Richard
aeefc8056d
Boto actually returns a base64 encoded string of <user>:<password>
Fix the mock to do the same thing
2017-07-26 12:03:20 -04:00
James Brennan
a5089c3d69 Add add, remove, list endpoints for SSM tags 2017-07-26 11:38:12 +00:00
William Richard
025e975e44
Add ecr get_authorization_token response and tests 2017-07-25 17:54:05 -04:00
Taro Sato
e66b6173c9 Merge branch 'master' into ts/throw-client-error-on-head-bucket 2017-07-20 15:40:53 -07:00
Taro Sato
38fa6809c0 Make HEAD bucket throw ClientError instead of NoSuchBucket on boto3 2017-07-20 15:39:45 -07:00
Waldemar Hummer
115b9cee3e add CloudFormation model for Kinesis streams 2017-07-20 14:37:53 +10:00
Jack Danger
074ff68bf1 Merge pull request #1016 from JackDanger/elb-security-groups
Implementing ELB apply_security_groups_to_load_balancer
2017-07-19 17:41:53 -07:00
Jack Danger
45d7230440 fixing typo 2017-07-19 16:01:00 -07:00
Jack Danger
6ed8d12317 Enforcing ELB security groups must be real 2017-07-19 15:58:49 -07:00
Jack Danger
b512316c82 removing further unused imports 2017-07-19 12:36:04 -07:00
Jack Danger
7d0a575ab1 Removing unused import 2017-07-19 12:20:58 -07:00
Jack Danger
73ede75c39 Adding test for ELBv1 security groups 2017-07-19 12:20:01 -07:00
Christian Hellman
63b09eae13 Added DescribeAccountAttributes 2017-07-17 23:33:40 +00:00