Barry Ruffner
2455de8282
Added a print.
2018-04-03 14:08:20 -07:00
Barry Ruffner
1046ee5041
Added object to parsing and test server test for cognito.
2018-04-03 13:38:24 -07:00
Barry Ruffner
83f4419d03
Added create_identity_pool and cleaned up test data.
2018-04-03 11:38:59 -07:00
Mike Grima
4184acc0d2
Added Filtering support for S3 lifecycle ( #1535 )
...
* Added Filtering support for S3 lifecycle
Also added `ExpiredObjectDeleteMarker`.
closes #1533
closes #1479
* Result set no longer contains "Prefix" if "Filter" is set.
2018-04-02 14:19:14 -07:00
Mohamed El Mouctar HAIDARA
dcd290c3c3
Fix ApiGateway key identification
...
API Gateway keys are identified by their ids and not their values
- https://docs.aws.amazon.com/cli/latest/reference/apigateway/get-api-key.html#examples
- http://boto3.readthedocs.io/en/latest/reference/services/apigateway.html#APIGateway.Client.get_api_key
2018-03-30 15:09:02 +02:00
Barry Ruffner
f4f79b2a8e
Added basic cognitoidentity (not working)
2018-03-28 12:40:42 -07:00
William Richard
0ed388b4b8
If Properies isn't set, cloudformation will just use default values
2018-03-26 14:15:16 -04:00
Alexander Mohr
941d817da4
fix lambda endpoint parsing ( #1395 )
...
* fix endpoint parsing
* add new unittest
* finish test
2018-03-21 22:14:10 -07:00
Kevin Ford
2faffc96de
Use 'data' attribute of Flask Request object. ( #1117 )
...
* Flask Request object does not have a 'body' attribute, changed to 'data'
* Making moto 'glaciar' more aws 'glaciar' like.
* Making moto 'glacier' more aws 'glacier' like.
* Fixing Travis errors?
* OK, check if object has proper attribute because HTTPrettyRequest has no data attribute and Python Requests has no body attribute.
* Output to match test expectation; sleep for 60 seconds to mimic actual wait time.
* Amending test_describe_job to reflect changes.
* Shorten time from 1 minute to seconds.
* Shorten sleep time in test. Forgot about the test.
2018-03-21 22:13:09 -07:00
Colin Jones
1a8a4a084d
S3 Ignore Subdomain for Bucketname Flag ( #1419 )
...
* Some circumstances need subdomains to be ignored rather that interpreted as bucketname, this patch allows such behaviour to be configured
* Adding helper case whereby localstack features as path based exception
* Remove whitespace :(
2018-03-21 09:33:09 -07:00
Ben Jones
c13f77173f
add UsePreviousValue support for parameters when updating a CloudFormation stack ( #1504 )
2018-03-21 09:13:05 -07:00
Javier Buzzi
d55ff20685
Basic support for AWS Gateway apikeys ( #1494 )
...
* Basic support for AWS Gateway apikeys
* Adds missing -- much needed tests
* Fixes issue with master merge
* Fixes linter
* Fixes tests
2018-03-21 09:11:49 -07:00
Mike Grima
cc14114afe
Implemented S3 get/put_notification_configuration ( #1516 )
...
closes #973
2018-03-21 09:11:24 -07:00
Rob Walker
4b3469292a
Enable Extended CIDR Associations on VPC ( #1511 )
...
* Enable Extended CIDR Associations on VPC
* Ooops missed the utils, try to be more flakey?, remove unnecessary part in tests
* try to be even more flakey
2018-03-21 09:10:38 -07:00
Loukas Leontopoulos
b7ae704ad2
Add opsworks app mocks ( #1481 )
...
* Add implementation for OpsWorks create_app and describe_apps
* Fix the name of the test
* Add some more exception tests
2018-03-21 09:05:57 -07:00
keirbadger
fecdf388c2
Add in filtering of EBS volumes on availability-zone ( #1468 )
2018-03-21 08:58:32 -07:00
Ash Berlin-Taylor
1b20f21a75
Escape EMR template fields to avoid invalid XML responses ( #1467 )
...
I had an EMR step that contained a `&` and this caused the ListStep call to fail.
I've added the `| escape` filter to handle it in this case and a few other cases that look like they could suffer the same fate.
2018-03-21 08:57:50 -07:00
ramox-
508b392697
Make putparameter behave more like the real endpoint does, respond with Version or ParameterAlreadyExists ( #1464 )
2018-03-21 08:56:57 -07:00
Graham Lyons
5d51329c34
Don't create volumes for AMIs ( #1456 )
...
* Delete the volume used during AMI creation
Creating an AMI doesn't actually result in the creation of an EBS
volume, although the associated snapshot does reference one. To that
end, delete the volume once we've used it.
* Add `owner_id` to `Snapshot`, verify AMI snapshots
The default AMIs which are created by moto have EBS volume mappings
but the snapshots associated with those don't have the correct
owners set.
This adds the owner to the snapshot model and passes it through from
the JSON data.
2018-03-21 08:55:58 -07:00
Toshiya Kawasaki
39e9379195
Fix cloudwatch logs' response error ( #1426 )
2018-03-21 08:55:03 -07:00
Iain Bullard
d3d9557d49
Implement basic SNS message filtering ( #1521 )
...
* Add support for FilterPolicy to sns subscription set_filter_attributes
* Add basic support for sns message filtering
This adds support for exact string value matching along with AND/OR
logic as described here:
https://docs.aws.amazon.com/sns/latest/dg/message-filtering.html
It does not provide support for:
- Anything-but string matching
- Prefix string matching
- Numeric Value Matching
The above filter policies (if configured) will not match messages.
2018-03-21 08:49:11 -07:00
Iain Bullard
6dce7dcb18
Improve SQS Compatibility with AWS ( #1520 )
...
* Return correct error code when fetching a queue that does not exist
* Improve SQS Queue get and set attributes
* Queue creation and set_attributes uses the same code path
- ensure bool/int values are cast correctly
* RedrivePolicy is handled properly with set_attributes
- _setup_dlq is called
- is json decoded, so that returned RedrivePolicy is not json
encoded twice
* As per AWS not all attributes are returned when they are not set, for
example RedrivePolicy, FifoQueue, Policy, Kms*
* WaitTimeSeconds is not a queue attribute switch to
ReceiveMessageWaitTimeSeconds
2018-03-21 08:48:08 -07:00
Jim Shields
baedbfa8ca
Fix test_suspend_processes
...
* Add `region_name` to the client to be consistent with other tests
* Add `VPCZoneIdentifier` to the ASG creation (AZ or VPC is required)
* Add myself as a contributor
2018-03-09 18:00:23 -05:00
Jim Shields
bfeea00774
Fix #1370 : Implement suspend_processes in AutoScaling service
2018-03-09 16:55:30 -05:00
Steve Pulec
4997694fd6
Merge pull request #1488 from andharris/iam-roles
...
add iam roles to redshift
2018-03-07 09:28:26 -05:00
Steve Pulec
d37c355bd3
Merge pull request #1484 from derwolfe/ssm-send-command
...
Add support for SSM send_command
2018-03-07 07:37:44 -05:00
Steve Pulec
b3468b9ebf
Merge pull request #1480 from lleontop/opsworks_increase_coverage
...
Add more exception tests for opsworks
2018-03-07 07:09:47 -05:00
Steve Pulec
0414cc51c1
Merge pull request #1499 from srikiraju/fix/s3-list-deleted
...
S3: Do not attempt to return deleted files in bucket listing
2018-03-07 07:08:07 -05:00
Steve Pulec
1a299ffbfc
Merge pull request #1364 from terrycain/bug_1358
...
Adds if_not_exists function to DynamoDB Update Expression
2018-03-06 22:46:11 -05:00
Steve Pulec
6668a6e17f
Merge pull request #1381 from koxudaxi/fix_MaxRecords_on_describe_db_instances
...
cast MaxRecords to int on describe_db_instances
2018-03-06 22:45:28 -05:00
Steve Pulec
9e0b8da6cb
Merge pull request #1413 from captainkerk/autoscaling-subnet-or-az-is-required
...
AWS API raises an exception if both AZ and VPCZoneIdentifier params a…
2018-03-06 22:42:49 -05:00
Steve Pulec
47ec9bcdc8
Merge pull request #1418 from stillwaiting/sns-do-not-duplicate-subscriptions
...
SNS: do not duplicate subscriptions
2018-03-06 22:40:22 -05:00
Steve Pulec
1dd21d6cd6
Merge pull request #1442 from JackDanger/jack/importing-sure-in-tests-that-require-it
...
importing sure in tests that require it
2018-03-06 22:38:10 -05:00
Steve Pulec
de6ded5aab
Merge pull request #1422 from godfried/fix-cloudwatch-value
...
Change name of 'state' attribute of 'FakeAlarm' CloudWatch model to '…
2018-03-06 22:36:50 -05:00
Steve Pulec
4b21beb754
Merge pull request #1428 from toshitanian/logs-exceptions
...
Add logs exceptions
2018-03-06 22:32:03 -05:00
Steve Pulec
7fa14c81f4
Merge pull request #1425 from whummer/feat/cf-fn-GetAZs
...
Implement Fn::GetAZs function in CloudFormation
2018-03-06 22:28:31 -05:00
Steve Pulec
8b3743fa9c
Merge pull request #1439 from anderson-dan-w/redrive-policy
...
Redrive policy
2018-03-06 22:22:49 -05:00
Steve Pulec
16dd20e443
Merge pull request #1447 from dbfr3qs/master
...
add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi
2018-03-06 22:20:19 -05:00
Steve Pulec
924c99bcea
Merge pull request #1448 from grahamlyons/fix-ebs-tagging
...
Change `'image'` for `'volume'` when getting tags
2018-03-06 22:16:59 -05:00
Steve Pulec
8a0cf49b7d
Merge branch 'master' into redshift-copy-grants
2018-03-06 22:11:34 -05:00
Steve Pulec
ddba69982e
Merge pull request #1451 from captainkerk/redshift-add-cross-region-snapshots
...
Redshift: Add Cross Region Snapshot Functionality
2018-03-06 22:10:29 -05:00
Steve Pulec
6826b82cfb
Merge pull request #1455 from grahamlyons/snapshot-search-bug
...
Snapshot search bug
2018-03-06 22:06:33 -05:00
Steve Pulec
326698f3fa
Merge pull request #1460 from okomestudio/s3-region-from-url
...
Support both virtual-hosted and path-style URLs for region name parsing
2018-03-06 21:57:57 -05:00
Dave Golombek
9a8b36debc
ELBv2.create_listener links TargetGroup to LB
...
In order to search target_groups by LB, we need this link in place.
Resolves #1500
2018-03-06 16:57:56 -05:00
Srikanth Raju
4f05aa725c
S3: Do not attempt to return deleted files in bucket listing
2018-03-06 01:55:14 -08:00
andrew
7d3af65f22
fix errors
2018-02-23 14:42:49 -05:00
andrew
6ab416724a
WIP: add iam roles to redshift
2018-02-22 14:58:19 -05:00
Chris Wolfe
7a6987a7f1
note
2018-02-19 09:59:52 -06:00
Chris Wolfe
8ac4ff1e99
greater granularity
2018-02-19 09:58:46 -06:00
Chris Wolfe
29061ec0f8
add a basic test to start
2018-02-19 09:10:52 -06:00
Loukas Leontopoulos
bf2ba0b680
Add more exception tests for opsworks
2018-02-19 15:22:53 +02:00
Hugo Lopes Tavares
5f61950096
Make SpotPrice optional when requesting a spot fleet
...
When price is omitted, AWS will default to the on-demand price
2018-02-01 18:07:35 -05:00
Taro Sato
5e70d0ce4c
Support both virtual-hosted-style and path-style URLs for region name parsing
2018-01-30 16:10:43 -08:00
grahamlyons
f3debf8f6f
Test and fix bug for snapshot searching
...
The logic which contructed a list of values for parameters with
multiple values was flawed in that e.g. `Subnet.1` and `Subnet.10`
would be have their values counted against `Subnet.1` because they
share a prefix.
This now checks for a starting `.` before counting that name as
having the requested prefix.
2018-01-29 14:30:21 +00:00
captainkerk
e514b98747
redshift: add copy grant functionality
2018-01-28 22:58:28 +00:00
captainkerk
7130dd5239
rework to follow spec for encrypted/unencrypted clusters
2018-01-28 04:16:21 +00:00
captainkerk
ed06658271
address spacing issues
2018-01-28 04:16:21 +00:00
captainkerk
d8b124fbf4
added: enable/disable/modify redshift snapshot copy methods
2018-01-28 04:16:21 +00:00
grahamlyons
3ce57644cd
Change 'image'
for 'volume'
when getting tags
...
The AWS docs say that: "Currently, the resource types that support
tagging on creation are instance and volume." Calling `create_volume`
and passing `image` as the resource type in tag specifications causes
an `InvalidParameterValue` error.
2018-01-26 11:12:50 +00:00
Jack Danger
4520cd930f
Merge pull request #1378 from william-richard/start-running-ami-tests
...
Make test_amis not executable, so nose runs it
2018-01-24 18:28:40 -08:00
Chris Keogh
53184208fd
add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi.get_resources
2018-01-25 14:51:06 +13:00
Koudai Aono
0eb02613a0
fix get_template tests to support OrderedDict
2018-01-25 02:37:51 +09:00
Koudai Aono
9ef271fafa
Remove unneeded comments
2018-01-25 01:34:27 +09:00
Koudai Aono
518282dbd3
change get_param method to get_int_param
2018-01-25 00:51:14 +09:00
Dan W Anderson
616095602a
test for redrive policy
2018-01-23 18:33:23 -08:00
Jack Danger
52f0d0a4e4
importing sure in tests that require it
2018-01-20 19:44:22 -08:00
dbfr3qs
7d0733ad10
hack tests now that boto get_templates returns ordered dicts
2018-01-18 19:40:24 +13:00
dbfr3qs
597676c59c
add tags when creating ebs volume
2018-01-15 21:52:32 +13:00
Toshiya Kawasaki
663283a8f0
add logs exceptions
2018-01-14 14:35:53 +09:00
William Richard
09c5407b86
Fix tests that were introduced in PR #1398
2018-01-11 15:02:03 -05:00
William Richard
e0d4728c5d
Fix ami tests
...
- missing and malformed image ids
- test_ami_filters
- test_ami_copy tests
- test_ami_create_and_delete test
- test_ami_filter_wildcard test
- the rest of the tests by using the non-deprecated mock_ec2
2018-01-11 15:02:01 -05:00
William Richard
00a4249b74
Make test_amis not executable, so nose runs it
...
In trying to debug changes to the ami mock introduced in 1.1.25,
I noticed that the ami tests were not running. Turns out that nose does not
run test files that are executable.
http://nose.readthedocs.io/en/latest/finding_tests.html
The ami test file was the only test file I could find that had the executable bit set.
2018-01-11 15:00:38 -05:00
Waldemar Hummer
da4a6fe616
implement Fn::GetAZs function in CloudFormation
2018-01-10 22:44:16 -05:00
Brian Pandola
350cf9257e
Add update_access_key endpoint ( #1423 )
2018-01-10 18:29:08 -05:00
Pieter Jordaan
a8cd5fb7fd
Change name of 'state' attribute of 'FakeAlarm' CloudWatch model to 'state_value'. This ensures that the 'StateValue' returned by 'describe_alarms' is correct.
...
The 'DESCRIBE_ALARMS_TEMPLATE' response template references a 'state_value' attribute on the 'FakeAlarm' model which does not exist; it is named 'state'.
This commit updates the attribute to be called 'state_value', in-line with the naming convention used elsewhere.
2018-01-08 13:18:50 +01:00
Nuwan Goonasekera
56ce26a728
Added support for filtering AMIs by self ( #1398 )
...
* Added support for filtering AMIs by self
Closes: https://github.com/spulec/moto/issues/1396
* Adjusted regex to also match signature v4 and fixed py3 compatibility
2018-01-04 10:01:17 +00:00
Toshiya Kawasaki
71af9317f2
Add group features to iot ( #1402 )
...
* Add thing group features
* thing thing-group relation
* clean up comments
2018-01-04 09:59:37 +00:00
Mike Grima
770281aef2
Added put_bucket_logging support ( #1401 )
...
- Also added put acl for XML
- Put logging will also verify that the destination bucket exists in the same region with the proper ACLs attached.
2018-01-02 20:47:57 -08:00
Boris Gvozdev
633decc6c0
SNS: do not duplicate subscriptions
2018-01-02 11:30:39 +11:00
Mike Bjerkness
b855fee2e4
Add batch_get_image support for ECR ( #1406 )
...
* Add batch_get_image for ECR
* Add tests for batch_get_image
* Add tests for batch_get_image
* Undo local commits
* Undo local commits
* Adding object representation for batch_get_image
* Update responses. Add a couple more tests.
2017-12-30 18:39:23 -08:00
captainkerk
144611ff99
define setup_networking_deprecated() method to create supporting
...
resources for tests that use deprecated methods
2017-12-29 03:00:53 +00:00
Jack Danger
84f2ec5e04
Merge pull request #1416 from goraxe/describe_regions_with_names
...
describe_regions: handle region-names parameter
2017-12-28 14:47:39 -08:00
Gordon Irving
4d9833b972
add test for descrie_regions with args
2017-12-28 21:02:58 +00:00
Gordon Irving
e9b81bb325
add test for vpc tags
2017-12-28 19:27:53 +00:00
captainkerk
fe1293ee5b
remove unnecessary empty line
2017-12-27 20:31:57 +00:00
captainkerk
59cf81fd56
AWS API raises an exception if both AZ and VPCZoneIdentifier params are empty. mock that exception, fix
...
tests to follow that pattern.
2017-12-27 19:17:59 +00:00
George Ionita
3cede60f5b
improved SWF support
2017-12-23 05:45:05 +02:00
Nuwan Goonasekera
c68cd650e7
Make sure invalid or malformed AMIs raise an exception
...
Closes: https://github.com/spulec/moto/issues/1408
2017-12-22 18:50:22 +05:30
Alex M
e75f3ef4d4
Implement execute change set endpoint ( #1391 )
2017-12-14 12:07:23 +00:00
William Richard
df7a7958c1
Path is an optional property of instance profile cloudformation resource ( #1382 )
...
* Path is an optional property of instance profile cloudformation resource
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html
* Path is also optional for iam role clouformation resources
Based on http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html
* Use `properities.get` with a default instead of doing default handling myself
2017-12-14 12:06:04 +00:00
Alex M
2346e14e00
Add create change set endpoint ( #1389 )
2017-12-11 09:23:35 +00:00
Alexander Mohr
9d087b0729
add subject support ( #1387 )
2017-12-10 21:59:04 +00:00
Brian Cavagnolo
d2eea02774
add support for kinesis AT_TIMESTAMP shard iterator ( #1376 )
...
Fixes #813
2017-12-08 10:57:05 +00:00
William Richard
92f5f7b263
Add cloudformation update from s3 support ( #1377 )
...
* Fix variable name typo
* Make it possible to delete EC2 instances from cloudformation json
* Add support for updating a cloudformation stack from an s3 template url
2017-12-08 10:48:29 +00:00
David Bartle
52ce8d378f
IAM delete_server_certificate ( #1380 )
...
* IAM delete_server_certificate
* flake8 fixes
2017-12-08 10:43:09 +00:00
Alexander Mohr
81f3cbb548
fix cloudwatch bug ( #1374 )
...
* bugfix + add tests
2017-12-05 09:25:08 +00:00
Ben Slusky
796fa6647b
modify_db_instance should be able to rename DB instances ( #1367 )
2017-11-30 11:41:25 +00:00
Kai Xia(夏恺)
9e1a233549
fix KeyError in delete_alias in the KmsBackend. ( #1359 )
...
* fix KeyError in delete_alias in the KmsBackend.
If there're several aliases in the backend, previously we will bump into
a KeyError here.
Signed-off-by: Kai Xia <xiaket@gmail.com>
* add doc to make travis try one more time.
Signed-off-by: Kai Xia <xiaket@gmail.com>
a
* add another key and alias before the deletion of an alias.
This was done to make sure that we can correctly handle the deletion
when there are more than one alias defined.
Signed-off-by: Kai Xia <xiaket@gmail.com>
2017-11-27 10:36:25 +00:00
Terry Cain
a1f2ba21ee
Adds if_not_exists function to DynamoDB Update Expression
...
Fixes #1358
2017-11-26 22:29:23 +00:00
Terry Cain
d5ee48eedd
Lambda improvements ( #1344 )
...
* Revamped the lambda function storage to do versioning.
* Flake8
* .
* Fixes
* Swapped around an if
2017-11-26 21:28:28 +00:00
Toshiya Kawasaki
cfc994d0ae
Add publish operation to iotdata ( #1362 )
...
* add publish operation to iotdata
* restart ci
2017-11-24 17:22:53 +00:00
Toshiya Kawasaki
49a2724d76
Set default value to elbv2 FakeTargetGroup ( #1349 )
2017-11-20 11:18:21 +00:00
justinsr20
17b8396a9c
updated rds status from shutdown to stopped to match aws ( #1347 )
2017-11-20 09:07:36 +00:00
Jessie Nadler
04c5198a0c
Add default ecs attributes and format in response obj ( #1346 )
...
* Initialize EC2ContainerServiceBackend and ContainerInstance objects with region_name
* Initialize ContainerInstance with default attributes
* These attributes are automatically applied by ECS when a container is registered
* Docs: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-constraints.html#attributes
* Format container_instance.attributes for response_object
* Python3
* Only use available ECS regions for ecs_backends
* Sort dictionaries on key='name' using lambda
* Sort all dicts in tests using lambda
2017-11-17 18:25:08 +00:00
Victor Hiairrassary
caec929506
Improve SSM PutParameter & DescribeParameters actions ( #1348 )
2017-11-17 08:57:11 +00:00
Terry Cain
2609f6cd3a
Added support for dynamo update_item on nested dicts ( #1345 )
2017-11-17 08:49:59 +00:00
Hugo Lopes Tavares
aa6a0765c1
Move target group default values to model FakeTargetGroup ( #1343 )
...
Before this commit everything that needs to create target groups
had to handle the default values (i.e., cloudformation call & ELBV2Response call)
2017-11-15 19:36:53 +00:00
Hugo Lopes Tavares
7b1ec157b8
Add proper CFN attribute handling to elbv2.FakeLoadBalancer ( #1341 )
2017-11-15 15:11:11 +00:00
Terry Cain
8ee05e22af
[WIP] Resource tagging ( #1332 )
...
* Ran scaffold
* Made a start on get_resources.
* Added more EC2 to tag list
* More stuff
* Added more methods
* Added S3 region name
* Added values test
* Some final touchups
2017-11-15 00:03:00 +00:00
Archa91
474023f9a1
fix EC2 instances ebsOptimized not handled ( #1340 )
...
* fix EC2 instances ebsOptimized not handled
* add test_create_instance_ebs_optimized
2017-11-14 14:31:54 +00:00
Adam Gilman
2ad0f2fc1c
SNS create_topic should only accept valid characters ( #1329 )
...
* SNS create_topic should only accept valid characters
Closes #1328
* Fix flake8 errors
* Updated regex to match full TopicName constraints
Fixed test_server as it contained invalid TopicNames’ per constraints
* fix error message for invalid topic name
2017-11-13 18:27:11 +00:00
Jack Danger
068417b1f2
Merge pull request #1334 from reinecke/fix/dynamo_projection_mutation
...
dynamodb2: Fix for ProjectionExpressions changing the data in storage
2017-11-12 08:05:33 -08:00
Terry Cain
bd8c1e4567
adding owner id to amis v2 ( #1331 )
...
* Adding owner-id/OwnerId to the AMI classes to allow the value to be specified to test filtering images based on owner.
* Added default AMIs and filtering by owner-id
* Fixed some tests
* Fixed more random tests
* Updated MANIFEST
* .
2017-11-12 11:18:25 +00:00
Jack Danger
123f369e6e
Merge pull request #1333 from terrycain/fix_1043
...
DynamoDB: Fixed requiring optional parameter
2017-11-11 14:06:51 -08:00
Eric Reinecke
64fb0207e2
dynamodb2 was evaluating ProjectionExpression on the wrong local result set
2017-11-10 21:57:16 -08:00
Eric Reinecke
06492026c3
dynamodb2 items are copied when using ProjectionExpression to avoid mutating originals
2017-11-10 21:35:01 -08:00
Terry Cain
5858289596
Fixed Bug
2017-11-10 21:07:22 +00:00
Toshiya Kawasaki
0de2e55b13
Support iot and iot-data ( #1303 )
...
* append appropriate urls when scaffolding
* make dispatch for rest-api
* fix dispatch for rest-json
* fix moto/core/response to obtain path and body parameters
* small fixes
* remove unused import
* fix get_int_param
* Add features of things and thing-types
* fix scaffold
* basic crud of cert
* support basic CRUD of policy
* refactor
* fix formatting of scaffold
* support principal_pocicy
* support thing_principal
* update readme
* escape service to handle service w/ hyphen like iot-data
* escape service w/ hyphen
* fix regexp to extract region from url
* escape service
* Implement basic iota-data feature
* iot-data shadow delta
* update readme
* remove unused import
* remove comment
* fix syntax
* specify region when creating boto3 client for test
* use uuid for seed of generating cert id
* specify region_name to iotdata client in test
* specify region to boto3 client in moto response
* excude iot and iotdata tests on server mode
* fix handling of thingTypeName in describe-thing
* test if server is up for iot
2017-11-10 09:44:02 +00:00
Terry Cain
884fc6f260
Adds FilterExpression to dynamodb.query ( #1326 )
...
* Added FilterExpression for dynamodb.query
* flake8
* Fixes using mutable default argument values
2017-11-08 22:53:31 +00:00
Jack Danger
7c3d78e7c5
validate protocol on target group creation
2017-11-06 14:19:03 -08:00
Terry Cain
d4745a575b
utf 8 in key deletions V2 ( #1321 )
...
* supporting utf-8 in key deletions
* Fixed decoding of version body when regexing
* Fixed some more random errors
* Possible fix
* Fixed unused import
* Added UTF comment Py2
2017-11-06 14:19:03 -08:00
Adam Gilman
d0a285536d
Makes Creating SNS topics idempotent ( #1324 )
...
Make creating SNS topics idempotent
Closes #1323
2017-11-06 14:19:03 -08:00
Kai Xia(夏恺)
70e7f08d8f
Added support for SSM get_parameters_by_path. ( #1299 )
...
* Added support for SSM get_parameters_by_path.
Signed-off-by: Kai Xia <xiaket@gmail.com>
* add logic to handle trailing '/'.
Also, fix pep8.
Signed-off-by: Kai Xia <kai.xia@sportsbet.com.au>
* add tests for parameter value in response.
Signed-off-by: Kai Xia <kai.xia@sportsbet.com.au>
2017-11-06 14:19:03 -08:00
Terry Cain
c186733129
Merge branch 'master' into jack/validate-protocol-on-target-group-creation
2017-11-05 01:58:40 +00:00
Steve Pulec
2d9e622e79
Merge pull request #1313 from terrycain/fix_1311
...
CloudWatch: Added SetAlarmState and filter
2017-11-04 15:50:56 -04:00
Steve Pulec
adf41244cd
Merge pull request #1316 from terrycain/lotsa_stuff
...
Lotsa stuff
2017-11-04 15:15:20 -04:00
Brian Pandola
68a1e41286
Fix #1318
2017-11-02 23:03:54 -07:00
Terry Cain
c4273c9da1
Merge branch 'master' into lotsa_stuff
2017-10-29 19:26:27 +00:00
Terry Cain
e2bdaa07ea
Fix test cases that manipulate time
2017-10-29 19:11:52 +00:00
Terry Cain
75f0deb828
Completed SQS Implementation
2017-10-29 18:59:40 +00:00
Terry Cain
5c02085d3a
Fixed testcases after nonglobaling dynamo
2017-10-29 16:25:17 +00:00
Terry Cain
ab767416fe
Completed DynamoDBv2 endpoints
2017-10-29 16:06:09 +00:00
Terry Cain
92a0d96101
Fixed testcase
2017-10-29 16:06:03 +00:00
Terry Cain
2a52a0f91b
Completed ELBv2 implementation
2017-10-29 14:14:17 +00:00
Terry Cain
a6e5ffb99b
Completed events
2017-10-28 20:17:34 +01:00
Terry Cain
6e28c58e26
Added ecs attributes methods
2017-10-28 19:18:39 +01:00
Terry Cain
eccb536d8a
ACM ~100% coverage
2017-10-28 17:07:34 +01:00
Jack Danger
d187942eeb
Merge pull request #1304 from terrycain/ec2_instance_ip_improvement
...
Fixed a few ip issues
2017-10-28 03:48:16 +02:00
Hugo Lopes Tavares
63c33211ee
Add GetAtt support to elbv2 LoadBalancer
2017-10-27 15:32:16 -04:00
Hugo Lopes Tavares
7b074b50a9
Add CloudFormation support to AWS::ElasticLoadBalancingV2::Listener
2017-10-27 14:38:40 -04:00
Hugo Lopes Tavares
dfd41d8c00
Add CloudFormation support to AWS::ElasticLoadBalancingV2::TargetGroup
2017-10-27 14:24:11 -04:00
Terry Cain
6adfb97753
Added SetAlarmState and added state filter to describe
2017-10-27 18:58:11 +01:00
Hugo Lopes Tavares
8786c2df05
Add CloudFormation support to AWS::ElasticLoadBalancingV2::LoadBalancer
2017-10-27 11:54:55 -04:00
Jack Danger
23ad62a4f9
validate protocol on target group creation
2017-10-27 03:16:06 +02:00
Terry Cain
62a2d8f756
Improved lambda timings
2017-10-25 20:04:00 +01:00
Terry Cain
9ddf7fe436
Fixed some tests.
...
Some subnets were bogus so fixed that. Fixed issue where EC2-Classic was not respected.
RDS Deepcopy was breaking on subnet generator
2017-10-25 19:29:56 +01:00
Terry Cain
5b0e463554
Fixed a few ip issues
...
Fixes #1175
2017-10-24 23:57:43 +01:00
Jack Danger
9a4c496f30
Merge pull request #1297 from melentye/master
...
Do not treat StartRecordName and StartRecordType as filters
2017-10-24 04:17:22 -07:00
Andrey Melentyev
4e390530a7
Do not treat StartRecordName and StartRecordType in the list_resource_record_sets as filters
...
According to AWS API reference and Boto documentation they are to begin the record listing from,
not for filtering. So their current behavior in moto is not consistent with AWS.
2017-10-23 21:58:39 +02:00
Jack Danger
0ca292b0ca
Merge pull request #1289 from terrycain/dynamodb_filter_expression_v2
...
DynamoDB FilterExpression NOT logic
2017-10-23 09:46:02 -07:00
Jack Danger
72670d5b2d
Merge pull request #1259 from tomelliff/fix-running-pending-task-count-attribute
...
Fix runningTasksCount ECS container instance attribute
2017-10-23 09:43:50 -07:00
Jack Danger
2eec3a5c36
Merge pull request #1197 from terrycain/batch
...
AWS Batch
2017-10-23 09:43:10 -07:00
Jack Danger
aaa0202d08
Merge pull request #1285 from captainkerk/autoscaling-load-balancer-target-group-support
...
Add ELBv2 Support to Autoscaling Service
2017-10-23 09:41:52 -07:00
Jack Danger
462eceae6f
Merge pull request #1283 from terrycain/fix_1276
...
Fixes #1276 SNS Subject validation
2017-10-23 09:41:17 -07:00
Terry Cain
e9852c381b
Make improvements to filter expression, added NOT keyword
2017-10-22 23:20:00 +01:00
Terry Cain
fbc984933b
Added server test
2017-10-22 21:36:39 +01:00
Jack Danger
66a554470b
Merge pull request #1286 from terrycain/fix_1282
...
Fix 1282
2017-10-22 11:53:19 -07:00
Terry Cain
f247cd0f48
Fixed uses of HostedZone
2017-10-21 22:41:19 +01:00
captainkerk
993b092083
add target_group support to autoscaling service
2017-10-21 17:29:22 +00:00
Paul Carleton
685e9163a8
Add set-instance-health support
2017-10-20 11:26:23 -07:00
Paul Carleton
21c3775cb1
Add health status to autoscaling instances
2017-10-20 11:26:23 -07:00
Terry Cain
629503398c
Added JobDefinition to cloudformation
2017-10-20 19:10:31 +01:00
Terry Cain
dce81cf875
Fixed typos ;-)
...
Thanks @hwine
2017-10-20 14:52:24 +01:00
Terry Cain
bca8e11290
Fixes #1276 SNS Subject validation
2017-10-20 13:19:55 +01:00
Argishti Rostamian
f02f4646ea
add test
2017-10-19 17:47:21 -07:00
Terry Cain
9805a279c7
Added JobQueue to cloudformation
2017-10-20 01:06:30 +01:00
Terry Cain
453da4c8b3
Added CreateEnvironment to cloudformation
2017-10-20 00:51:04 +01:00
Terry Cain
d67ef8d128
Merge branch 'master' into batch
2017-10-19 21:16:40 +01:00
Terry Cain
b40c5e557e
Fixed S3 versioning bug + minor cleanup ( #1272 )
...
* Fixed S3 versioning bug + minor cleanup
Fixes 1271
* flake8
2017-10-18 16:22:35 -07:00
John Kerkstra
b8bb6c2dcf
Fix bug with update_attached_elbs ( #1266 )
...
* fixed bug where we were using elb_backend.describe_load_balancers
incorrectly, returning all available load balancers when we wanted none.
* improve skip, clean up tests
2017-10-16 22:04:47 -07:00
John Kerkstra
0af3427c15
Add autoscaling load balancer methods ( #1265 )
...
* add attach_load_balancers, detach_load_balancers,
describe_load_balancers methods
* prefer using amzn_request_id decorator to generate unique request ids
2017-10-16 19:07:00 -07:00
John Kerkstra
5ef236e966
Add attach_ and detach_instances methods to autoscaling service ( #1264 )
...
* add detach_instances functionality to autoscaling service
* use ASG_NAME_TAG constant
* cleanup models method a bit, add mocked DetachInstancesResult to
response template
* add attach_instances method
2017-10-16 17:09:51 -07:00
Terry Cain
49ddb500a8
AWS X-Ray client mock. ( #1255 )
...
* X-Ray Client SDK patched
Fixes #1250
* Fixed flake8
* Fixed some issues
* Fixed flake8
* Fixed more typos
* Fixed python2 string
* Fixed aws-sdk patch order
* Added more test cases to test the patching
2017-10-16 17:06:22 -07:00
Terry Cain
2bb3e841d1
Fixed #1261 dynamodb FilterExpression bugs ( #1262 )
...
* Fixed #1261 dynamodb FilterExpression bugs
FilterExpression was incorrectly handling numbers, stupid typo there. Also >= <= and <> was not being parsed correctly.
* Switched up logic a bit for better end result. Fixes #1263
* Fixed another bug
2017-10-16 13:56:03 -07:00
Tom Elliff
a6c38913a7
Add more tests for task count of container instance
2017-10-13 09:37:39 +01:00
Terry Cain
f3623e3cd3
Fix for #1258 ( #1260 )
...
* Fix for #1258
* Updated doc link
2017-10-12 13:59:02 -07:00
Tom Elliff
51afd54229
Fix runningTasksCount ECS container instance attribute
...
ECS container instances have attributes of 'runningTasksCount' and 'pendingTasksCount'.
See Boto3 docs here: http://boto3.readthedocs.io/en/latest/reference/services/ecs.html#ECS.Client.describe_container_instances
REST API docs here: http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DescribeContainerInstances.html#API_DescribeContainerInstances_ResponseSyntax
2017-10-12 13:26:19 +01:00
Terry Cain
e3024ae1ba
Implemented Terminate, Cancel and List jobs
2017-10-11 23:46:27 +01:00
Terry Cain
ddd52a5a97
Merge branch 'master' into batch
2017-10-11 23:02:47 +01:00
Jack Danger
aa46795ade
Merge pull request #1252 from JackDanger/jack/implement-sqs-queuedoesnotexist-error
...
implement SQS QueueDoesNotExist error
2017-10-10 13:36:45 -07:00
Jack Danger
dc40fce146
implement SQS QueueDoesNotExist error
2017-10-10 13:05:48 -07:00
Terry Cain
77fcafca18
Cleaned up code
2017-10-08 04:18:25 +01:00
Terry Cain
c86bece382
Added FilterExpression to dynamodb scan
2017-10-07 21:57:14 +01:00
William Johansson
88fb732302
Support wildcard tag filters on SecurityGroups
2017-10-06 21:55:01 +02:00
David Morrison
fa3268b7b7
fix tests
2017-10-06 08:07:21 -07:00
David Morrison
3d3d0e916e
minor bugfixes and added tests
2017-10-05 18:46:58 -07:00
Terry Cain
e135344f0c
Added simple SubmitJob and DescribeJobs
2017-10-06 01:21:29 +01:00
David Morrison
8ca7ccfcb5
add support for the modify_spot_fleet_request operation
2017-10-05 12:50:42 -07:00
Terry Cain
0ca3fcc7a2
Added DescribeJobDefinitions
2017-10-05 00:00:40 +01:00
Terry Cain
558f246115
Added RegisterJobDefinition
2017-10-04 20:17:29 +01:00
Terry Cain
4a45acc216
Implemented Update and Delete job queue
2017-10-04 18:52:12 +01:00
Terry Cain
b8f24298fd
Added filtering test part
2017-10-03 23:28:10 +01:00
Terry Cain
15218df12f
Added CreateJobQueue and DescribeJobQueue
2017-10-03 23:21:06 +01:00
Terry Cain
88a11b21ae
Added DeleteComputeEnvironment and UpdateComputeEnvironment
2017-10-03 22:35:30 +01:00
Terry Cain
a027f86cc8
Merge branch 'master' into batch
2017-10-03 19:37:53 +01:00
Chris Keogh
9bb07e6b6e
add awslambda.add_permission
2017-10-03 20:02:23 +13:00
Chris Keogh
b994cf5291
add more realistic policy
2017-10-03 14:52:00 +13:00
Chris Keogh
fc9c250922
add basic awslambda get_policy
2017-10-03 13:33:50 +13:00
Jack Danger
068c0617da
fixing last pep8 violations on elbv2 test
2017-10-02 12:38:36 -07:00
Jack Danger
f6166f841a
running autopep8 against test_elbv2.py
2017-10-02 12:36:47 -07:00
Jack Danger
04542dccc0
implement elbv2 ResourceInUseError
2017-10-02 12:35:52 -07:00
Jack Danger
0c07c4467a
Merge pull request #1224 from JackDanger/jack/implement-attached-group-policies
...
Implement IAM attached group policies
2017-10-01 17:00:27 -07:00
Jack Danger
353f8387a2
implementing detach_group_policy
2017-10-01 15:05:33 -07:00
Jack Danger
cdb1ebf666
pep8 fixes
2017-10-01 15:02:06 -07:00
Jack Danger
9f02a84d8d
test attaching group policies
2017-10-01 15:02:00 -07:00
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