Commit Graph

894 Commits

Author SHA1 Message Date
Paul Craciunoiu
bdd4ae824b Support ADD for numeric values 2016-01-15 11:53:43 -07:00
Paul Craciunoiu
88cd009c4d Return Item even when item is not found. 2016-01-14 16:20:33 -07:00
Ian Auld
dd6cc305cd Updated more tests. 2016-01-14 14:51:47 -08:00
Ian Auld
06af5365ed Updated tests 2016-01-14 14:25:04 -08:00
Ian Auld
582db74dee Added test for creating a table with a local index. 2016-01-14 11:35:23 -08:00
Steve Pulec
defd106523 Merge pull request #506 from DenverJ/volume_snapshot_filters
Add filters for describeVolumes and describeSnapshots.
2016-01-11 13:30:56 -05:00
Denver Janke
82b0b12e45 Add filters for describeVolumes and describeSnapshots. 2016-01-11 15:46:30 +10:00
Steve Pulec
35478f3a44 Fix AZs for run_instances. Closes #490. 2016-01-10 00:54:53 -05:00
Steve Pulec
96479bf1dc Merge pull request #505 from joshink/master
Reverse before limit
2016-01-10 00:31:13 -05:00
Joshua Inkenbrandt
72bda6d901 Don't do python 2 things in python 3 2016-01-09 18:29:21 -08:00
Joshua Inkenbrandt
33f31652ea Reverse before limit 2016-01-09 17:58:06 -08:00
Paul Craciunoiu
7a6e85517a Quick fix for test in python3.3 2016-01-08 17:46:55 -07:00
Paul Craciunoiu
f1099dd006 Support update_item with map and numeric types. 2016-01-08 17:33:14 -07:00
Paul Craciunoiu
fef748b1c1 Add test. 2016-01-08 17:28:06 -07:00
Steve Pulec
9b0bce93dc Merge pull request #499 from im-auld/partial-save-support-with-range-key
Partial save support with range key
2016-01-08 17:23:04 -05:00
Steve Pulec
f7c775d7ab Revert this solution in favor of fc0fb0d40e. 2016-01-08 17:03:54 -05:00
Steve Pulec
3a2eedc03c Merge pull request #494 from jbencook/BasicECS
Basic ECS support
2016-01-08 17:02:40 -05:00
Steve Pulec
fc0fb0d40e Fix default ASG health check period. 2016-01-08 16:56:10 -05:00
Steve Pulec
d2302bae21 Add Customer Gateway Support. Closes #465 2016-01-08 16:48:01 -05:00
Steve Pulec
d6d6ff56af Merge pull request #486 from pcraciunoiu/feature/dynamodb-query-index
Add query index support for boto3 via dynamodb2
2016-01-08 16:41:55 -05:00
Ian Auld
159e88db53 Added test for supporting partial_save 2015-12-31 10:17:08 -08:00
Steve Pulec
39fef4d367 Merge pull request #468 from EarthmanT/add_support_for_vpn_connections
Adding Support for VPN Connections
2015-12-21 15:18:05 -05:00
jbencook
3737b39e15 create, list, delete for cluster, task and service 2015-12-17 17:13:00 +00:00
jbencook
38c1ae6bc0 specify region 2015-12-15 19:18:30 +00:00
jbencook
5aca483849 Fix default HealthCheckGracePeriod 2015-12-15 18:58:53 +00:00
Paul Craciunoiu
2a367ca4bf Add boto3 GSI and query tests.
* Test query and condition ordering
* Test GSI create/update/delete
* Test throughput
2015-12-14 17:13:35 -07:00
Oleksandr Shulgin
ef4332d892 Fix dict syntax for python-2.6 in test_elb 2015-12-14 12:55:34 +01:00
Oleksandr Shulgin
1ed5f50d56 Fix ELB.describe_tags with multiple LoadBalancerNames. 2015-12-14 12:38:10 +01:00
Steve Pulec
5d421dc343 Cleanup querying missing ELB error. 2015-12-13 22:41:17 -05:00
Steve Pulec
cac88cf3e3 Merge pull request #482 from silveregg/master
Add new endpoints to ELB (fix #479)
2015-12-13 21:50:26 -05:00
Marco Rucci
c8b7511341 Manage instances of ELBs attached to autoscaling group. 2015-12-09 21:40:48 +01:00
mfranke
cace459167 add endpoint tests for AddTags, RemoveTags and DescribeTags to test_elb.py
update sure requirement to 1.2.24
fix assert int to float compare in test_swf/responses/test_timeouts.py
2015-12-09 21:33:42 +01:00
Marco Rucci
284641e8cf Add support for default VPCs and subnets.
The first VPC created will be elected as default.
All subnets of the default VPC are considered default for their availability zone.
2015-12-06 20:58:54 +01:00
Steve Pulec
be3291b758 Merge pull request #475 from silveregg/master
Add Kinesis API and fix some typo
2015-12-05 21:04:41 -05:00
root
84b9a7d101 fix integer division in testcase for py3 2015-12-05 12:46:31 +00:00
root
80688ea2b2 - implement basic sharding scheme
- add API for merge_shards and split_shard
 - add some parater typ checking for put_record(s)
2015-12-05 11:13:34 +00:00
root
1d1bac1958 typo 2015-12-04 09:15:19 +00:00
root
8ae17479d6 add testcases for add, list and remove tags 2015-12-04 09:13:08 +00:00
Chris Henry
2448c4eced Add tests for scheme 2015-12-03 11:25:04 -05:00
earthmant
e98dfb1648 corrected unused import in test_vpn_connectins 2015-12-03 13:51:48 +02:00
earthmant
76a939cee6 making requested fix
used sequence_from_querystring and removed added functon vpn_connection_ids_from_query_string
added tests
2015-12-03 13:35:48 +02:00
Steve Pulec
1bca6f2849 Merge pull request #473 from jszwedko/add-kms-policy-actions
Add KMS policy actions
2015-11-30 13:31:45 -05:00
Steve Pulec
44f0377cc4 Fix root volume to show up in other EC2 volume API calls. Closes 470 2015-11-28 09:19:45 -05:00
Akira Chiku
d6af1b9ae5 Merge remote-tracking branch 'upstream/master' 2015-11-28 18:50:32 +09:00
Steve Pulec
0df03ba409 cleanup code. 2015-11-27 14:43:03 -05:00
Steve Pulec
1df454a632 first working version of s3 refactor. 2015-11-27 14:14:59 -05:00
Steve Pulec
705ec314a3 Cleanup different places using unix_time() 2015-11-27 14:14:40 -05:00
Steve Pulec
eabcb3d39c Merge pull request #451 from botify-labs/feature/add-swf
[wip] Add SWF support
2015-11-26 09:50:01 -05:00
Andrew Garrett
136f622b3b Add KMS policy actions
Adds the following to the KMS service
* PutKeyPolicy
* GetKeyPolicy
* ListKeyPolicies

Signed-off-by: Jesse Szwedko <jesse.szwedko@getbraintree.com>
2015-11-25 19:50:55 +00:00
Andrew Garrett
f1566cecf4 Add support for KMS key rotation operations
This adds support for the following KMS endpoints:

* EnableKeyRotation
* DisableKeyRotation
* GetKeyRotationStatus

Signed-off-by: Jesse Szwedko <jesse.szwedko@getbraintree.com>
2015-11-24 23:44:55 +00:00
Jean-Baptiste Barth
566a90800e Make SWF events formatting more generic
(suggested in @spulec review)
2015-11-23 14:52:16 +01:00
Jean-Baptiste Barth
a06f8b15f5 Add moto.core.utils.underscores_to_camelcase() 2015-11-23 14:09:31 +01:00
Jean-Baptiste Barth
a4dfdc8274 Add basic tests for moto.core.utils.camelcase_to_underscores() 2015-11-23 14:04:14 +01:00
Jean-Baptiste Barth
248975d4e6 Improve SWF timeouts processing: now processed in order, one by one 2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
d007dfe3ff Remove process_timeouts() method in favor of timeout(<Timeout>) and a helper for tests 2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
65c35bfa69 Make timeout events appear at the right time in workflow history 2015-11-19 11:45:27 +01:00
Jean-Baptiste Barth
d618585790 Refactor timeouts processing so it will be easier to compute them in order 2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
61bb550052 Ensure activity and decision tasks cannot progress on a closed workflow
This is a second barrier because I'm a little nervous about this and I
don't want moto/swf to make any activity progress while in the real
world service, it's strictly impossible once the execution is closed.
Python doesn't seem to have any nice way of freezing an object so here
we go with a manual boundary...
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
65c95ab5bc Ensure activity and decision tasks cannot timeout on a closed workflow 2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
f38d23e483 Implement start to close timeout on SWF workflow executions 2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
86973f2b87 Implement start to close timeout on SWF decision tasks 2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
e32fef50b6 Fix random list ordering bugs on python 3.x in moto/swf tests 2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
2cd3d5fb45 Fix python 3.x compatibility regarding iterations on a dict
Error on travis-ci was:

    AttributeError: 'dict' object has no attribute 'iteritems'

And actually it's been removed in python 3.x in favor of dict.items()
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
f4feec4727 Fix timestamps in tests as Travis builds run on GMT time
When launched manually, tests should be launched with the environment
variable TZ=GMT. Maybe this could be useful to add that explicitly
somewhere in the README or in the Makefile.
2015-11-19 11:45:26 +01:00
Jean-Baptiste Barth
90c8797abd Implement heartbeat timeout on SWF activity tasks 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
f576f3765c Add SWF endpoint RecordActivityTaskHeartbeat 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
804d2e91b5 Improve workflow selection before raising a WorkflowExecutionAlreadyStartedFault 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
96d6bb056b Add SWF endpoint TerminateWorkflowExecution 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
98948a01c8 Add missing attributes in DescribeWorkflowExecution responses 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
fd12e317f8 Add SWF endpoint RespondActivityTaskFailed 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
c9e8ad03f8 Add SWF endpoint RespondActivityTaskCompleted 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
08643945df Add SWF endpoint CountPendingActivityTasks 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
761ab816f9 Add SWF endpoint PollForActivityTask 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
a0e484fa6d Move setup_workflow() test function in test utils 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
be71909a8c Rework task lists for activity/decision tasks 2015-11-19 11:45:25 +01:00
Jean-Baptiste Barth
eadc07bf61 Reorganize SWF tests so they're shorter and easier to use 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
5e086223c2 Implement ScheduleActivityTask decision 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
53630dc061 Add a Domain to WorkflowExecution objects
This will be needed later for finding an activity type for instance.
2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
fa4608be98 Add basic ActivityTask model 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
49e44c8ee6 Fix openDecisionTasks counter not updated when we complete a DecisionTask 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
918cf8a4e3 Fix decision parameters: attributes are in foo*Decision*Attributes 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
417f732b53 Implement FailWorkflowExecution decision 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
558b84fb6a Add checks for *DecisionAttributes within RespondDecisionTaskCompleted 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
0749b30fb4 Add some basic checks on SWF decisions, more to come later 2015-11-19 11:45:24 +01:00
Jean-Baptiste Barth
381eb5eb0f Implement CompleteWorkflowExecution decision 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
d97c770849 Add first version of SWF endpoint RespondDecisionTaskCompleted
There's just the structure for now, for now the workflow execution
doesn't know how to handle any decision type.
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
c72c198208 Fix WorkflowExecution event ids not increasing 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
a137e5c5c9 Add SWF endpoint CountPendingDecisionTasks 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
4e223d2318 Fix PollForDecisionTask not respecting requested task list 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
aa4adbb76e Implement reverseOrder option for GetWorkflowExecutionHistory and PollForDecisionTask 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
c16da9da2d Add SWF endpoint PollForDecisionTask and associated DecisionTask model 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
8d435d8afe Refactor SWF exceptions testing so responses tests get simpler 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
464aef293c Add SWF endpoint GetWorkflowExecutionHistory and associated HistoryEvent model 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
3ce5b29356 Handle WorkflowExecution/WorkflowType options inheritance
... and potential resulting DefaultUndefinedFault errors.
2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
6a8636ad21 Remove unused import in SWF test 2015-11-19 11:45:23 +01:00
Jean-Baptiste Barth
2878252816 Add SWF endpoint: DescribeWorkflowExecution 2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
a589dc08b5 Make workflow_id a required property of WorkflowExecution
Given the response of DescribeWorkflowExecution endpoint, the
WorkflowExecution has to know about its own workflowId.
2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
c08c20d197 Move SWF Domain full dict representation to model 2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
92cf64c2ad Add SWF endpoint: StartWorkflowExecution 2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
33c478bc62 Move SWF Domain related tests with other models tests 2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
036ab194ba Add 'status' to SWF *Type string representation 2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
8b02c0b85e Move *Type __repr__ to GenericType 2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
5c02fcd94b Abstract away SWF *Type models logic into a GenericType class 2015-11-19 11:45:22 +01:00
Jean-Baptiste Barth
9483355584 Prepare SWF objects representations directly via json.dumps()
... instead of jinja2 templates that are absolutely not suited for this
purpose, and hard to test.
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
c4e903706c Add SWF endpoints: RegisterWorkflowType, DeprecateWorkflowType, ListWorkflowTypes, DescribeWorkflowType 2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
b680b2ec3c Add SWF endpoints: RegisterActivityType, DeprecateActivityType, ListActivityType, DescribeActivityType 2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
cb46eac513 Implement naive reverseOrder option for SWF's ListDomains endpoint 2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
9440531d0c Move SWF domain related tests in their own file
It will simplify other objects integration
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
5392978eaf Check parameters are strings on SWF endpoints
SWF endpoints raise a 400 Bad Request for non-string types, and boto
doesn't enforce it as of today, so better have some safety nets in moto
to avoid this common mistake.

Example exception raised by Boto:

    SWFResponseError: SWFResponseError: 400 Bad Request
    {u'Message': u'class java.lang.Short can not be converted to an String',
    u'__type': u'com.amazon.coral.service#SerializationException'}
2015-11-19 11:45:21 +01:00
Jean-Baptiste Barth
8e3fd6c7de Add SWF endpoints: RegisterDomain, DeprecateDomain, ListDomains, DescribeDomain 2015-11-19 11:45:20 +01:00
Akira Chiku
7a11500171 Implement JSON responses for EMR (for Boto3) 2015-11-15 17:24:36 +09:00
Steve Pulec
c38731ecbb Add ACL support for S3 buckets. 2015-11-11 20:26:29 -05:00
Ian Dees
5115e50bd0 The message has to be bigger 2015-11-10 11:39:00 -05:00
Ian Dees
a4e86494e1 Add a test for a message that is too long 2015-11-10 11:24:55 -05:00
Steve Pulec
8d41d0019b Add basic support for AttributeUpdates in Dynamo update_item. Closes #449. 2015-11-07 16:45:24 -05:00
Steve Pulec
18d63a6cfe Add basics of S# website configuration. Closes #442. 2015-11-04 18:55:41 -05:00
Steve Pulec
cddf139bbc Add ability to create EBS volumes from snapshots. Closes #447. 2015-11-03 09:37:02 -05:00
Steve Pulec
d3e4c2c4b5 Add ability for specific backends to enable template escaping. Closes #441. 2015-11-03 09:25:47 -05:00
Steve Pulec
73452c79f7 Add milliseconds to EC2 launch time. Closes #445. 2015-11-02 23:33:39 -05:00
Steve Pulec
d9faab3e5e Fix error for describing kinesis stream that has not been created. 2015-11-02 13:25:31 -05:00
Steve Pulec
1c95de421d Merge pull request #446 from spulec/firehose
firest draft of firehose support.
2015-10-30 10:55:25 -04:00
Steve Pulec
fe2126b727 py26 fix 2015-10-30 10:04:08 -04:00
Steve Pulec
ac1bb336c8 firest draft of firehose support. 2015-10-30 09:59:57 -04:00
Steve Pulec
3622fd172e Merge pull request #437 from gvlproject/master
Set snapshots to be in a completed state after being created and added
2015-10-17 23:10:14 -04:00
nuwan_ag
0b3ad166c0 Set snapshots to be in a completed state after being created and added
test case
2015-10-14 02:34:36 +11:00
Mike Kaplinskiy
131d44f0ad Add S3 ACL supprt. 2015-10-07 00:14:37 -07:00
milesoc
b3096af098 Set tags in response, fix tests for tags 2015-10-06 18:07:58 +00:00
Miles O'Connell
3c38a551b2 Adding tags to AutoScalingGroups 2015-10-06 09:21:26 -07:00
Steve Pulec
37f86626cc Merge pull request #425 from ZuluPro/random_key_pair
Remade ec2.utils.random_key_pair for be really random
2015-10-05 18:25:17 -04:00
Steve Pulec
507c03a0c7 Merge pull request #424 from ZuluPro/keypairs
Implemented import key pair
2015-10-05 18:24:21 -04:00
Hugo Lopes Tavares
e5675e9533 Change CloudFormationResponse.get_template() to return GetTemplateResponse/GetTemplateResult/TemplateBody 2015-10-05 15:21:30 -04:00
ZuluPro
b85b415977 Implemented import key pair 2015-09-24 17:34:08 +02:00
Steve Pulec
f72613cc47 Fix queue urls for other regions. Closes #411. 2015-09-19 09:18:16 -04:00
Steve Pulec
5a8f3bd616 Merge pull request #412 from ybastide/master
Tweak ResponseObject to let bucket.delete_keys work with s3bucket_path.
2015-09-19 09:04:17 -04:00
Steve Pulec
d58afc13fd Merge pull request #413 from jszwedko/master
Add support for latency based route53 records
2015-09-19 09:03:38 -04:00
Hugo Lopes Tavares
dafddb094b Implement CloudFormation's physical_resource_id for Data Pipeline 2015-09-17 15:29:14 -04:00
Hugo Lopes Tavares
8623483c0f Change data pipeline responses to start with lowercase characters 2015-09-17 15:26:35 -04:00
Steve Pulec
66dce44214 Update cloudformation test for previous commit. 2015-09-16 18:17:20 -04:00
Steve Pulec
65dd7f7639 Change fields to be start with lower case based on examing of real AWS calls. 2015-09-16 18:13:44 -04:00
Hugo Lopes Tavares
25f9e8b588 Change CloudFormation to support Data Pipelines 2015-09-16 17:49:13 -04:00
Hugo Lopes Tavares
0cef332840 Add support to ListPipelines 2015-09-16 15:49:15 -04:00
Steve Pulec
db23b7d24c Fix state to start as PENDING and only become SCHEDULED on activation. 2015-09-16 11:22:52 -04:00
Steve Pulec
b0ea9f2859 Fix tests for server mode. 2015-09-16 10:11:43 -04:00
Steve Pulec
95169c6011 First version of datapipelines. 2015-09-16 10:00:38 -04:00
ZuluPro
23c2e7835e Remade ec2.utils.random_key_pair for be really random 2015-09-15 20:09:35 -04:00
Jesse Szwedko
14ec3531ff Add support for latency based route53 records
Store and marshal the region field of records

Signed-off-by: Kevin Donnelly <kevin.donnelly@getbraintree.com>
2015-09-08 21:36:32 +00:00
zeb
b59a77d5bb Tweak bucket.delete_keys for s3bucket_path. 2015-09-04 19:02:26 +02:00
Steve Pulec
1dcfcbca57 Add cloudformation tags. 2015-08-31 16:48:36 -04:00
Dustin J. Mitchell
7470a9f68b update test_messages_polling to assume messages are returned immediately 2015-08-31 11:54:17 -04:00
Steve Pulec
984e221cab Merge pull request #408 from pitluga/elb_boto3_support
Make all existing ELB endpoints compatible with boto3
2015-08-26 22:55:29 -04:00
Tony Pitluga
1d8252feea Make all existing ELB endpoints compatible with boto3 2015-08-24 15:07:14 +00:00
Pior Bastida
2650eab295 Implement XML responses for SNS (for Boto3) 2015-08-20 14:57:17 -04:00
Steve Pulec
ebfe7bb7b8 Merge pull request #398 from jotes/sqs_polling_messages
Added support for WaitTimeSeconds in SQS #392
2015-08-13 17:24:27 -04:00
Adam DePue
a6c6edbca4 Add more boto3 s3 tests 2015-08-13 21:18:25 +00:00
Jot
178d1c3a93 Added support for WaitTimeSeconds in SQS #392 2015-08-13 02:58:14 +02:00
Steve Pulec
73f03d1ccf Add redshift support for cloudformation. 2015-08-08 13:29:37 -04:00
Steve Pulec
323f720cb5 Fix S3 bucket policy delete. Closes #396. 2015-08-07 22:43:24 -04:00
Steve Pulec
df6ff57d24 Fix ASG instance_type. 2015-08-03 21:52:43 -04:00
Steve Pulec
1814db3dfb Fix launch configuration instance types. 2015-08-03 21:48:17 -04:00
Steve Pulec
ed38a296db Merge pull request #390 from jotes/iam_sns_server
Added server backends with tests for IAM and SNS services.
2015-08-03 18:58:53 -04:00
Jot
930ac58a4d Added sns backend to servers, added some tests to check backend 2015-08-04 00:20:04 +02:00
Ilya Sukhanov
6a89786007 Remove hardcoded region in ebs test 2015-08-03 10:45:01 -04:00
Ilya Sukhanov
1819cd7636 Make test_create_and_delete_topic python 2.6 compatible 2015-08-03 10:32:33 -04:00
Ilya Sukhanov
9904193d66 Merge branch 'master' into sns_regions 2015-08-03 10:22:55 -04:00
Ilya Sukhanov
e08796bcf4 Keep current region when creating SNS ARN topic 2015-08-03 10:19:04 -04:00
Jot
42b95023f5 Added iam backend to servers, added some tests to check backend 2015-08-03 00:31:36 +02:00
Steve Pulec
71d2e1d7de Python3 fixes for cloudformation server. 2015-08-02 11:37:10 -04:00
Steve Pulec
84c9dd03d2 Merge pull request #387 from jotes/server_cloudformation
Enabled cloudformation in server mode, added some tests
2015-08-02 11:34:46 -04:00
Jot
b2570d901e Enabled cloudformation in server mode with some tests 2015-08-02 16:31:16 +02:00
Steve Pulec
dd092fa9dc Fix s3 py3 test for unicode. 2015-08-02 09:59:16 -04:00
Steve Pulec
ff8dd7530d Add boto3 s3 test. 2015-08-02 09:54:23 -04:00
Steve Pulec
519726a70a Cleaning up SQS for boto3. Closes #385. 2015-08-02 09:45:40 -04:00
Steve Pulec
4543db567c Merge pull request #384 from rocky4570/volmods
volmods
2015-08-01 19:37:25 -04:00
Steve Pulec
e4408152d1 Add KeyConditionExpression to dynamo. 2015-08-01 19:32:33 -04:00
Rob Walker
7b3f17e8f0 add modified tests for volume and snapshot changes. 2015-07-26 09:53:03 +10:00
Steve Pulec
9c81b7340c Merge pull request #383 from spg/s3_policy
S3: Bucket policy
2015-07-25 17:09:00 -04:00
Steve Pulec
1e195d0e7a Merge pull request #381 from spg/kms/alias
KMS: aliases
2015-07-25 17:06:05 -04:00
Simon-Pierre Gingras
dc0557205d S3: Bucket policy 2015-07-23 17:33:52 -04:00
Simon-Pierre Gingras
6b501a39a7 KMS: aliases 2015-07-23 10:56:33 -04:00
Ilya Sukhanov
9bf5c2e706 CloudWatch DescribeAlarm filters.
Adds support for filtering by:
action_prefix
alarm_name_prefix
alarm_names

And throw NotImplementedError when filtering by:
state_value
2015-07-22 21:08:39 -04:00
Andrew Harris
ea2fe6f290 change usages of long conversion to int for python3 2015-07-16 18:23:13 -07:00
Andrew Harris
2a8fc19e77 remove extraneous print statements 2015-07-16 16:07:23 -07:00
Steve Pulec
75461cb110 Fix dynamo item not found. 2015-07-16 15:33:00 -07:00
Andrew Harris
bbb021d06d implement mocking for lb policies 2015-07-16 15:32:51 -07:00
Steve Pulec
4020141478 Fix cloudformation subnet tagging. 2015-07-13 19:27:00 -04:00
Steve Pulec
53fff2eb84 Add UpdateStack functionality for Cloudformation. 2015-07-13 13:56:46 -04:00
Steve Pulec
7f73d7e26d Add cloudformation list_stack_resources. 2015-07-13 11:05:36 -04:00
Akira Chiku
91edbb21bf Make EMR multi-region 2015-07-12 19:32:16 +09:00
Steve Pulec
af45424b9e Merge pull request #371 from apjaffe/master
Adds the ConditionalCheckFailedException to put_item
2015-07-08 20:54:53 -04:00
Alan Jaffe
898d200110 Add tests for ConditionalCheckFailedException 2015-07-08 11:55:12 -04:00
Shulman Evgeny
e498c95807 feature emr: set_termination_protection call implementation
feature emr: support for instance_groups param in run_jobflow
2015-07-08 10:26:58 +03:00
Steve Pulec
abb3357925 Merge pull request #369 from MurphyMarkW/byteranges
Improves range request support.
2015-07-06 21:27:43 -04:00
MurphyMarkW
5b9c874a23 Ensures all tests compare using bytes / bytearrays in 3.x. 2015-06-30 13:02:38 -05:00
Steve Pulec
70aafc1fd3 Add basic KMS key endpoints. 2015-06-30 05:44:39 -04:00
MurphyMarkW
0fcbdd52e0 Adds / moves around tests for different ranges. 2015-06-30 02:08:45 -05:00
MurphyMarkW
10c3a37613 Adds test for explicit last-byte-pos > length. 2015-06-30 00:27:10 -05:00
MurphyMarkW
f64d0b99ac Tests for last-byte-pos behavior. 2015-06-29 20:26:00 -05:00
Steve Pulec
185b49ad66 Merge pull request #366 from spg/fix/iam_get_role
IAM: get_role should thrown when role is unexisting
2015-06-29 10:51:47 -04:00
Simon-Pierre Gingras
db7d7a9330 IAM: get_role should thrown when role is unexisting 2015-06-29 10:46:05 -04:00
Marco Rucci
6e97bec006 Add support for alias records in Route53. 2015-06-28 17:27:24 +02:00
Steve Pulec
3ed9428cb0 Cleanup class decorator. Closes #363. 2015-06-27 19:01:01 -04:00
Steve Pulec
5ee1525cd8 Fix S3 missing key error. Closes #364. 2015-06-27 17:56:37 -04:00
Steve Pulec
57f1199b35 Fix route53 multiple values bug. Closes #358. 2015-06-05 21:29:20 -04:00
Steve Pulec
d602199727 More python 3 fixes. 2015-06-05 20:09:15 -04:00
Steve Pulec
1177985e19 Python 3 fixes. 2015-06-05 19:56:43 -04:00
Steve Pulec
625b1d2ac6 Add basics of Glacier. 2015-06-05 19:36:43 -04:00
Steve Pulec
7156df1a63 Add vault operations. 2015-06-03 22:55:07 -04:00
Steve Pulec
b296294086 Add missing test from previous commit. 2015-06-02 23:13:51 -04:00
Steve Pulec
72dbd349ac Merge pull request #355 from deuxpi/cloudwatch-put-metric-data
Add put_metric_data and list_metrics
2015-05-29 23:36:23 -04:00
Steve Pulec
0195e04053 Allow deleting of SQS invisible messages. Closes #352. 2015-05-29 23:26:43 -04:00
Steve Pulec
6b44e41249 Add SQS purge_queue action. Closes #349. 2015-05-29 23:21:14 -04:00
Philippe Gauthier
d5d9c13975 Add put_metric_data and list_metrics 2015-05-29 17:34:36 -04:00
Kevin Donnelly
3c75e0ef2e Fix bug where listener certificate was not being saved correctly when
creating an elb. Added test to cover that case.

Paired with @jszwedko
2015-05-20 19:42:58 +00:00
Zack Kourouma
f03ded7e90 [dynamodb2] adds lookup method to Table class
includes additional test coverage
2015-05-20 11:20:16 -04:00
Steve Pulec
be5f041416 Add IAM list_groups and list_groups_for_user. Closes #343. 2015-04-30 19:32:53 -04:00
Steve Pulec
d1c823e0d8 Fix for deleting Route53 record sets with set identifiers. Closes #342. 2015-04-30 18:51:01 -04:00
Philip Corliss
b27f3c3d9f Adding support for comments on hosted zones.
Paired with @kpdonn
2015-04-23 19:01:20 +00:00
Hugo Lopes Tavares
5160fac9b7 Add availability zone support to Subnets created via CloudFormation 2015-04-08 16:48:02 -04:00
Hugo Lopes Tavares
65d51a5844 Make availability zone dynamic in Subnet Response templates 2015-04-08 16:47:43 -04:00
Hugo Lopes Tavares
56cb06041c Add filter "availabilityZone" to DescribeSubnets and add availability zone support too 2015-04-08 15:07:29 -04:00
Steve Pulec
82214d2bc2 Fix bug with empty string for instance vpc_id. Closes #337. 2015-03-28 14:30:30 -04:00
Steve Pulec
a97beb0598 Fix merge conflicts. 2015-03-22 16:00:16 -04:00
Marco Rucci
08468e5f73 Add support for ELB attributes. 2015-03-22 15:35:27 +01:00
Steve Pulec
c0d19ab178 General cleanup. 2015-03-14 18:55:44 -04:00
Steve Pulec
6c9bba2ca1 Cleanup EC2 classic default security group. 2015-03-14 18:50:41 -04:00
Steve Pulec
82f19952dd Add Dynamodb2 global indexes. Closes #329. 2015-03-14 15:02:43 -04:00
Steve Pulec
706c60175b Add SNS applications and endpoints. 2015-03-14 09:06:31 -04:00
Jair Henrique
bdb0f1e315 add tests for list_endpoints_by_platform_application 2015-03-06 14:35:17 -03:00
Steve Pulec
bf32bdc042 Merge pull request #326 from jraby/patch-2
Add test_multipart_duplicate_upload
2015-03-05 19:30:40 -05:00
Steve Pulec
3ac97318e1 Fix etag for reduced min part size. 2015-03-05 19:05:06 -05:00
jraby
4a14d8d3b3 Add test_multipart_duplicate_upload
Test to make sure we do not duplicate data when uploading the same part twice
2015-02-27 18:48:51 -05:00
jraby
5ba8421242 Fix reduced_min_part_size so that tests run 2015-02-27 18:42:37 -05:00
Steve Pulec
2cd633e27d Merge pull request #323 from mikegrima/mgrima-add-boto-test-list_instance_profiles_for_role
Added in test for the boto IAM method: list_instance_profiles_for_role()
2015-02-27 15:32:16 -05:00
Mike Grima
3a357c0fe3 Added in test for the boto IAM method: list_instance_profiles_for_role() 2015-02-26 21:28:15 -08:00
Hugo Lopes Tavares
4beda26007 Change SecurityGroupBackend.{authorize,revoke}_security_group_ingress() methods to receive group name or id, never both 2015-02-25 18:11:00 -05:00
Hugo Lopes Tavares
dc351dfc9e Add support to AWS::EC2::SecurityGroupIngress creation 2015-02-25 12:20:25 -05:00
Steve Pulec
c0e80de4d3 Merge pull request #317 from spulec/ec2-security-group-tag-filtering
Add support to tag filtering to Security Groups
2015-02-24 18:00:51 -05:00
Hugo Lopes Tavares
20d8318997 Add support to tag filtering to Security Groups 2015-02-24 17:56:26 -05:00
Andy Altepeter
b987914c72 slight change in formatting 2015-02-24 07:43:43 -06:00
Andy Altepeter
b66ee09abe fix test for ec2 instance type filter 2015-02-24 07:39:50 -06:00
Andy Altepeter
e17c7bbd7a support 'instance_type' filter 2015-02-23 11:03:59 -06:00
Andy Altepeter
d2d82333f9 support tag-value instance filter 2015-02-23 10:52:47 -06:00
Andy Altepeter
53ec30e3ba support 'tag-key' instance type 2015-02-23 10:45:16 -06:00
John Lynn
19d12d3bc3 Add failing test for bucket versioning 2015-02-22 22:22:32 +07:00
Konstantinos Koukopoulos
f46c2508c0 allow running mock_s3 and mock_s3bucket_path one after the other 2015-02-20 21:50:49 +02:00
Konstantinos Koukopoulos
86cba4e82c create a new connection after exiting context manager in test_decorator_calls 2015-02-20 21:39:26 +02:00
Konstantinos Koukopoulos
04b86fe362 add missing decorator to cloudformation test 2015-02-20 17:28:49 +02:00
Steve Pulec
747563e4ff Cleanup tag escape testing. 2015-02-17 22:18:40 -05:00
Hugo Lopes Tavares
8d25aa2529 Add support to create AWS::EC2::VPCPeeringConnection through the CloudFormation interface 2015-02-17 14:40:48 -05:00
Steve Pulec
136873d49e Cleanup public IPs for EC2 classic instances and fix some default ENI things. 2015-02-14 14:42:20 -05:00