Brian Pandola
ab595279ad
Fix boto/boto3 multi-param discrepancies
...
boto uses the param.member.N syntax, but boto3 replaces the generic
.member with a more specific identifier.
Example:
boto: ClusterSecurityGroups.member.N
boto3: ClusterSecurityGroups.ClusterSecurityGroupName.N
This commit addresses this issue for the ClusterSecurityGroups, SubnetIds,
and VpcSecurityGroupIds parameters.
2017-09-30 21:51:05 -07:00
Terry Cain
f95d72c37c
Finialised create compute environment + describe environments
2017-09-29 23:29:36 +01:00
Terry Cain
ea10c4dfb6
Merge branch 'master' into batch
2017-09-29 22:11:15 +01:00
Brian Pandola
5bb6b98f6d
Implement Redshift Taggable Resources ( #1217 )
...
- Implement create_tags, describe_tags, and delete_tags endpoints
- Clusters, Parameter Groups, Security Groups, Snapshots, and Subnet Groups can all be tagged
- Test Suite updated
- Minor clean-up of restore_from_cluster_snapshot endpoint
- Miscellaneous typo fixes
2017-09-27 17:18:28 -07:00
Alexander Mohr
9008b85299
lambda + SNS enhancements ( #1048 )
...
* updates
- support lambda messages from SNS
- run lambda in docker container
* decode output
* populate timeout
* simplify
* whoops
* skeletons of cloudwatchlogs
* impl filter log streams
* fix logging
* PEP fixes
* PEP fixes
* fix reset
* fix reset
* add new endpoint
* fix region name
* add docker
* try to fix tests
* try to fix travis issue with boto
* fix escaping in urls
* fix environment variables
* fix PEP
* more pep
* switch back to precise
* another fix attempt
* fix typo
* fix lambda invoke
* fix more unittests
* work on getting this to work in new scheme
* fix py2
* fix error
* fix tests when running in server mode
* more lambda fixes
* try running with latest docker
adapted from aiodocker
* switch to docker python client
* pep fixes
* switch to docker volume
* fix unittest
* fix invoke from sns
* fix zip2tar
* add hack impl for get_function with zip
* try fix
* fix for py < 3.6
* add volume refcount
* try to fix travis
* docker test
* fix yaml
* try fix
* update endpoints
* fix
* another attempt
* try again
* fix recursive import
* refactor fix
* revert changes with better fix
* more reverts
* wait for service to come up
* add back detached mode
* sleep and add another exception type
* put this back for logging
* put back with note
* whoops :)
* docker in docker!
* fix invalid url
* hopefully last fix!
* fix lambda regions
* fix protocol
* travis!!!!
* just run lambda test for now
* use one print
* fix escaping
* another attempt
* yet another
* re-enable all tests
* fixes
* fix for py2
* revert change
* fix for py2.7
* fix output ordering
* remove this given there's a new unittest that covers it
* changes based on review
- add skeleton logs test file
- switch to docker image that matches test env
- fix mock_logs import
* add readme entry
2017-09-27 16:04:58 -07:00
Jack Danger
f09162038d
Merge pull request #1194 from terrycain/bug_1189
...
SNS Publish by phone number
2017-09-27 11:52:03 -07:00
Jack Danger
7fb8eb3434
Merge pull request #1195 from terrycain/polly
...
AWS Polly implementation
2017-09-27 11:20:55 -07:00
Nuwan Goonasekera
5b01071bd4
Fix for regression in get_console_output()
2017-09-27 20:26:45 +05:30
Terry Cain
cecbbb70e1
Added server testcase
2017-09-27 09:54:46 +01:00
Terry Cain
56e4300ad4
Added preliminary CreateComputeEnvironment
2017-09-26 22:22:59 +01:00
Terry Cain
993e74dc77
Added tests
2017-09-26 19:42:37 +01:00
Terry Cain
bba6d23eae
Started on batch
2017-09-26 17:37:26 +01:00
Terry Cain
fcacecbef0
Nearly finished Polly implementation
2017-09-26 16:46:18 +01:00
Terry Cain
56c65bc67c
Added in publish by phone number
2017-09-26 00:21:07 +01:00
Jack Danger
8e79fadb0f
Merge pull request #1174 from terrycain/acm
...
ACM Implementation
2017-09-25 14:36:08 -07:00
Jack Danger
84e4f1ff92
Merge pull request #1182 from mikegrima/s3bug
...
Fixed bug in S3 put_bucket_tagging. Closes #1181 .
2017-09-25 14:06:36 -07:00
Jack Danger
d41bb2e875
Merge pull request #1183 from terrycain/xray
...
AWS X-Ray
2017-09-25 14:06:24 -07:00
Jack Danger
c91cdee603
Merge pull request #1187 from dbfr3qs/master
...
Return consumed capacity correctly for dynamodb2.get_item, put_item, update_item
2017-09-25 13:59:33 -07:00
Loukas Leontopoulos
4393a4f76c
Change checks for handling same layer name un different stack
2017-09-25 14:49:08 +03:00
Loukas Leontopoulos
7599fd5dc0
Add test_case for layer per stack
...
Add a new test case for creating a layer with the same name under a different stack.
2017-09-25 14:31:29 +03:00
Chris Keogh
6cf74742f8
add test for get_item return consumed capacity
2017-09-25 11:45:49 +13:00
Chris Keogh
631252dd50
Merge branch 'master' of https://github.com/spulec/moto
2017-09-25 11:40:02 +13:00
Chris Keogh
84bd16d2a2
get_item update_item return capacity consumed correctly
2017-09-25 11:39:09 +13:00
Terry Cain
0bd3899cb3
Finished X-Ray + fixed routing bug
2017-09-23 11:02:25 +01:00
Terry Cain
a401b4f36d
Merge branch 'master' into xray
2017-09-22 23:56:43 +01:00
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