Terry Cain
edd10aaa19
Started Work on X-Ray
...
Could help #1006
2017-09-22 23:36:26 +01:00
Mike Grima
7167e09ca5
Fixed bug in S3 put_bucket_tagging. Closes #1181 .
2017-09-22 13:35:00 -07:00
Jack Danger
d692219927
Merge pull request #1180 from terrycain/sqs_improvement
...
SQS Cleanup, and fix #1105
2017-09-22 13:23:20 -07:00
Terry Cain
a91c025398
Cleanup, and fix #1105
2017-09-22 20:08:20 +01:00
Jack Danger
eeda0cd28e
re-enabling tests
2017-09-22 10:57:06 -07:00
Jack Danger
ea66a71765
supporting signed urls for private keys
2017-09-22 10:44:37 -07:00
Jack Danger
eb220cc6fb
Merge pull request #1177 from terrycain/cloudwatch
...
Cloudwatch Implementation
2017-09-22 10:10:02 -07:00
Terry Cain
c965fdd47f
Added dashboard methods + tests
2017-09-22 16:38:20 +01:00
Terry Cain
e3034275db
Finished ACM + tests
2017-09-22 14:26:05 +01:00
Terry Cain
edbbbf6d20
Nearly finished implementation and tests
2017-09-22 11:21:36 +01:00
Jack Danger
4213f88c6b
Merge pull request #1166 from terrycain/sns_full
...
Complete SNS API
2017-09-21 22:30:32 -07:00
Chris Keogh
d0f38407a1
update expression attribute test
2017-09-22 15:52:32 +12:00
Chris Keogh
87d7cacda6
Merge branch 'master' of https://github.com/spulec/moto
2017-09-22 15:44:44 +12:00
Chris Keogh
8840495f77
add AttributeValueNames for basic ProjectionExpressions on query
2017-09-22 15:40:30 +12:00
Chris Keogh
037b357029
add basic projection expressions
2017-09-22 13:12:24 +12:00
Terry Cain
283b67cb9b
Added nearly all ACM method implementations
...
Added cryptography>=2.0.0 to install deps
Created base backend and certificate objects
Implemented most of the methods
Added pregenerated certs
2017-09-22 00:20:26 +01:00
Terry Cain
18cb0bce54
General tidy up
2017-09-21 21:16:00 +01:00
Jack Danger
1bd842499e
Merge pull request #1169 from JackDanger/jack/public-read-for-public-bucket
...
S3 keys inherit bucket ACL
2017-09-21 10:40:59 -07:00
Jack Danger
5fc87f8b2b
Merge pull request #1165 from JackDanger/jack/import-all-aws-managed-policies
...
Adding all 278 AWS-managed policies
2017-09-20 19:09:59 -07:00
Jack Danger
ca7661bc1e
S3 keys inherit bucket ACL
2017-09-20 19:04:23 -07:00
Terry Cain
19074c535c
Added ConfirmSubscription + Tests + checks
...
For now subscriptions do nothing, but if we go the route of handing out subscribe tokens, I
have layed the groundwork for validating that
2017-09-20 21:47:02 +01:00
Terry Cain
ef8a97f6c3
Implemented Add/RemovePermission + Tests
2017-09-20 21:13:26 +01:00
Terry Cain
f7f80293c7
Implemented OptInPhoneNumber + Tests
2017-09-20 20:56:37 +01:00
Chris Keogh
51c3fec6dd
fix scan return CapacityUnits
2017-09-20 13:57:26 +12:00
Terry Cain
1281ac86d5
Implemented ListPhoneNumbersOptedOut + Tests
2017-09-20 00:03:58 +01:00
Terry Cain
ba8a2ccfc5
Implemented CheckIfPhoneNumberIsOptedOut + Tests + Error code
2017-09-19 23:54:13 +01:00
Terry Cain
57d94d56c3
Implemented SNS.SetSMSAttributes & SNS.GetSMSAttributes + Filtering
...
TODO:
AddPermission / RemovePermission
CheckIfPhoneNumberIsOptedOut
ConfirmSubscription
ListPhoneNumbersOptedOut
OptInPhoneNumber
2017-09-19 22:48:46 +01:00
Jack Danger
8f2f7fa20d
Adding a script to import all of AWS' managed policies
...
fixes #1118
2017-09-19 14:01:08 -07:00
Terry Cain
16e0326fe7
Fixed #1162
2017-09-19 21:43:55 +01:00
Jack Danger
066382fabc
Merge pull request #1156 from terrycain/master
...
Added SSM GetParameter support
2017-09-18 14:00:05 -07:00
Terry Cain
81026dd1d7
Newlines for more pep8 compliance
2017-09-18 21:46:07 +01:00
Terry Cain
783c287e51
Added non existant parameter test + needed error responses
2017-09-18 21:27:56 +01:00
Nuwan Goonasekera
ca56955a97
Added invalid id exceptions when filtering vpcs and subnets
2017-09-18 23:38:39 +05:30
Nuwan Goonasekera
08c4eff0b2
Added invalid id exceptions when filtering snapshots and volumes
2017-09-18 23:38:04 +05:30
Nuwan Goonasekera
298772ca92
Raise InvalidGroup.NotFound in DescribeSecurityGroups
2017-09-18 19:51:01 +05:30
Terry Cain
cf7e07b728
Added GetParameter support
2017-09-18 14:13:02 +01:00
Jack Danger
2937cf4c45
Merge pull request #1151 from JackDanger/jack/enforce-s3-acls
...
enforce s3 acls
2017-09-16 20:16:54 -07:00
Jack Danger
4b7a157560
implement target group tagging
2017-09-16 19:53:09 -07:00
Jack Danger
c8f6fb7738
Creating server-safe anonymous clients for testing
2017-09-16 15:48:20 -07:00
Jack Danger
e33702fbac
using deprecated mock just to patch requests library
2017-09-16 12:49:07 -07:00
Jack Danger
802279d7c4
Authenticating to S3 in tests
2017-09-16 12:49:07 -07:00
Jack Danger
2055bb62f5
enforce s3 acls
2017-09-16 12:49:07 -07:00
Nuwan Goonasekera
0953ddde51
Fix for instance public ip not being cleared on eip disassociation
2017-09-16 12:26:43 +05:30
Jack Danger
b3ce255eee
Merge pull request #1148 from gvlproject/vpc_address_filtering
...
Improved support for VPC Address filtering
2017-09-15 14:22:21 -07:00
Nuwan Goonasekera
8776129816
Improved support for VPC Address filtering
2017-09-16 01:49:57 +05:30
Nuwan Goonasekera
c116c57eb8
Ensure root device is listed in block device mappings
2017-09-15 21:30:32 +05:30
Chris Keogh
101dfaa412
fix tests for python 3.x
2017-09-15 15:41:48 +12:00
Chris Keogh
2c8326e9b9
allow get_function for lambda created with zipfile
2017-09-15 14:49:32 +12:00
Jack Danger
849ebfb96c
Merge pull request #1138 from dbfr3qs/master
...
Add invoke_async to aws_lambda
2017-09-14 11:14:12 -07:00
Jack Danger
540cfddaf8
Merge pull request #1140 from gvlproject/master
...
Added keypair filtering
2017-09-14 11:12:04 -07:00
Nuwan Goonasekera
d0c610c5ac
Added keypair filtering
2017-09-14 14:59:13 +05:30
Chris Keogh
c20d365021
fix merge conflicts
2017-09-14 14:30:55 +12:00
Chris Keogh
a379d76cfc
add aws_lamba.invoke_async method
2017-09-14 13:59:35 +12:00
Jack Danger
2f997a7349
Merge pull request #1134 from brianrower/feature/add-operation-with-update-expression
...
Add support for the ADD and DELETE operations in dynamodb update expressions
2017-09-13 15:24:55 -07:00
Jack Danger
11b7284b83
Merge pull request #1135 from oharaandrew314/lambda-tags
...
add Lambda tag_resource, untag_resource, and list_tags methods
2017-09-13 15:21:21 -07:00
aohara-admin
98f95dd4a7
add Lambda tag_resource, untag_resource, and list_tags methods
2017-09-13 15:41:49 -04:00
Brian Rower
0097ab4c67
Improve code coverage
2017-09-12 23:41:12 -07:00
Brian Rower
6affc7a4ec
Add basic support for the add operation in an update operation
...
Add basic delete functionality
Improve testing coverage and make behave more like actual dynamo on errors
Lint fix
2017-09-12 21:42:29 -07:00
Chris Keogh
1472d63c87
use assert_raises teat helper pattern
2017-09-13 08:30:15 +12:00
Chris Keogh
6ee204e458
fix server mode test
2017-09-12 14:55:43 +12:00
Chris Keogh
722859748e
Merge branch 'master' of https://github.com/spulec/moto into add-empty-string-validation-exception
2017-09-12 10:52:46 +12:00
Chris Keogh
ed820cc80e
return validation error for empty attribute
2017-09-12 09:28:36 +12:00
Brian Rower
386ac94abe
Allow doing an ADD update of a string set
...
Fix test
2017-09-11 12:07:34 -07:00
Jack Danger
d2a234f75d
falling back to use nic'
2017-09-08 16:30:21 -07:00
Jack Danger
5a03497367
rendering vpc_id in ec2 responses
2017-09-08 15:07:44 -07:00
Mike Grima
5d8cd22b01
Fixed S3 lifecycle error message. ( #1110 )
...
Fixes #1109
Also added PutBucketTagging support
Also added Bucket CORS support
2017-09-07 11:30:05 -07:00
Toshiya Kawasaki
2f6f42a183
handle short form function in cfn yaml template ( #1103 )
2017-09-07 11:28:15 -07:00
Toshiya Kawasaki
8f0e2e7954
fix TargetGroupNnotFoundError is not definied correctly ( #1099 )
2017-09-07 11:25:59 -07:00
Toshiya Kawasaki
ee4ca0c39a
Support IAM account alias ( #1088 )
2017-09-07 11:21:44 -07:00
Toshiya Kawasaki
0c3708a8e7
Support SNS subscription attributes ( #1087 )
...
* remove code for local test
* Add SNS set_subscription_attributes and get_subscription_attributes
2017-09-07 11:19:34 -07:00
Daniel Lutsch
1f6b1b8c4a
Add list support to filters ( #1083 )
...
* initial pass with TODOs
* add list support to get_object_value
* fix group-id filters
* add tests for sg name and id filters
2017-08-25 23:43:29 -07:00
Daniel Lutsch
945b984538
Add private-dns-name filter and fix regional DNS ( #1076 )
...
* add private-dns-name to filter_dict_attribute_mapping
* add region_name attribute to Instance and InstanceResponse
* set dns name based on region
* test private-dns-name and network-interface.private-dns-name filters. checking both regional dns formats
* update test_ec2_classic_has_public_ip_address to use correct dns values
2017-08-23 01:39:50 -07:00
Toshiya Kawasaki
2ace59a60e
fix bug that remove_rule doesnt remove rule correctly ( #1074 )
2017-08-21 12:30:03 -07:00
Toshiya Kawasaki
ce7eabd44a
Envelope sns message when sending to sqs ( #1066 )
...
* envelop message when sendig from sns to sqs
* add test for publishing sns message to sqs
* specify separators options to json.dumps to avoid json bug in python2
* remove unused print
* replace time string for testing server mode
2017-08-21 12:29:34 -07:00
Toshiya Kawasaki
b6cc208534
ELBv2 modify_rule changes listener rule partially ( #1073 )
...
* modify_rule changes listener rule partially
* fix syntax
* fix outdated code
* fix outdated code
2017-08-21 12:28:58 -07:00
Jack Danger
bd98996a19
Merge pull request #1065 from kawasakitoshiya/toshitanian/validate_elbv2_target_group_name
...
validate target group name
2017-08-18 08:46:39 -07:00
Toshiya Kawasaki
775b8a953a
add validation for target name
2017-08-19 00:36:12 +09:00
Toshiya Kawasaki
d4c6111c40
raise error when name is more than 32 when creating target group
2017-08-18 23:54:28 +09:00
Toshiya Kawasaki
469cfb7b3e
fix bug that Names filter dont work at describe_target_groups
2017-08-18 15:56:53 +09:00
Toshiya Kawasaki
f38212a545
sort keys when dumping dict to json
2017-08-18 10:23:11 +09:00
Toshiya Kawasaki
ccf4cf28b1
escape json string when sending message from sns mock to sqs mock
2017-08-18 10:23:11 +09:00
Jack Danger
de0d201e40
Merge pull request #1056 from aleerizw/fix/get_parameters_invalid
...
SSM get_parameters should list InvalidParameters
2017-08-16 14:37:29 -07:00
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
Ali Rizwan
1c96335895
get_parameters should list InvalidParameters
...
Signed-off-by: Ali Rizwan <ari@hellofresh.com>
2017-08-16 12:49:03 +02: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
eric-weaver
abf3078c28
implement s3 object tagging
2017-07-15 22:36:12 -04:00
fdfk
2a65f40a19
Adding list_verified_email_addresses and testing
2017-07-11 08:02:31 +00:00
Jack Danger
98342bfcc3
Raise error on duplicate elbv1 listener
...
AWS returns an error condition when a listener is defined that interferes with an existing listener on the same load balancer port.
2017-07-06 21:52:01 -07:00
Jack Danger Canty
dbbbc01f88
Test boto3 elb listener deletion
2017-07-06 21:29:18 -07:00
Jack Danger Canty
c3d9f4e056
Persisting selected LicenseModel in RDS instances
2017-07-05 16:02:45 -07:00
Jack Danger
8f2a0a83a1
Merge pull request #983 from Polarishq/ssm_describe_parameters
...
Add describe_parameters support to SSM
2017-07-04 14:30:24 -07:00
Jack Danger
1d74182ab5
Merge pull request #986 from JackDanger/jack/describe_snapshots
...
Implementing RDS Snapshots
2017-07-04 13:45:03 -07:00
Ferran Puig
e4f42d5880
Don't use exponential notation for SQS message timestamps
2017-07-03 16:17:01 +02:00
Luis Jimenez
898031b40c
SQSResponse: include MD5OfMessageAttributes parameter only when there are message attributes
2017-06-29 09:27:31 -04:00
Steven Cipriano
c4b9088bfc
Add support for recursive emr settings
...
- Updates _RecursiveDictRef to not implement __getitem__, avoiding errors when using recursive settings for an emr job flow
2017-06-27 11:31:43 -07:00
Declan Shanaghy
7bf5211bef
Simplify test 2
2017-06-26 12:07:44 -07:00
Declan Shanaghy
27f1248788
Fix spacing
2017-06-26 11:20:56 -07:00
Declan Shanaghy
8ca27e184a
Simplify tests
2017-06-26 11:17:36 -07:00
William Richard
c5ce2848be
Boto3 and cloudformation have different keys for auto scaling tags - handle that gracefully
2017-06-21 15:59:03 -04:00
Jack Danger Canty
e57798cb96
Implementing snapshots on rds instance deletion
2017-06-20 14:46:13 -07:00
Jack Danger Canty
63f01039c3
Implementing RDS Snapshots
2017-06-20 13:52:21 -07:00
William Richard
3f20ad2c13
Support filtering by image id or image tag when describing ecr images
2017-06-20 16:22:34 -04:00
William Richard
b67e10d5c9
Make sure the repository response_object is json serializable with images
...
If images had been pushed to a repository, they would be included in the
response object, and the json encoder could not serialize the Image class.
Since they are not included in the boto response, I just deleted the images
field from the response object for Repositories.
I also found a duplicate test in the ecr class, so I removed one of them.
2017-06-20 15:47:39 -04:00
Jack Danger Canty
05ddcef2a0
Re-enabling tests on Python3
2017-06-20 11:58:18 -07:00
Declan Shanaghy
db20dfcd82
Added filtering
2017-06-20 11:47:53 -07:00
Steve Pulec
b0fe1d8eae
Merge pull request #980 from JackDanger/jack/rds-has-db-name
...
Include db_name when describing RDS instances
2017-06-14 20:40:23 -04:00
Steve Pulec
3ce2e4777b
Merge pull request #978 from JackDanger/loadbalancers-require-ports
...
create_load_balancer requires port definitions
2017-06-14 20:39:29 -04:00
Jack Danger Canty
559a863d7f
Include db_name when describing RDS instances
2017-06-13 17:09:09 -07:00
Jack Danger Canty
c8794e842d
create_load_balancer requires port definitions
...
Throw the appropriate error when defining a loadbalancer with no ports
2017-06-12 16:42:43 -07:00
Greg Sterin
be07fbda52
Support Expected in dynamoDB updateItem
2017-06-09 17:34:29 -07:00
Paul Carleton
dc0edb9b8c
Add test for asg tags
2017-06-09 13:10:00 -07:00
Jessie Nadler
f5106f2cc8
Add Fn::ImportValue support
2017-06-08 18:34:09 -04:00
Jessie Nadler
d3faaad46b
Add Fn::Sub support
2017-06-08 18:34:09 -04:00
Jessie Nadler
a1549b04b4
Add Fn::Split and Fn::Select support
2017-06-08 15:22:05 -04:00
Steve Pulec
a956c3a85c
Fix tests for py3.
2017-06-03 19:35:23 -04:00
Steve Pulec
113bfcb4ea
Fix duplicate bucket creation with LocationConstraint. Closes #970 .
2017-06-03 19:29:59 -04:00
Steve Pulec
49c947ece7
Stop autodecoding content so we can mimic requests. Closes #963 .
2017-06-03 19:06:55 -04:00
Steve Pulec
3d886aeadc
Merge pull request #972 from nadlerjessie/add-exports
...
Add exports
2017-06-03 16:34:49 -04:00
Jessie Nadler
c6603c6248
Validate export names are unique
2017-06-02 16:35:19 -04:00
Jessie Nadler
de9ea10eb1
Add list_exports to CloudFormationResponse
2017-06-02 16:31:46 -04:00
Jack Danger
5684aa5922
Merge pull request #964 from whummer/feat/cloudformation-models
...
Add extended CloudFormation models for Lambda and DynamoDB
2017-06-01 13:50:53 -07:00
Waldemar Hummer
da7106cfd6
extended CloudFormation models for Lambda and DynamoDB
2017-06-01 22:43:23 +02:00
Jack Danger
6163363c15
Merge pull request #960 from spg/feat-s3-if-modified-since
...
feat(s3) HeadObject: honor If-Modified-Since header
2017-06-01 09:10:20 -07:00
brett55
7033d142a0
- Bug fix for infinite loop when WaitTimeSeconds was set to 0
...
- Added 2 unit tests
2017-06-01 09:51:33 -06:00
Jack Danger Canty
b0c83c4e70
Testing ELB connection draining timeouts
2017-05-31 15:53:39 -07:00
Jeff Hardy
4e2f775c1f
Use region list from Boto.
...
Boto can be configured with extra regions, but moto will fail to import
if they are not in the hardcoded list in ec2/models.py. Instead, use the
region list from boto to build the ec2_backends dict to ensure all
regions are available.
2017-05-26 12:47:28 -07:00
Jack Danger
d23910fb86
Merge pull request #961 from mbjerkness/master
...
Adding ECR
2017-05-23 14:19:33 -07:00
Jack Danger
22a9844e99
Merge pull request #954 from JackDanger/s3_missing_key_throws_unusual_error
...
NoSuchKey error in S3 is actually '404'
2017-05-23 14:18:53 -07:00
Simon-Pierre Gingras
a2a6514936
attempt at fixing tests
2017-05-23 11:29:01 -07:00
Simon-Pierre Gingras
9b2c19c909
Merge branch 'master' of github.com:spulec/moto into feat-s3-if-modified-since
2017-05-23 08:42:33 -07:00
Mike Bjerkness
91d99e5695
Fix python 3 error with generate sha
2017-05-22 22:50:39 -05:00
Mike Bjerkness
c7a166f68e
Remove tests that expect exceptions.
2017-05-22 22:29:49 -05:00
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
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
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
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
Steve Pulec
d45727e028
Merge pull request #941 from georgepsarakis/feature/s3_delete_markers
...
S3 DeleteMarker support
2017-05-14 16:17:57 -04:00
georgepsarakis
ac8b8c9a36
Add tests for DeleteMarker support
2017-05-14 20:00:26 +03:00
Jerome Bosman
b6d9b4f584
Replace and delete Network ACL Entries
2017-05-14 13:03:43 +01: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
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
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
Steve Pulec
0adebeed24
Merge #913 .
2017-05-10 21:58:42 -04:00
Steve Pulec
408a70992c
Fix filter wildcards. Closes #910 .
2017-05-10 21:33:34 -04:00
Steve Pulec
6ef2f366f6
Merge pull request #916 from code-haven/master
...
Added validation for record names in route53 (boto3)
2017-05-10 21:32:53 -04:00
Steve Pulec
d5e73e11fc
Merge pull request #909 from dataxu/BT-1753
...
Implementation of delete_pipeline
2017-05-10 21:04:57 -04:00
Steve Pulec
95f759ce30
Merge pull request #911 from im-auld/query-filters-issue-164
...
Query filters issue 164
2017-05-10 20:54:55 -04:00
Jack Danger Canty
6d8aa9d8f1
support default ports in RDS
2017-05-08 20:05:46 -10:00
Jack Danger Canty
8e3d46fb05
Deleting from an unknown table raises error
...
If the table exists then we deletes are idempotent
2017-05-08 17:25:59 -10:00
graham-hargreaves
835fe2d742
Update list IAM AccessKeys
...
Add the creation date, including timezone info, to the data returned
when requesting all AccessKeys for an IAM user.
This fixes #75
2017-05-07 16:31:26 +01:00
Jack Danger Canty
02edc6fa00
Idempotent Dynamodb2 deletes
...
Fixes #873
2017-05-01 12:31:31 -07:00
Jack Danger Canty
a2fd72d2f8
Require content-length header
...
fixes #908
2017-05-01 12:13:12 -07:00
Jack Danger Canty
bf3fff6e2c
Allow yaml templates for cloud formation
...
Fixes #912
2017-05-01 11:28:35 -07:00
georgepsarakis
2714fb76f1
Python 2/3 compatibility fixes
2017-04-30 08:03:46 +03:00
georgepsarakis
819a308e2b
Add failing test for S3 list_object_versions
2017-04-29 21:56:48 +03:00
Abhinav I
06d65fd3da
Added test cases that covers route53 client's <change_resource_record_sets> function. Also added validation to throw a ClientError when the record set does not match the hosted zone's config
2017-04-28 21:26:32 +05:30
Hugo Picado
0945765537
Fixing metadata key on s3 operation response
...
ETag metadata key is being returned as "Etag" instead of "ETag". This leads to issues in some AWS SDKs using MotoServer. This change fixes the issue by updating the key to the correct format.
This closes #920
2017-04-27 13:57:18 +01:00
Ian Auld
cdc007fc63
Added test for query using an attribute that is not a range/hash key
2017-04-21 14:55:25 -07:00
Andrii Piasetskyi
e749858041
Added DataPipeline Tags. Implemented delete_pipeline. Added tests for delete_pipeline
2017-04-21 21:24:52 +03:00
Michael van Tellingen
783a1d73b4
Implement support for SSM parameter store
...
This commit adds initial support for the Simple System Manager client.
It currently only mocks the following api endpoints:
- delete_parameter()
- put_parameter()
- get_parameters()
2017-04-18 19:09:10 +02:00
Steve Pulec
df84675ae6
Merge pull request #897 from gjtempleton/TaskDraining
...
ContainerInstance deregistration
2017-04-15 23:47:47 -04:00
Steve Pulec
a83a235637
Merge pull request #903 from mvantellingen/ecs-deployments
...
Add deployments to the ecs services (describe_services)
2017-04-15 23:46:02 -04:00
Steve Pulec
cc123dafb9
Merge pull request #902 from mvantellingen/ecs-revision
...
Return the revision in ecs.register_task_definition
2017-04-15 23:45:42 -04:00
Michael van Tellingen
0ae6e404d0
Add deployments to the ecs services (describe_services)
2017-04-14 18:40:47 +02:00
Michael van Tellingen
18ed73292c
Return the revision in ecs.register_task_definition
...
This matches boto, see
http://boto3.readthedocs.io/en/latest/reference/services/ecs.html#ECS.Client.register_task_definition
2017-04-14 18:16:24 +02:00
Dmytro Milinevskyy
6e61ee4caa
s3: handle WebsiteRedirectLocation
...
spulec/moto#821
2017-04-14 13:32:52 +02:00
Steve Pulec
d35e143a20
Merge pull request #899 from smarlowucf/master
...
Add list user policies endpoint to iam backend.
2017-04-13 21:18:43 -04:00
Sean Marlow
9a2f2fcd4b
Add list user policies endpoint to iam backend.
...
- Add response and endpoint methods.
- Add test covering put, get, delete and list user policy.
2017-04-13 15:09:23 -06:00
GuyTempleton
acb6c3ce01
Implement container instance deregistration
2017-04-13 17:46:15 +01:00
Steve Pulec
bf935c210b
Fix cloudwatch events delete_rule. Closes #884 .
2017-04-12 22:15:23 -04:00
Steve Pulec
23f6f941b1
Merge pull request #895 from gjtempleton/ECSContainerResources
...
Container Instance Resource implementation
2017-04-12 20:53:06 -04:00
Steve Pulec
42f6487c88
Merge pull request #881 from smarlowucf/master
...
Add mfa device endpoints to iam backend.
2017-04-12 20:23:49 -04:00
GuyTempleton
880f3fb950
Container Instance Resource implementation
2017-04-12 13:30:32 +01:00
Sean Marlow
8b9d685f1c
Add mfa device endpoints to iam backend.
...
- Add mfa device class
- Add mfa devices dictionary to user class
- Add responses, endpoints and tests
2017-03-27 13:13:40 -06:00
Valentín Gutiérrez
6e209bb14c
Implement availability-zone filter for DescribeNetworkInterfaces
2017-03-22 14:36:20 +01:00
Steve Pulec
2d05f8a79a
Add functionality for iam get-user with current user. Closes #480 .
2017-03-19 11:09:30 -04:00
Steve Pulec
a0a205328d
Cleanup SQS body encoding. Closes #458 , #460 .
2017-03-19 11:03:55 -04:00
Andrew Garrett
6f4cb512ac
Allow CloudFormation stack tags to be updated
...
Limitations:
* does not update the tags of the resources in the stack. that can be
implemented later.
* does not support the supposed feature of clearing tags by passing an
empty value that boto3 mentions in its documentation. I could not find
anything in the request body to indicate when an empty value was passed.
2017-03-17 23:57:57 +00:00
Steve Pulec
c207963a86
Cleanup SNS exceptions. Closes #751 .
2017-03-16 22:28:30 -04:00
Steve Pulec
e7a3f3408e
Add Lambda header for invoking error. Closes #770 .
2017-03-16 22:00:57 -04:00
Steve Pulec
e3bff8b926
Fix cloudformation NoValue parsing to not add attribute. Closes #870
2017-03-16 21:20:01 -04:00
Steve Pulec
25e2af0320
Fix camelcase_to_underscore. Closes #767 .
2017-03-15 23:39:36 -04:00
Steve Pulec
6666351757
Fix redshift server to default to xml.
2017-03-15 22:05:11 -04:00
Steve Pulec
3cdb4afad0
Fix redshift responses to work with json or xml.
2017-03-15 21:58:37 -04:00
Steve Pulec
09a4d177f5
Add kms boto3 test.
2017-03-14 23:42:52 -04:00
Steve Pulec
0df47574ab
Merge pull request #865 from adamstauffer/master
...
update RDS responses to return DBInstanceArn
2017-03-14 23:28:30 -04:00
Adam Stauffer
c5853b48da
update RDS responses to return DBInstanceArn
2017-03-13 16:48:22 -04:00
Andrew Garrett
b9ea947aa0
Add ListHostedZonesByName
2017-03-13 15:27:45 +00:00
Steve Pulec
cda553abfb
Change tests to use default server port of 5000.
2017-03-12 21:04:19 -04:00
Steve Pulec
abe0460dc7
Merge branch 'master' into dashboard
2017-03-11 22:45:45 -05:00
Steve Pulec
1709208872
First version of dashboard.
2017-03-11 22:45:42 -05:00
Steve Pulec
b2a360aaf7
Remove old boto sns test in favor of boto3 test.
2017-03-11 21:03:03 -05:00
Steve Pulec
896f040fca
Fix sqs tests for server mode.
2017-03-05 10:09:19 -05:00
Steve Pulec
3b4ef2cf15
Merge in master.
2017-03-05 09:58:39 -05:00
Andrew Garrett
e7735c3ee1
Add event IDs to CF Stack events ( #852 )
...
So that events can be uniquely identified.
I tried to match the format documented here:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-listing-event-history.html
2017-03-04 23:12:55 -05:00
Andrew Garrett
f6465df630
Return CF Stack events in reverse chronological order ( #853 )
...
This is how the AWS API works:
http://boto3.readthedocs.io/en/latest/reference/services/cloudformation.html#CloudFormation.Client.describe_stack_events
2017-03-04 23:00:25 -05:00
Léo Cavaillé
9b6d3983d2
iam: add group policy methods ( #849 )
...
Implemented mocks for:
* get_all_group_policies
* list_group_policies (boto3)
* get_group_policy
* put_group_policy
2017-03-04 22:56:36 -05:00
Chris LaRose
56f9409ca9
Use request URL to generate SQS queue URLs; fixes #626 ( #827 )
2017-03-04 22:53:14 -05:00
William Richard
f46a24180f
Cast desired capacity for cloudformation asg to int ( #846 )
...
Cloudformation passes MaxSize, MinSize and DesiredCapacity as strings, but
we want to store them as ints. Also includes tests of this fix, to help
avoid regression.
2017-03-04 22:51:01 -05:00
David Wilcox
a9554924df
make cloudformation update stack use parameters provided ( #843 )
2017-03-04 22:48:51 -05:00
Andy Freeland
783242b696
Elastic IP PhysicalResourceId should always be its public IP ( #841 )
...
According to the [CloudFormation `Ref` docs][docs], the `Ref` return
value (and physical ID of the resource) for an Elastic IP is its public
IP address.
[docs]: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html
2017-03-04 22:40:43 -05:00
Andy Freeland
a30ba2b597
EC2 tags specified in CloudFormation should be applied to the instances ( #840 )
...
Fixes #839 .
2017-03-04 22:37:53 -05:00
David Wilcox
8d737eb59d
Route53: allow hosted zone id as well when creating record sets ( #833 )
...
* add test that creates r53 record set from hosted zone id (not name)
* pass test to enable creating record sets by hosted zone ids
2017-03-04 22:31:45 -05:00
Guy Templeton
7d75c3ba18
Feat: ECS container status updating ( #831 )
...
* Uptick boto3 version to version supporting ECS container instance state changes
* Add initial status update
* Only place tasks on active instances
* PEP8 cleanup
2017-03-04 22:30:36 -05:00
David Wilcox
bcc3e57949
Cloudformation ResourceMaps incorrectly share namespaces for Conditions and Resources ( #828 )
...
* add tests to check CF's conditions and resources have distinct namespace
* separate the resource and condition namespaces for CF
2017-03-04 22:26:23 -05:00
Steve Pulec
1287d53817
Fix tests for py26 and py3.
2017-02-27 20:53:57 -05:00
Steve Pulec
a22caf27ab
Cleanup sns default topic.
2017-02-27 10:20:53 -05:00
Steve Pulec
3c0c4c2996
Fix tests for py3.
2017-02-23 22:28:09 -05:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
1433f28846
Update s3 test.
2017-02-23 19:50:34 -05:00
Steve Pulec
81836b6981
Get standalone server mode working for all tests.
2017-02-23 19:43:48 -05:00
Steve Pulec
fe46b4c5b9
Remove extra line in test.
2017-02-20 15:50:49 -05:00
Steve Pulec
51df02e7cf
Cleanup Server host parsing.
2017-02-20 14:31:19 -05:00
Steve Pulec
cad185c74d
Cleanup headers and encoding.
2017-02-16 22:51:04 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Steve Pulec
9076e48fee
Fix sqs tests region.
2017-02-11 19:50:26 -05:00
Steve Pulec
2d03182ae2
Migrate some sqs tests to boto3.
2017-02-11 19:41:09 -05:00
Jack Danger
53fbd7dca0
KMS encryption under Python 3 ( #826 )
...
This upgrades the KMS encrypt and decrypt endpoints to work
under both Python 2 and 3
2017-02-09 22:36:24 -05:00
David Wilcox
012dd497f2
make get_all_security_groups filter AND match group ids, not OR them ( #822 )
2017-02-08 21:29:37 -05:00
Jason DeTiberus
1045dca7b2
make instanceTenancy configurable for VPCs ( #819 )
...
* make instanceTenancy configurable for VPCs
* fix issue with setting tenenancy
2017-02-08 21:23:49 -05:00
Stefan Nordhausen
1a01bae74e
Implement list_objects_v2() for S3 buckets ( #814 )
...
This adds/fixes the following things:
- Add missing KeyCount in result (fixes #734 ).
- Do not hard code MaxKeys to 1000.
- Truncate result if it has more than MaxKeys items. Set IsTruncated
and NextContinuationToken accordingly.
- Support the StartAfter parameter.
- Return Owner information only when FetchOwner=True is given.
- "Prefix" in response is now "" instead of None when omitted in request.
- "Delimiter" is now omitted from response when not given in request.
2017-02-08 21:21:43 -05:00
Jesse Szwedko
e1260bca06
cloudformation: Support RoleARN for create and update stack ( #807 )
...
Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 22:59:47 -05:00
Jesse Szwedko
f68b2963db
sts: Implement get_caller_identity ( #806 )
...
Return a canned response
Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 22:59:04 -05:00
Jesse Szwedko
55f39265dd
Upgrade to boto 2.45 ( #803 )
...
Adds support for additional regions:
* ca-central-1
* eu-west-2
Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 22:55:22 -05:00
Steve Pulec
82bc502cf7
Fix assert_raises for catching parents of exceptions.
2017-01-18 22:46:51 -05:00
Akhter Ali
2bf85fe25d
Fix Route53 response and tests ( #804 )
...
* Fix route53 response \n Fix route53 tests
* Fixing index
* fix zone ID on test_route53_with_update
2017-01-18 21:40:04 -05:00
costypetrisor
a967ec0d39
made the Security Group backend throw the same error as AWS if the nb of sec groups limit is hit ( #742 )
...
* made the Security Group backend throw the same error as AWS if the security group limit is hit
* included in the security group limit the count of grants to other security groups & updated the unit tests to cover these
* refactored a few things about the sec group rule count limit
2017-01-18 21:37:55 -05:00
Jesse Szwedko
d42432bfef
IAM: raise error if requiested instance profile does not exist ( #802 )
...
Signed-off-by: Andrew Harris <andrew.harris@getbraintree.com>
2017-01-18 21:36:50 -05:00
Steve Pulec
a292150087
Throw exception if same security group rule added twice. Closes #737 .
2017-01-11 22:35:27 -05:00
Michael Nussbaum
74bbd9c8e5
Various RDS, RDS/Cloudformation, RDS/KMS improvements. ( #789 )
...
We need to mock out deploying RDS instances with full disk encryption
and detailed tagging. We also need to be able do deploy these instances
with Cloudformation, and then access them with both boto and boto3.
* Join RDS and RDS2 backends - this makes RDS resources created via
either of the two boto RDS APIs visible to both, more closely
mirroring how AWS works
* Fix RDS responses that were returning JSON but should be returning XML
* Add mocking of RDS Cloudformation calls
* Add mocking of RDS full disk encryption with KMS
* Add mocking of RDS DBParameterGroups
* Fix mocking of RDS DBSecurityGroupIngress rules
* Make mocking of RDS OptionGroupOptions more accurate
* Fix mocking of RDS cross-region DB replication
* Add RDS tag support to:
* DBs
* DBSubnetGroups
* DBSecurityGroups
Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2017-01-11 21:02:51 -05:00
Steve Pulec
201efd5773
Fix bug with listing IAM users.
2017-01-11 20:54:47 -05:00
Jia Chen
2a02259a3c
Adding PolicyType to scaling policy and implementing filtering in describe_policies ( #797 )
...
* Adding PolicyType to FakeScalingPolicy
* Implement filtering for AutoScalingBackend.describe_policies(...)
* Unit test for describe_policies fuction in autoscaling
2017-01-11 20:40:57 -05:00
Taro Sato
02324ad708
Add more availability regions and implement default VPC ( #773 )
...
Fix filter name for availability zone
Fix bug assuming dict keys are ordered
Fix tests
Fix tests
Fix bug
2017-01-11 20:37:57 -05:00
Hugo Lopes Tavares
b5ff3345be
Add service ARNs support to the DescribeServices
ECS API ( #796 )
2016-12-20 10:37:49 -05:00
Hugo Lopes Tavares
0115267f2a
Add ECS CloudFormation support ( #795 )
...
* Add cloudformation support to AWS::ECS::Cluster
* Add CloudFormation support to AWS::ECS::TaskDefinition
* Add CloudFormation support to AWS::ECS::Service
* Add support to update AWS::ECS::Cluster through CloudFormation
* Fix Cluster.update_from_cloudformation_json to return original_resource if nothing changed
* Implement TaskDefinition.update_from_cloudformation_json
* Implement Service.update_from_cloudformation_json
2016-12-20 10:37:18 -05:00
Steve Pulec
a39f30ad18
Fix merge conflicts.
2016-12-03 19:40:39 -05:00
Rob Walker
ed0e81fc61
Fixup lambda for ResponseRequest ( #781 )
...
* Fixup lambda for ResponseRequest
* one day will get this right
2016-12-03 18:17:15 -05:00
mfranke
5dc8e59fab
Fix s3bucket_path ( #784 )
...
* check HTTP header for IPv4 or IPv6 addresses and default to path based S3
* improved IPv4 and IPv6 checking with optional ports
* typo
* subdomain bucket creation with trailing '/' did not work
* Use regex for Host field check to determine IPv4/IPv6
* add testcases for trailing slash, IPv4 and IPv6
2016-12-03 18:15:24 -05:00
Tom V
c54985a39f
Fix for #748 . Turn on autoescape for S3 templates. ( #779 )
2016-12-03 18:13:24 -05:00
Paul Cieslar
ee8e72766a
Support for ecs describe_task_definition ( #777 )
...
* describe_task_definition support
* Refactor fetch_task_definition
* Add ECS Descriptors (#772 )
* Add support for "DescribeServices" in ecs mock
* Add support for "DescribeTaskDefinition" in ecs
* Let ecs responses handle baseobject for services
* Update Cloudformation/parsing#load_parameters to split commadelimitedlists into lists (#774 )
* Fix JSON dump error in ecs.update_service with task_definition (#775 )
* Fix s3bucketpath handling for IP based requests (#765 )
* check HTTP header for IPv4 or IPv6 addresses and default to path based S3
* improved IPv4 and IPv6 checking with optional ports
* typo
* Freezetime.
* Add S3 ACL for aws-exec-read. Closes #740 .
* Fixed time formatting in ec2/models.py (#778 )
* Fixed time formatting in ec2/models.py
* Used freezegun on test that was failing due to time progression causing timestamp differences.
* rename duplicate rds/models db_instance_identifier to physical_resource_id (#776 )
* rename duplicate db_instance_identifier to physical_resource_id
* Update create_from_cloudformation_json to use db_source_identifier str
* Update code to be more conventional.
* describe_task_definition support
* Refactor fetch_task_definition
2016-12-03 18:12:22 -05:00
Justin Wiley
6c85a85e0d
Removed OrderedDicts for 2.6 and dict.iteritems() calls for 3.3+ compatibility.
2016-12-01 19:10:59 -08:00
Justin Wiley
db0b494b4f
Completed the CloudWatch Events mocking module and tests.
2016-12-01 17:23:51 -08:00
Steve Pulec
1b4bb156e4
Freezetime.
2016-11-23 19:23:47 -06:00
Pior Bastida
09ca1c4388
Fix JSON dump error in ecs.update_service with task_definition ( #775 )
2016-11-23 19:01:48 -06:00
Robert Sheehy
17584e9aa4
Add ECS Descriptors ( #772 )
...
* Add support for "DescribeServices" in ecs mock
* Add support for "DescribeTaskDefinition" in ecs
* Let ecs responses handle baseobject for services
2016-11-23 18:56:12 -06:00
Steve Pulec
05c6fc6738
Fix tests for py3.
2016-11-11 17:22:45 -05:00
Sean Marlow
fa3663c610
Add support for login profile deletion ( #768 )
...
* Add support for delete_login_profile.
Mock deletion of login profile. Set password to
none. Add tests to cover new endpoint.
* Fix typo in create_login_profile response.
Change CreateUserResult to CreateLoginProfileResult
in the CREATE_LOGIN_PROFILE_TEMPLATE. Caused KeyError
when using boto3.
Add test to cover boto3 in addition to boto.
2016-11-11 17:05:01 -05:00
Nuno Santos
71c1fbadbe
Add DynamoDB tests for update_item() with UpdateExpression, support spaces in the UpdateExpression. ( #758 )
...
Fixes #745 .
2016-11-11 17:04:14 -05:00
Mike Pappas
4942e74ab1
Fix SNS application endpoint to match AWS return format ( #763 )
2016-11-11 17:01:47 -05:00
Steve Pulec
5c3d9b4ae1
Have spot requests launch instances.
2016-11-07 23:08:30 -05:00
Steve Pulec
5371044b6f
Spot fleet ( #760 )
...
* initial spot fleet.
* Add cloudformation spot fleet support.
* If no spot fleet ids, return all.
2016-11-07 09:53:44 -05:00
Steve Pulec
38021c6ef5
Test Boto 2.43.0 .
2016-11-06 10:29:50 -05:00
Steve Pulec
3b98566f20
Merge pull request #757 from nfvs/dynamodb_putitem_conditional
...
Attempt to parse simple ConditionExpressions in DynamoDB put_item().
2016-11-06 09:53:45 -05:00
Steve Pulec
44636d1f73
Merge pull request #755 from dtenenba/master
...
bump tag limit from 10 to 50 to align with actual AWS limit
2016-11-06 09:52:20 -05:00
Steve Pulec
721d1b3a3f
Merge pull request #736 from okomestudio/ts/botocore_update
...
Remove botocore version pinning
2016-11-06 09:50:28 -05:00
Steve Pulec
2fdc5498b5
Merge pull request #744 from helenst/scan-after-has-item
...
Fix failure of scan() after has_item()
2016-11-06 09:45:12 -05:00
Steve Pulec
ee369de3ef
Merge pull request #741 from costypetrisor/sec-group-authorize-revoke-in-batch
...
Sec group authorize revoke in batch
2016-11-06 09:40:16 -05:00
Steve Pulec
ac89403807
Merge pull request #738 from okomestudio/ts/more_iam_endpoints
...
Implement IAM managed policy
2016-11-06 09:39:22 -05:00
Nuno Santos
bfc664cca8
Add additional put_item test with an attribute_exists
condition.
2016-11-04 13:29:53 +01:00
Nuno Santos
74b56faafd
Attempt to parse simple ConditionExpressions in DynamoDB put_item().
...
Internally these get converted into simpler Expected={} parameters, so
for now only `attribute_exists` and `attribute_not_exists` are supported;
OR is also not suported since `expected` does not support it.
2016-11-04 12:37:10 +01:00
Dan Tenenbaum
ed7ea86f7b
add positional argument for python 2.6 compatiblity
2016-11-03 14:42:23 -07:00
Dan Tenenbaum
de0a741309
syntax fix
2016-11-03 14:30:35 -07:00
Dan Tenenbaum
ffa6b1d9c1
should pass unit tests
2016-11-03 14:24:47 -07:00
Taro Sato
5538b541a8
Fix a bug with map type not properly handling multiple entries
2016-10-31 11:29:39 -07:00
Helen Sherwood-Taylor
08d07fed30
Fix failure of scan() after has_item()
...
Fixes #731
2016-10-25 17:09:39 +01:00
Costy Petrisor
8689b40d23
made the security group endpoints that authorize or revoke firewall rules
...
to support batch rules (boto doesn't expose this, but botocore/boto3 does)
2016-10-20 19:34:11 +00:00
Costy Petrisor
6f622b9689
an unit test for the bulk authorization and revokation of security group
...
rules
2016-10-20 18:14:22 +00:00
Taro Sato
159a81723c
Implement IAM managed policy.
...
This requires boto 2.39 for managed policy tests
2016-10-20 10:07:41 -07:00
Taro Sato
484faa54c4
Implement filters and pagers for some EMR end points
2016-10-20 10:03:17 -07:00
Taro Sato
ed91b093cd
Ignore RetryAttempts field generated by recent botocore versions
2016-10-16 21:50:21 -07:00
Taro Sato
b632df3aa4
Generate proper empty value for XML/JSON
2016-10-16 21:49:10 -07:00
Steve Pulec
2e33e2be90
Merge pull request #735 from rocky4570/dryrun-ec2
...
Add dry_run to a number of EC2 services
2016-10-16 19:14:57 -04:00
Steve Pulec
5dbb22265c
Merge pull request #732 from JackDanger/jack/implement-kms-encryption
...
Implementing KMS encrypt/decrypt
2016-10-16 19:12:43 -04:00
rocky4570fft
95e9ce2d42
fixup merge issue with test_elastic_ip_addresses.py
2016-10-16 00:37:14 +10:00
rocky4570fft
d6f76cbb43
Add dry_run to a number of EC2 services
2016-10-16 00:34:52 +10:00
rocky4570fft
015c92ac44
Add dry_run to a number of EC2 services
2016-10-15 23:08:44 +10:00
Jack Danger Canty
ea24376131
Implementing KMS encrypt/decrypt
...
This adds support for testing the /encrypt and /decrypt endpoints
of Amazon KMS
2016-10-14 01:04:14 -07:00
Taro Sato
7cd404808b
Better EMR coverage and boto3 request/response handling
...
This revision includes:
- A handler for requests for which content-type is JSON (from boto3).
- A decorator (generate_boto3_response) to convert XML responses to
JSON (for boto3). This way, existing response templates for boto can
be shared for generating boto3 response.
- Utility class/functions to use botocore's service specification data
(accessible under botocore.data) for type casting, from query
parameters to Python objects and XML to JSON.
- Updates to response handlers/models to cover more EMR end points and
mockable parameters
2016-10-13 16:48:07 -07:00
Steve Pulec
27f1bece9b
Fix assigning public ip to instances. Closes #729 .
2016-10-12 22:02:13 -04:00
Rene Martin
bd9e7deb95
Merge branch 'master' of https://github.com/spulec/moto
2016-10-10 07:47:11 +01:00
Steve Pulec
fef3437db2
Throw error on terminating empty instance list. Closes #697 .
2016-10-09 21:20:53 -04:00
Steve Pulec
ddf2f5a754
Fix firehose to work without Redshift config.
2016-10-09 20:24:09 -04:00
Steve Pulec
768a58671a
Merge pull request #723 from rocky4570/awslambda-mods
...
lambderize the moto lambda
2016-10-09 19:13:02 -04:00
Steve Pulec
b3b538bbef
Merge pull request #721 from rocky4570/kms-fixes
...
Add ARN and Alias functionality to KMS
2016-10-09 19:01:26 -04:00
Steve Pulec
81d489ce46
Merge pull request #710 from kryptek/master
...
Fix Route53 tagging code
2016-10-09 18:58:17 -04:00
Steve Pulec
f7ea66c248
Merge pull request #711 from skygeo/fix_dynamodb2_conditions
...
fix: dynamodb2 conditions
2016-10-09 18:55:38 -04:00
rocky4570fft
dc98cf6f64
argh 2 days trying to work python3 into working python2 :(
2016-10-10 01:13:52 +10:00
Rene Martin
b06d439a81
Set the right dhcp_options id in the response
...
If the vpc has a dhcp_options associated with it the response should
include the right association.
2016-10-08 10:34:55 +01:00
rocky4570fft
7c3005e582
attmpt 2 to resolve StringIO not being within Python 3 anymore
2016-10-07 00:14:47 +10:00
rocky4570fft
6c577091da
lambderize the moto lambda
2016-10-06 19:52:23 +10:00
rocky4570fft
3a7fec4032
Add ARN and Alias functionality to KMS
2016-10-03 01:33:59 +11:00
Georges Chaudy
6b74487b31
fix: dynamodb2 conditions
2016-09-23 16:14:17 +01:00
Alfred Moreno
40ad92b4bc
Add a unit test to make sure multiple tags were actually associated with a resourceId
2016-09-22 18:44:07 -07:00
Steve Pulec
79fe9df6cc
Merge pull request #706 from kryptek/add-route53-tagging
...
Add support and unittests for Route53 tags
2016-09-21 21:32:22 -04:00
Alfred Moreno
9a7556b3af
Add support and unittests for Route53 tags
2016-09-20 17:41:23 -07:00
Taro Sato
bdb9d59e46
Update response headers with response_dict from key; add tests
2016-09-20 15:42:21 -07:00
Steve Pulec
ea0b587791
Merge pull request #699 from tootedom/apigateway
...
added more api gateway coverage
2016-09-16 18:34:27 -04:00
dominictootell
dd85f35f5a
don't set cacheClusterSize if cache not enabled
2016-09-14 10:04:51 +01:00
Steve Pulec
fca0d3885b
Merge pull request #698 from SpoonMeiser/fix-trailing-slash
...
Stop stripping the trailing slash off keys listed from s3 buckets
2016-09-13 21:57:03 -04:00
Steve Pulec
59be70d0e4
Merge pull request #693 from swipetospin/master
...
ALWAYS use utcnow(), never now()
2016-09-13 21:55:40 -04:00
Steve Pulec
4d9a0f7dc6
Merge pull request #692 from imran2140/fix-unicode-s3-key-listing
...
Fix unicode S3 key listing in Python 2
2016-09-13 21:54:28 -04:00
Steve Pulec
8a92cc2924
Merge pull request #689 from michael-dev2rights/master
...
Make testing a bit safer binding to 127.0.0.1
2016-09-13 21:53:13 -04:00
Steve Pulec
65047ce102
Merge pull request #687 from skygeo/ecs_tasks
...
Add support for ECS tasks
2016-09-13 21:51:42 -04:00
dominictootell
1aaafc5f07
added more api gateway coverage
...
added: get_stages, stage not found exception, update stage configuration, descriptions on deployments, setting stage variables on deployments and stage creating
2016-09-13 12:44:17 +01:00
Oliver Jeeves
b297b1410c
Stop stripping the trailing slash off keys listed from s3 buckets
...
fixes #684
2016-09-13 12:21:22 +01:00
Collin RM Stocks
1b65c45b56
ALWAYS use utcnow(), never now()
2016-09-07 14:40:52 -04:00
imran
478e791c39
Fix unicode S3 key listing in Python 2
2016-09-04 04:31:03 +06:00
Michael De La Rue
9062c654cf
Hopefully break build by testing for local only default server
2016-09-01 12:05:34 +01:00
Georges Chaudy
dc75e5d6ad
add ecs tasks methods
2016-08-30 00:26:13 +01:00
Steve Pulec
ea319698aa
Merge pull request #669 from netors/feature/implement-iam-list-users-for-boto3
...
implemented iam list users (Closes #668 )
2016-08-27 21:13:53 -04:00
Steve Pulec
0a11db6a8c
Merge pull request #686 from mervynrussell/feature/ami_creation_date
...
Feature/ami creation date
2016-08-27 21:06:13 -04:00
Steve Pulec
18b6197bf2
Merge pull request #674 from IlyaSukhanov/master
...
Preserve Namespace and MetricName when creating cloudwatch alarm.
2016-08-27 21:05:31 -04:00
Mervyn Russell
43ff874b68
Amended test_ami_create_and_delete to include test for existence of creation date
2016-08-26 15:14:04 +01:00
Waldemar Hummer
db275a1573
initial support for apigateway stages, in particular the update_stage method
2016-08-22 13:36:19 +10:00
Steve Pulec
e92a8b7492
Merge pull request #680 from SplunkStorm/setup_s3_cfn_parsing
...
Setup s3 cfn parsing
2016-08-19 17:29:58 -04:00
Steve Pulec
18d1bb1079
Merge pull request #681 from ronin13/queue-arn
...
Use region from ctor to set queue_arn.
2016-08-19 17:29:01 -04:00
Steve Pulec
811c95381a
Merge pull request #679 from phobologic/master
...
Causes get_server_certificate to fail correctly
2016-08-19 17:28:31 -04:00
Steve Pulec
346c094007
Merge pull request #676 from whummer/feature/apigateway-req-templates
...
Add support for requestTemplates parameter in apigateway integrations mock
2016-08-19 17:26:45 -04:00
Raghavendra Prabhu
34a28b0fd5
Use region from ctor to set queue_arn.
...
Without this, any region passed to boto3.resource is ignored and unit
tests depending on it break.
2016-08-17 22:12:00 +01:00
Declan Shanaghy
e8d245f6a1
Fix tests for python3
2016-08-15 12:36:39 -07:00
Declan Shanaghy
659efe1c21
Add tests
2016-08-15 11:28:07 -07:00
Michael Barrett
4bfbcf4d03
Causes get_server_certificate to fail correctly
...
When no certificate with the name exists, the API should return a 404
(NoSuchEntity).
2016-08-14 17:40:39 -07:00
rocky4570fft
0161422d21
additional filters to get_all_vpcs
2016-08-14 16:58:35 +10:00
Waldemar Hummer
5075f6684f
add support for requestTemplates parameter in apigateway mock
2016-08-10 13:55:59 +10:00
Ilya Sukhanov
a37838b638
Preserve Namespace and MetricName when creating cloudwatch alarm.
2016-08-01 17:31:08 -04:00
Ernesto Ruy Sanchez
9c587ec6b1
added assert response returns Users
2016-07-25 08:59:57 -07:00
Steve Pulec
ae938223d4
Cleanup headers popping.
2016-07-24 09:50:39 -04:00
Steve Pulec
8e8f3d99f6
Merge pull request #655 from 2rs2ts/work-around-httpheaders
...
Remove HTTPHeaders from ResponseMetadata in some tests
2016-07-24 09:36:58 -04:00
Steve Pulec
ececa8009b
Merge pull request #665 from macheins/fix-broken-sqs-queue-arn-attribute
...
Fix broken SQS QueueArn attribute
2016-07-24 09:28:47 -04:00
Steve Pulec
d20906fcd7
Merge pull request #622 from nfvs/boto3_get_queue
...
Fix retrieving inexistent queue errors when using boto3
2016-07-24 09:18:32 -04:00
Andrew Gross
b4176050e2
Add volume attachment status
2016-07-22 14:23:42 -04:00
Ernesto Ruy Sanchez
e84dad6509
implemented iam list users
2016-07-20 15:12:02 -07:00
macheins
b152996ddf
Changed unit test to reflect changes
2016-07-19 14:20:33 +02:00
Nuno Santos
8ffd4e51ec
Fix retrieving inexistent queue errors when using boto3.
...
Handle 404 errors when trying to retrieve a SQS queue that does not
exist. Add get_queue and get_inexistent_queue tests for boto3.
2016-07-16 12:09:34 +01:00
Steve Pulec
1c8458080a
Merge branch 'lambda_invoke' of https://github.com/mikegrima/moto into mikegrima-lambda_invoke
2016-07-09 21:29:41 -04:00
Steve Pulec
9d281844cd
Merge pull request #661 from braintreeps/fix-s3-errors
...
Update format of S3 client errors
2016-07-09 21:12:57 -04:00
Steve Pulec
3e797d9c50
Merge pull request #658 from kierandoonan/master
...
Add encrypted attribute to Volumes/Snapshots
2016-07-09 21:11:52 -04:00
Steve Pulec
c34481a476
Merge pull request #659 from kierandoonan/fix-tag-filter
...
Fix tag filter
2016-07-09 21:11:12 -04:00
Steve Pulec
84d0c44bd3
Merge pull request #653 from 2rs2ts/describe-stack-events
...
Add CloudFormation:DescribeStackEvents
2016-07-09 21:09:37 -04:00
Steve Pulec
219ed703fb
Merge pull request #645 from paulci/describe_security_groups_boto3
...
Support Filters in describe_security_groups() for boto3
2016-07-09 20:56:43 -04:00
Jesse Szwedko
ef10df0636
Update format of S3 client errors
...
To match
http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses
which documents that it should be at the top level rather than nested
under `Errors`.
2016-07-08 19:32:34 +00:00
Kieran Doonan
5f770ffabb
added more wildcard test for tags
2016-07-05 11:31:47 +01:00
Kieran Doonan
20e00dd095
added tests for broken tag filter
2016-07-05 11:20:28 +01:00
Kieran Doonan
e9af4c9065
changed equal to be for booleans
2016-07-04 14:21:31 +01:00
Kieran Doonan
2d73052eef
added tests for encrypted snapshots
2016-07-04 14:19:29 +01:00
Kieran Doonan
bf73cb603d
added tests for unencrypted filter
2016-07-04 14:09:15 +01:00
Kieran Doonan
8ccc210eef
added tests for encrypted ec2 volumes
2016-07-04 11:01:48 +01:00
Andrew Garrett
aab137ae66
Remove HTTPHeaders from ResponseMetadata in some tests
...
botocore 1.4.29 started adding this. I'd match against it, but it
contains a date object and it's just not worth rewriting the assertions
for a key-by-key approach.
2016-06-29 23:45:21 +00:00
Andrew Garrett
542248158f
Implement the meat for DescribeStackEvents
...
Right now this just adds events for the stack itself via the lifecycle
methods of the FakeStack object, but it is possible to add other kinds
of events (I left a method for that should someone need inspiration
later.)
2016-06-29 21:56:39 +00:00
Paul Cieslar
8e6dd13738
Addition of region to test_security_group_tagging_boto3
2016-06-23 12:38:17 +01:00
Paul Cieslar
35d200c420
Update to test for security group tagging
...
Support for describe_security_groups() in boto3
2016-06-23 12:03:29 +01:00
Mike Grima
bfa079ec4e
Added Lambda invoke capability.
2016-06-22 12:24:46 -07:00
Victor Blaga
cb36a8b10f
Fix dynamodb_v2 update_item tests
...
Update expression has the wrong syntax. Something like :bar denotes a
placeholder which has to be filled by supplying an additional
ExpressionAttributeNames
2016-06-21 17:46:37 +02:00
Steve Pulec
a9e54482fc
Merge pull request #631 from hummus/route53-private-zone-support
...
Route53 private zone support
2016-06-20 15:10:49 -04:00
Steve Pulec
0b8de6772d
Merge pull request #639 from jessechahal/autoscale_update_and_create_tags
...
Autoscale update and create tags
2016-06-17 22:00:22 -04:00
Jesse Chahal
1d2042876e
added update_and_create_tags() to autoscale groups
2016-06-17 18:51:28 -07:00
Steve Pulec
57167b1890
Merge pull request #635 from riccardomc/master
...
Introduce ContainerInstance handling in ECS
2016-06-17 18:06:04 -04:00
Steve Pulec
b6d7260f7f
Merge pull request #634 from SplunkStorm/fix_cfn_error_message_and_delete_stack
...
Fix cfn error message and delete stack
2016-06-17 18:03:23 -04:00
Steve Pulec
ea43f41470
Merge pull request #625 from nfvs/fix_whitespace
...
Strip extra whitespace and newlines from SQS response templates.
2016-06-17 17:51:07 -04:00
Riccardo M. Cefala
27095638d9
map() returns a map object iterable instead of a list in python3
2016-06-15 10:41:34 +02:00
Riccardo M. Cefala
137791e960
add ECS describe_container_instances
2016-06-14 17:58:11 +02:00
Riccardo M. Cefala
262bf07608
add tests for ECS ContainerInstance list and register actions
2016-06-11 12:52:53 +02:00
Hitesh Ghia
d8baa957e9
Fix cfn delete stack functionality
2016-06-09 16:23:55 -07:00
hummus
8fa53c1453
support route53 HostedZone PrivateZone=True #627
2016-06-03 11:10:04 -04:00
Nuno Santos
68eeb5948b
Strip extra whitespace and newlines from SQS response templates.
...
Fixes #623
2016-06-02 12:26:50 +02:00
Matt Long
9b7902018f
Respect VisibilityTimeout when calling receive_message
...
Previously, receive_message would always use the queue's default
visibility timeout instead of the value passed as a query parameter when
calling the receive_message method on an SQS connection.
2016-05-31 15:13:49 -07:00
Steve Pulec
4372c346d9
Merge pull request #618 from mrucci/asg-delete-after-elb
...
ELBs can now be deleted before their autoscaling groups.
2016-05-17 21:02:13 -04:00
Steve Pulec
00becdbed4
Merge pull request #617 from mrucci/elb-duplicate-name-exception
...
Disallow creation of ELBs with duplicate names.
2016-05-17 21:01:45 -04:00
Steve Pulec
d4895d588a
Merge pull request #616 from mnussbaum/cloudformation_kms
...
Adds KMS support to mock_cloudformation
2016-05-17 21:01:12 -04:00
Marco Rucci
a330b1d346
ELBs can now be deleted before their autoscaling groups.
...
Also, fix name clash in autoscaling tests.
2016-05-15 21:17:59 +02:00
Marco Rucci
e47fc4cafc
Disallow creation of ELBs with duplicate names.
2016-05-15 20:04:00 +02:00
mnussbaum
01e5c3a384
Adds KMS support to mock_cloudformation
2016-05-13 21:36:24 +00:00
Yann Lambret
52a5346c9e
Add support for VPC attributes management, and fix a bug about the default - not default status of a VPC
2016-05-12 22:36:09 +02:00
Steve Pulec
bd7327fca2
Fix issues around S3 deletion. Closes #606 .
2016-05-08 17:14:35 -04:00
Steve Pulec
5415091d14
Merge pull request #608 from yannlambret/add-filtering-to-network-interfaces
...
Extend filtering support for elastic network interfaces
2016-05-08 16:41:22 -04:00
Yann Lambret
864594ab91
Add tests for new filters
2016-05-08 00:19:47 +02:00
Steve Pulec
196e5a7d8d
Fix dynamodb2 comparisons. Closes #601 .
2016-05-05 23:39:14 -04:00
Steve Pulec
79addb8926
Add S3 functionality to copy range. Closes #526 .
2016-05-05 22:52:12 -04:00
Steve Pulec
6803444d61
Fix Dynamodb table key name. Closes #524 .
2016-05-05 22:14:23 -04:00
Steve Pulec
68de6feb01
Add iam remove_role_from_instance_profile. Closes #563 .
2016-05-04 22:25:46 -04:00
Steve Pulec
8ce2d3c8bf
Cleanup updating ASGs. Closes #603 .
2016-05-04 22:10:11 -04:00
Michael van Tellingen
d34dd5b08a
Implement support for sns delete_endpoint()
2016-05-02 14:34:51 +02:00
Steve Pulec
c308ef4364
Fix update_auto_scaling_group. Closes #596 .
2016-05-01 22:34:16 -04:00
Steve Pulec
0a10b2f738
Fix issues with unicode and slashes for S3. Closes #521 .
2016-05-01 22:03:52 -04:00
Dan Felix
ebb00a3bfe
Test key head version_id support using boto3's head_object.
2016-04-28 13:17:33 -07:00
Jesse Szwedko
6928501973
Throw exception if an update is attempted on a stack in ROLLBACK_COMPLETE
...
If a stack has a status of ROLLBACK_COMPLETE and you attempt to update
it, the AWS API throws a validation error. This updates moto to have the
same behvaior. We also uncommented a test which tests updating a stack
which passed without any additional modification -- it is unclear why
this test was commented.
Signed-off-by: Jack Lund <jack.lund@getbraintree.com>
2016-04-28 09:30:42 -04:00
Steve Pulec
a600deb96a
Fix merge conflicts and add EC2 Instance delete. Closes #576 .
2016-04-28 09:22:31 -04:00
George Leslie-Waksman
0ed7d1bb71
Add support for src_version_id to bucket copy_key op.
2016-04-27 17:08:44 -07:00
Adam Romanek
b32fbf090a
Fix security group ingress authorization for all protocols with no port spec
2016-04-26 11:00:04 +02:00
Steve Pulec
ecbb714757
Merge pull request #584 from minyoung/upsert-route53
...
Adding support for UPSERT'ing route53 records
2016-04-23 19:43:52 -04:00
Steve Pulec
6be53cf8c2
Merge pull request #594 from yannlambret/fix-security-groups
...
Fix security groups
2016-04-23 19:43:19 -04:00
Steve Pulec
224e92ba17
Merge pull request #592 from aiell0/hotifx/add-additional-instance-filters-issue-581
...
Added ec2 describe-instances filter: 'architecture'
2016-04-23 19:40:15 -04:00
Steve Pulec
1ff0aa4a65
Merge pull request #591 from vsudilov/feature/opsworks
...
Feature/opsworks
2016-04-23 19:39:34 -04:00
Steve Pulec
b6d5317b18
Merge pull request #590 from aiell0/hotfix/update-stack-response-issue-575
...
Fixes issue #575 : cloudformation update_stack response ResponseParser…
2016-04-23 19:38:11 -04:00
Steve Pulec
419859b9be
Merge pull request #585 from SplunkStorm/fix_s3_delete_path_rebase2
...
Fix multiple bugs encountered with boto3
2016-04-23 19:37:19 -04:00
Steve Pulec
1b4a9bd553
Merge pull request #588 from dhepper/elb_vpcs
...
Improved the ELBBackend
2016-04-23 19:34:40 -04:00
Yann Lambret
232b832563
Change type for IpProtocol key
2016-04-20 23:21:39 +02:00
Yann Lambret
f9267cff6c
Fix egress rules management to autorize or revoke a security group
2016-04-20 23:01:09 +02:00
Yann Lambret
de68c94a0a
Add the default outboud rule for security groups
2016-04-19 23:50:46 +02:00
Lawrence Aiello
cf529ec3f9
Filter dicts have not been implemented in Moto for '%s' yet - mock_ec2
2016-04-18 16:41:57 -04:00
Vladimir Sudilovsky
768f1adb4f
opsworks: py2.6 compat str.format
2016-04-18 16:36:30 -04:00
Vladimir Sudilovsky
3a8268fd56
opsworks/tests: add missing region_name='us-east-1' in client init
2016-04-18 16:08:08 -04:00
Vladimir Sudilovsky
9ce1890f35
opsworks/tests: init boto3.client with region_name='us-east-1'
2016-04-18 16:03:13 -04:00
Vladimir Sudilovsky
1ce22068ea
opsworks: impl start_instance, describe_instances
2016-04-18 15:44:21 -04:00
Lawrence Aiello
3017181862
Fixes issue #575 : cloudformation update_stack response ResponseParserError.
2016-04-18 14:37:12 -04:00
Vladimir Sudilovsky
09ca1b6e0c
opsworks: impl create_instance
2016-04-15 15:44:38 -04:00
Vladimir Sudilovsky
2fe5b77861
opsworks: impl create_layers; describe_layers
2016-04-14 16:28:53 -04:00
Vladimir Sudilovsky
165bab0f97
opsworks: implement create_stack
2016-04-14 10:37:13 -04:00
Daniel Hepper
105ba83835
Fix an assertion that was always true
2016-04-14 15:51:32 +02:00
Daniel Hepper
6eee995dcf
Honor Tags when creating a load balancer
2016-04-14 15:50:51 +02:00
Daniel Hepper
35a60fbf49
Removed unwanted whitespace
2016-04-14 14:48:57 +02:00
Daniel Hepper
ce3fdaa012
Implemented subnet handling in ELB backend
...
The ELB backend now honors the Subnets parameter in CreateLoadBalancer calls. When a load balancer is created with subnets, the VPC is also set to the VPC of the subnets.
2016-04-14 14:43:03 +02:00
Yann Lambret
c793e0a23d
Filtering implementation for DHCP options sets
2016-04-13 23:19:46 +02:00
Declan Shanaghy
b152c00642
Fix multiple bugs encountered with boto3
...
* Fix path detection for deleting keys in S3 bucket
* Fix stack deletion ensure delete method exists on object
* Previous tests were using a stack with no resources
* Fix DESCRIBE_STACK_RESOURCES_RESPONSE,
* Previously untested code path
2016-04-12 13:58:17 -07:00
Min-Young Wu
826ba82f6e
Adding support for UPSERT'ing route53 records
2016-04-12 10:51:21 -07:00
Yann Lambret
6d4a48b019
Add support for 'ModifySubnetAttribute' action
2016-04-05 00:17:56 +02:00
Steve Pulec
fecbeb28a4
Merge pull request #567 from im-auld/query-filters-issue-164
...
Query filters issue 164
2016-03-28 23:52:49 -04:00
Ian Auld
cc1dee03f5
Reorganized tests
2016-03-16 21:32:54 -07:00
Lars Fronius
519b8e59aa
Propagate stack-level tags to resources
...
According to
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
"All stack-level tags, including automatically created tags, are
propagated to resources that AWS CloudFormation supports. Currently,
tags are not propagated to Amazon EBS volumes that are created from
block device mappings."
2016-03-15 15:36:02 +01:00
Ian Auld
56425c9479
Added tests for index comparisons
2016-03-14 09:39:03 -07:00
Steve Pulec
66032ad37c
Merge pull request #560 from jstewmon/boto3-ses
...
update SES backend to support domain identities and multiple recipients
2016-03-10 08:57:29 -05:00
Steve Pulec
f797f17e5c
Merge pull request #561 from andyjones/task/iam-instance-profile-roles
...
Add roles to the list instance profiles response
2016-03-10 08:55:25 -05:00
andy
71358603ac
Add roles to the list instance profiles response
2016-03-10 09:27:52 +00:00
Jonathan Stewmon
fb06c6517e
update SES backend to support domain identities and multiple recipients
...
includes test cases for ses client with boto3
2016-03-09 10:18:50 -06:00
Steve Pulec
aebc7c8ea3
Merge pull request #558 from spulec/apigateway
...
Apigateway
2016-03-05 18:07:20 -05:00
Steve Pulec
88f64deff9
fix py3
2016-03-05 18:01:57 -05:00
Steve Pulec
ba70d8fe8d
implement http integration.
2016-03-05 10:54:19 -05:00
Steve Pulec
95f9b3fb35
add integration responses.
2016-03-05 09:48:37 -05:00
Steve Pulec
e3ff8dc510
Add deployments
2016-03-04 18:35:03 -05:00
Steve Pulec
bd57233b10
add integrations.
2016-03-04 18:02:07 -05:00
Steve Pulec
aaaddf13e8
add integraiton test.
2016-03-02 15:18:11 -05:00
Steve Pulec
d8a277ed55
Merge pull request #555 from yannlambret/fix-describe-route-tables-response
...
Fix a typo in DESCRIBE_ROUTE_TABLES_RESPONSE
2016-03-02 15:10:33 -05:00
Steve Pulec
8f80d0ecaa
Merge pull request #554 from bcavagnolo/master
...
add dynamodb pagination
2016-03-02 15:10:12 -05:00
Yann Lambret
a06fa082a4
Add two tests for both boto and boto3 as the problem only affects boto3 client
2016-03-02 12:15:47 +01:00
Steve Pulec
a737fbed48
create methods
2016-03-01 18:50:06 -05:00
Brian Cavagnolo
6bab725b36
add dynamodb pagination
2016-03-01 15:00:23 -08:00
Steve Pulec
45f92fb4c7
base rest api endpoints.
2016-03-01 12:03:59 -05:00
Hugo Lopes Tavares
c689816337
Add CloudFormation support to NatGateway model
2016-03-01 12:02:57 -05:00
Hugo Lopes Tavares
21fb961c6a
Implement NAT Gateway resource
2016-03-01 12:02:57 -05:00
Steve Pulec
9b0be24b28
Merge pull request #550 from 2rs2ts/boto3-cloudformation
...
Add XML support for cloudformation commands that lacked it
2016-03-01 11:36:23 -05:00
Andrew Garrett
993087f2bb
Fix AutoScalingGroup tags in DescribeAutoScalingGroups
...
I'm not certain that this is the approach that's desired. It'd be nice
to dynamically convert the keys one way or the other. Looking for
feedback.
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:28 +00:00
Andrew Garrett
ec10699c38
Add XML support for cloudformation commands that lacked it
...
This lets boto3's cloudformation API work with moto.
fixes #444
Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
2016-02-29 19:50:23 +00:00
Scott Leishman
3fd33c03bf
boto3 SQS set attributes fix.
2016-02-19 23:32:01 -08:00
Hugo Lopes Tavares
8f586d8637
[lambda] Use S3Key to figure out code size and SHA256
2016-02-17 16:24:17 -05:00
Hugo Lopes Tavares
b8d8844286
[lambda] Renamed test file to follow the convention
2016-02-17 16:16:50 -05:00
Hugo Lopes Tavares
45d91bf963
[lambda] Do not use ZipFile as a context manager (it is not supported in Python 2.6)
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
482751f731
[lambda] Add S3 validation for Code["S3Bucket"] and Code["S3Key"].
...
TODO: validate region.
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
4c10e54a36
[lambda] Add 404 test for DeleteFunction
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
7c36fca1dd
[lambda] Add VpcConfig to the responses
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
5f7ea2b77f
[lambda] Fix HTTP code of CreateFunction
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
5a29ec4986
[lambda] Add support to upload functions with ZipFile
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
9c4d07fb6a
[lambda] Add more meaningful names to tests
2016-02-17 16:13:58 -05:00
Hugo Lopes Tavares
576b9f683c
[lambda] Add CloudFormation support for AWS::Lambda::Function
2016-02-17 16:13:57 -05:00
Hugo Lopes Tavares
bfad9b9ed6
[lambda] Implement ListFunctions, GetFunction, and DeleteFunction
2016-02-17 16:13:57 -05:00
Steve Pulec
b9df567445
Merge pull request #536 from andyjones/task/ec2-placement
...
Support placement when starting new instances
2016-02-14 16:54:05 -05:00
andy
7120b5e4b1
Support placement when starting new instances
2016-02-10 17:59:48 +00:00
Ian Fillion-de Kiewit
0fa7f83270
Fix time checking and tests
2016-02-05 17:33:33 -05:00
Ian Fillion-de Kiewit
d31105889e
Add list_closed_workflow_executions and make validation/filtering on list_open_workflow_executions better
2016-02-05 15:35:46 -05:00
Ian Fillion-de Kiewit
93120927f7
Add list_open_workflow_executions endpoint
2016-02-04 17:14:33 -05:00
Ian Fillion-de Kiewit
129b4faff8
Fix style issues
2016-02-02 14:02:37 -05:00
Steve Pulec
eba9033cc9
cleanup flask paths with trailing slashes.
2016-01-24 17:13:32 -05:00
Steve Pulec
f35986b3fc
Merge pull request #517 from DenverJ/volume_snapshot_filters
...
Add filter for volume-id on volumes.
2016-01-24 16:19:55 -05:00
Denver Janke
ee33ff582c
Add filter for volume-id on volumes.
2016-01-20 12:24:33 +10:00
Steve Pulec
a53a97d136
Cleanup SWF to use HTTP exceptions so that the standalone server will work. Closes #495 .
2016-01-17 18:00:57 -05:00
Steve Pulec
fe090d7bb5
Merge pull request #487 from a1exsh/bugfix/include-load-balancer-name-in-describe-tags-response
...
Fix ELB.describe_tags with multiple LoadBalancerNames.
2016-01-17 16:34:20 -05:00
Steve Pulec
0535f445be
Merge pull request #471 from spulec/combined-s3
...
Combined s3
2016-01-17 16:32:08 -05:00
Steve Pulec
ea097791cb
Merge pull request #512 from kevgliss/sgEgressPermissions
...
Adds support for authorizing and revoking egress permissions
2016-01-17 15:46:53 -05:00
Steve Pulec
9596772546
Merge pull request #510 from pcraciunoiu/feature/dynamodb-add-value
...
Add value and UPDATE fixes
2016-01-17 15:40:07 -05:00
kevgliss
6bc4a8b38a
Adds support for authorizing and revoking egress permissions
2016-01-15 12:36:11 -08:00
Paul Craciunoiu
4e9f4bfbbf
Fix for ReturnValues.
2016-01-15 11:53:45 -07:00
Paul Craciunoiu
bdd4ae824b
Support ADD for numeric values
2016-01-15 11:53:43 -07:00
Paul Craciunoiu
88cd009c4d
Return Item even when item is not found.
2016-01-14 16:20:33 -07:00
Ian Auld
dd6cc305cd
Updated more tests.
2016-01-14 14:51:47 -08:00
Ian Auld
06af5365ed
Updated tests
2016-01-14 14:25:04 -08:00
Ian Auld
582db74dee
Added test for creating a table with a local index.
2016-01-14 11:35:23 -08:00
Steve Pulec
defd106523
Merge pull request #506 from DenverJ/volume_snapshot_filters
...
Add filters for describeVolumes and describeSnapshots.
2016-01-11 13:30:56 -05:00
Denver Janke
82b0b12e45
Add filters for describeVolumes and describeSnapshots.
2016-01-11 15:46:30 +10:00
Steve Pulec
35478f3a44
Fix AZs for run_instances. Closes #490 .
2016-01-10 00:54:53 -05:00
Steve Pulec
96479bf1dc
Merge pull request #505 from joshink/master
...
Reverse before limit
2016-01-10 00:31:13 -05:00
Joshua Inkenbrandt
72bda6d901
Don't do python 2 things in python 3
2016-01-09 18:29:21 -08:00
Joshua Inkenbrandt
33f31652ea
Reverse before limit
2016-01-09 17:58:06 -08:00
Paul Craciunoiu
7a6e85517a
Quick fix for test in python3.3
2016-01-08 17:46:55 -07:00
Paul Craciunoiu
f1099dd006
Support update_item with map and numeric types.
2016-01-08 17:33:14 -07:00
Paul Craciunoiu
fef748b1c1
Add test.
2016-01-08 17:28:06 -07:00
Steve Pulec
9b0bce93dc
Merge pull request #499 from im-auld/partial-save-support-with-range-key
...
Partial save support with range key
2016-01-08 17:23:04 -05:00
Steve Pulec
f7c775d7ab
Revert this solution in favor of fc0fb0d40e
.
2016-01-08 17:03:54 -05:00
Steve Pulec
3a2eedc03c
Merge pull request #494 from jbencook/BasicECS
...
Basic ECS support
2016-01-08 17:02:40 -05:00