Dustin J. Mitchell
ad200286a5
use the current ec2 backend, not necessarily us-east-1, for vpc operations
2014-10-23 22:26:52 -04:00
Joseph Lawson
0aec1d0f92
create_stack returns stack_id
2014-10-23 14:55:40 -04:00
Joseph Lawson
90191675a2
Deleted Stack Fix and ValidationError for DescribeStacks.
...
* stop backed from trying to iterate over empty list of deleted stacks.
* Update DescribeStacks to throw ValidationError if stack name or id doesn't exist.
2014-10-23 14:39:15 -04:00
Joseph Lawson
94e969fed5
Enhance DescribeStacks. Keep track of deleted stacks. Stack status.
...
Made describe_stacks more in line with http://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_DescribeStackResource.html
2014-10-22 23:58:42 -04:00
Steve Pulec
ef3fcecc87
Merge pull request #238 from DreadPirateShawn/ModifyInstanceAttributeSourceDestCheck
...
ModifyInstanceAttribute: Added support for 'SourceDestCheck.Value'.
2014-10-22 20:25:09 -04:00
dreadpirateshawn
4f847cfb4b
ModifyInstanceAttribute: Added support for 'SourceDestCheck.Value'.
2014-10-22 15:11:37 -07:00
Joseph Lawson
ff27ef9e91
XML escape body of sqs message body prior to encoding to XML
2014-10-22 16:05:26 -04:00
Steve Pulec
c02ed667d5
Merge pull request #235 from joekiller/enhance/cloudformation_getatt_tags_and_resource_naming
...
Enhance/cloudformation getatt tags and resource naming
2014-10-21 22:37:01 -04:00
Steve Pulec
bcef13700d
Merge pull request #234 from DataDog/add_instance_reason
...
EC2: Add instance state reason
2014-10-21 22:11:23 -04:00
Joseph Lawson
184d5be54a
remove debug exception catch
2014-10-21 21:58:39 -04:00
Steve Pulec
9559c6f746
Merge pull request #230 from joekiller/fix_unsupported_metadata
...
raise NotImplementedError on unknown metadata path
2014-10-21 19:02:41 -04:00
Joseph Lawson
d4cbc71b0a
fix eip physical_resource_id not returning an public_ip if it is in EC2 classic.
2014-10-21 16:37:54 -04:00
Joseph Lawson
54794651d3
implement Fn::Join
2014-10-21 16:29:51 -04:00
Joseph Lawson
d55a0b6ef0
default eip domain to 'standard' for cloudformation creations
2014-10-21 15:59:28 -04:00
Joseph Lawson
a8b967eab0
eip resources have no required properties.
2014-10-21 15:53:38 -04:00
Joseph Lawson
20a69255c3
tweak Fn::GetAtt to return resource_json if resource is not implemented. DRY
...
This is better than failing out with a misleading Boto 400 error which should only happen when get_cfn_attribute is called but fails.
2014-10-21 14:51:26 -04:00
Joseph Lawson
1d9ffafaa5
create CloudFormation outputs and enable 'Fn::GetAtt' to work.
2014-10-21 12:45:03 -04:00
Arthur Wang
c0049578cb
Test filtering get_instances by reason code
2014-10-20 21:00:33 +00:00
Arthur Wang
6963866c7e
Add ec2 instance state reason
...
- Add instance.reason and instance.state_reason
(http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-Item
Type-StateReasonType.html)
- Add ec2 filtering by state-reason-code and state-reason-message
2014-10-20 19:56:34 +00:00
Joseph Lawson
832769b8a7
Name resources via CloudFormation naming convention and tag EC2 resources.
...
* Make sure taggable resources are tagged per convention: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-stack-parameters.html
* Update CloudFormation parsing to use logical resource ids and name resources as CloudFomation would.
* Fix tests for CloudFormation stack integration.
2014-10-20 15:16:39 -04:00
Joseph Lawson
91a74424e5
Handle Name Type resources for CloudFormation
2014-10-20 11:45:47 -04:00
Joseph Lawson
cb88b8783d
raise NotImplementedError on unknown metadata path
2014-10-15 13:43:38 -04:00
dreadpirateshawn
89fd71eb16
Route Tables: Added support for associate/disassociate subnets. (fixed idempotency)
2014-10-14 14:23:14 -07:00
dreadpirateshawn
db044df0a9
Route Tables: Added support for associate/disassociate subnets. (added replace route table association)
2014-10-14 11:23:42 -07:00
dreadpirateshawn
5d046c76e5
Route Tables: Added support for associate/disassociate subnets.
2014-10-13 16:19:54 -07:00
Steve Pulec
68d2db55d4
Add VPC state.
2014-10-12 21:51:12 -04:00
Hugo Lopes Tavares
aee47395f7
Implement "name" filter to ec2.models.AMI
2014-10-10 15:14:46 -04:00
Joseph Lawson
b9f747fb4f
test ip_ranges when authorizing security group ingress rules
2014-10-06 14:49:37 -04:00
Steve Pulec
b82507e41b
Add instance_id to spot instance requests. Closes #210 .
2014-10-05 22:55:36 -04:00
Steve Pulec
9de7969d2b
Fix merge conflicts.
2014-10-05 21:55:23 -04:00
Steve Pulec
8ab284a9d2
Merge pull request #222 from ralfas/master
...
Added basic support for SQS MessageAttributes.
2014-10-05 21:10:48 -04:00
Ralfas
76aa9a8b22
Added basic support for SQS MessageAttributes.
2014-10-05 19:10:49 +01:00
Steve Pulec
f0724d458e
Merge pull request #216 from DreadPirateShawn/ImplementCopyImage
...
AMI: Implement copy_image.
2014-10-05 10:55:48 -04:00
dreadpirateshawn
2dfd1799ae
AMI: Implement copy_image. (part 4, minor refactor for clarity)
2014-10-01 07:59:02 -07:00
Omer Katz
efa687f41d
Added tag filters to some of the entities.
2014-10-01 16:18:46 +03:00
Omer Katz
4ec95bac74
Merge branch 'feature/vpc-filters'
2014-10-01 15:56:23 +03:00
Omer Katz
298cf65569
Added the ability to filter by tag-value and refactored the filters to be generic.
2014-10-01 15:44:54 +03:00
Omer Katz
444ab96b4f
Added the ability to filter by tag-key.
2014-10-01 15:33:12 +03:00
Steve Pulec
27ef345b64
Merge pull request #218 from thedrow/feature/vpc-filters
...
Added the cider block, dhcp options id and tag filter to the VPC backend
2014-10-01 08:04:12 -04:00
Steve Pulec
b0fd12dc35
Merge pull request #219 from joekiller/ami_filter_state
...
allow get_filter_value to return state of ami and test
2014-09-30 22:25:34 -04:00
Joseph Lawson
7fca88e732
Test Fixes and tag:
filter.
...
* fixed test_ec2.test_amis.test_ami_filters to test for AMIs in the state of 'available'
* enhanced AMI's to be able to take `tag:` filter.
* added tag: tests for AMIs
2014-09-30 16:42:52 -04:00
Joseph Lawson
866d8b4ea8
allow get_filter_value to return state of ami and test
...
* updated Ami.get_filter_value to return the state value of the AMI
* updated test_ec2.test_amis.test_ami_filters to test for AMIs in the state of 'available'
2014-09-30 16:12:23 -04:00
Omer Katz
89bd78b927
Added the ability to filter vpcs by tags.
2014-09-30 17:58:02 +03:00
Omer Katz
ecb23485d0
VPCs can now be filtered by cider block and dhcp options id
2014-09-30 17:29:50 +03:00
Omer Katz
a1be4b7f61
VPCs can now be filtered by id.
2014-09-30 17:08:36 +03:00
dreadpirateshawn
1940f7c17a
AMI: Implement copy_image. (part 2, tweaked launch_permission_groups init)
2014-09-29 12:18:39 -07:00
dreadpirateshawn
a4fdce2e55
AMI: Implement copy_image.
2014-09-29 12:06:36 -07:00
Omer Katz
a63e6d2459
netbios type should be coerced to integer.
...
Otherwise the check always fails.
2014-09-29 18:41:50 +03:00
Steve Pulec
2650d9981f
Merge pull request #208 from clorenz7/master
...
Make S3 Model Timestamps Consistent By Using UTC
2014-09-15 20:53:35 -04:00
Cory Lorenz
5320b39912
Make S3 Model Timestamps Consistent By Using UTC
...
UTC seems to be default timezone for AWS, and the time strings are reporting as GMT, yet the date time is the local time zone.
2014-09-12 15:37:22 -07:00
dreadpirateshawn
04a4ae88bf
Network Interfaces: Added attach/detach support.
2014-09-12 10:53:37 -07:00
dreadpirateshawn
f4d2623a4c
DescribeInstances: Added block_device_mapping to XML
2014-09-11 11:29:20 -07:00
Steve Pulec
b8afb3be90
Merge pull request #198 from DreadPirateShawn/VPCDefaultSecurityGroup
...
VPC: Added default security group upon creation.
2014-09-10 20:57:47 -04:00
Steve Pulec
85f9193dc7
Merge pull request #196 from DreadPirateShawn/SecurityGroupsFilteringFix
...
Security Groups: Fix for filtering support.
2014-09-10 20:55:47 -04:00
Steve Pulec
a703bc0dd9
Merge pull request #200 from DreadPirateShawn/CleanupDuplicateImport
...
Cleanup: Removed duplicate import.
2014-09-10 20:52:52 -04:00
Shawn Falkner-Horine
c2cd5b346f
Routes: Fixed vpc_peering_connection_id in describe route tables.
2014-09-10 12:22:01 -07:00
Shawn Falkner-Horine
de69a58cf8
Cleanup: Removed duplicate import.
2014-09-10 11:43:27 -07:00
Shawn Falkner-Horine
2cf97ef193
VPC: Added default security group upon creation.
2014-09-10 11:15:43 -07:00
Shawn Falkner-Horine
3f266ebc2b
Security Groups: Fix for filtering support.
2014-09-10 09:42:38 -07:00
Konstantinos Koukopoulos
0502427ac1
treat request.headers as a more general list of dicts
2014-09-10 17:37:20 +03:00
Steve Pulec
11dbe5c10f
Fix for vpc id in eni template.
2014-09-09 21:14:16 -04:00
Steve Pulec
f0a6510ca3
Merge pull request #191 from DreadPirateShawn/ImplementNetworkInterfaces
...
Network Interfaces: Initial implementation.
2014-09-09 21:12:06 -04:00
Steve Pulec
1bbb7a70ad
Merge pull request #188 from DreadPirateShawn/ImplementRouteTables
...
Route Tables / Routes: Initial implementation.
2014-09-09 20:48:43 -04:00
Steve Pulec
2cbdef663f
Merge pull request #186 from bobbyi/spot_instance_tags
...
Spot instance tags
2014-09-08 23:22:13 -04:00
Steve Pulec
3feaa39bd3
Merge pull request #185 from bobbyi/filter_instances_by_tag
...
Support filtering instances by tag
2014-09-08 23:19:43 -04:00
Steve Pulec
c1497886f2
Small IAM param parsing cleanup.
2014-09-08 23:11:20 -04:00
Steve Pulec
2f66709583
Merge pull request #184 from invenia/master
...
Additional IAM endpoints
2014-09-08 23:06:37 -04:00
Steve Pulec
79e31e7287
Fix route53 hosted zone id parsing.
...
The zone id previously contained hostedzone/<zone_id>
2014-09-08 22:00:55 -04:00
Shawn Falkner-Horine
9296779999
Network Interfaces: Initial implementation. (fixed ElasticAddress cloudformation 'associate_address' call)
2014-09-08 17:02:37 -07:00
Shawn Falkner-Horine
42f8cea5e6
Network Interfaces: Initial implementation.
2014-09-08 16:50:18 -07:00
Shawn Falkner-Horine
8e330f43b2
Route Tables / Routes: Initial implementation. (Fixed iteritems reference.)
2014-09-05 08:48:44 -07:00
Shawn Falkner-Horine
02f1dc0b3e
Route Tables / Routes: Initial implementation. (Fixed deletion of main route table via deletion of VPC.)
2014-09-05 08:45:36 -07:00
Shawn Falkner-Horine
534039f465
Route Tables / Routes: Initial implementation. (Fixed modification of dict while looping said dict.)
2014-09-04 17:07:00 -07:00
Shawn Falkner-Horine
22e6166e4e
Route Tables / Routes: Initial implementation.
2014-09-04 16:23:59 -07:00
Bobby Impollonia
8ac549569e
Add support for filtering spot instance requests
2014-09-04 12:39:14 -07:00
Bobby Impollonia
f029fe672d
Add support for getting spot instance request tags
2014-09-04 12:38:09 -07:00
Rory-Finnegan
f1227e396a
Fixed stupid "random_alphanumeric" typo that got repeated due to tab completion.
2014-09-04 10:34:01 -04:00
Bobby Impollonia
4403ea955f
Support filtering instances by tag
2014-09-04 07:30:19 -07:00
Rory-Finnegan
c2dd4a7ee4
Fixed py33 errors.
2014-09-03 19:52:23 -04:00
Rory-Finnegan
bf996f1461
Fixed py26 errors related to using assert_raises in tests.
2014-09-03 19:24:05 -04:00
Rory-Finnegan
665beda466
Added support to get_all_security_groups endpoint to actually filter groups.
...
- Filters by groupnames, group_ids and a filters. However, the filters option doesn't
support owner-id and tags since neither attribute was readily available via the SecurityGroup object.
- Also included a basic test to confirm it works.
2014-09-03 16:57:51 -04:00
Rory-Finnegan
a3b02f3f8b
Added get_user and delete_access_key endpoints.
2014-09-03 16:57:51 -04:00
Rory-Finnegan
ac74af4085
Added several new endpoints for accessing iam groups and users,
...
include unit tests.
2014-09-03 16:57:03 -04:00
Steve Pulec
22d9141122
Cleanup route53 local variable names.
2014-08-29 21:14:24 -04:00
Steve Pulec
c6cb503b61
Make _get_multi_param smarter.
2014-08-29 20:31:02 -04:00
Steve Pulec
ae2898b382
Merge pull request #181 from ghalib/create-existing-queue-noop
...
Creating a queue with existing name is now a no-op
2014-08-29 19:50:21 -04:00
Ghalib Suleiman
18bad6994d
Creating a queue with existing name is now a no-op
...
This is more in line with Amazon's CreateQueue API
(http://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_CreateQueue.html ).
Previously, calling create_queue with a name that already existed
would cause moto to overwrite the existing queue with a new empty one.
2014-08-29 15:13:59 -06:00
David Baumgold
eedb4c4b73
Support Python 3 using six
2014-08-28 10:57:43 -04:00
Steve Pulec
cfda83dcba
Merge pull request #180 from DreadPirateShawn/AMIsModifyAndDescribe
...
AMIs: Added ModifyImageAttribute and DescribeImages filtering.
2014-08-27 21:28:15 -04:00
Steve Pulec
ca13c141d3
Merge pull request #176 from singingwolfboy/unicode_literals
...
Unicode literals
2014-08-27 21:19:50 -04:00
Shawn Falkner-Horine
f9246def75
AMIs: Added ModifyImageAttribute and DescribeImages filtering.
2014-08-27 11:53:44 -07:00
Shawn Falkner-Horine
acaad7026b
Remove VIM swap files.
2014-08-27 08:59:51 -07:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Steve Pulec
b69179818c
Merge pull request #175 from DreadPirateShawn/SnapshotAttributes
...
Implementation for ModifySnapshotAttribute and DescribeSnapshotAttribute.
2014-08-26 20:53:46 -04:00
Steve Pulec
8f79d71f3f
Merge pull request #172 from DreadPirateShawn/CreateSubnetVPCValidation
...
Create subnet vpc validation
2014-08-26 20:36:26 -04:00
Steve Pulec
1846f28b41
Merge pull request #170 from DreadPirateShawn/DescribeSubnetsFiltering
...
DescribeSubnets: Added support for 'filters' parameter.
2014-08-26 20:35:19 -04:00
Hugo Lopes Tavares
bce64599f7
Get region names in a backward compatible way
2014-08-26 18:21:26 -04:00
Shawn Falkner-Horine
ebc0037659
Implementation for ModifySnapshotAttribute and DescribeSnapshotAttribute.
2014-08-26 15:16:58 -07:00
Hugo Lopes Tavares
7e69c69ae0
Add multi-region support to Autoscaling
2014-08-26 17:56:56 -04:00
Hugo Lopes Tavares
82eef28937
Add multi-region support to EC2 Instances
2014-08-26 17:56:56 -04:00
Shawn Falkner-Horine
0ecae450a1
CreateSubnet: Added VPC ID validation.
2014-08-26 14:04:34 -07:00
Shawn Falkner-Horine
c89e7c6de1
DescribeSubnets: Added support for 'filters' parameter. (fixed NotImplemented error message)
2014-08-26 13:31:08 -07:00
Shawn Falkner-Horine
d683c3b291
DescribeSubnets: Added support for 'filters' parameter.
2014-08-26 13:25:37 -07:00
Shawn Falkner-Horine
d160f2c6d6
Error handling: Model-level validations, proper error responses. (removed deprecated error template)
2014-08-25 14:02:02 -07:00
Shawn Falkner-Horine
9938995e05
Error handling: Model-level validations, proper error responses. (added coverage for new instance status call)
2014-08-25 14:00:35 -07:00
Shawn Falkner-Horine
5c46898b17
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
moto/ec2/responses/instances.py
2014-08-25 13:43:23 -07:00
Shawn Falkner-Horine
071c03e216
Error handling: Model-level validations, proper error responses.
2014-08-25 10:54:47 -07:00
Andres Riancho
c65ff170b2
Fix NotImplementedError: The describe_instance_status action has not been implemented #163
2014-08-20 14:52:23 -03:00
Andres Riancho
4b1b0f8514
Minor refactoring to avoid code duplication
2014-08-20 14:51:24 -03:00
Steve Pulec
195505948b
Merge pull request #162 from andresriancho/master
...
Fix block device mapping #160
2014-08-20 07:39:24 -04:00
Steve Pulec
9d06ccf0cd
Merge pull request #156 from DreadPirateShawn/VPCPeeringConnections
...
Add support for VPCPeeringConnections.
2014-08-20 07:38:28 -04:00
Andres Riancho
9c1032da58
Fix #160 , implemented blockDeviceMapping modify_attribute set
2014-08-20 08:20:08 -03:00
Steve Pulec
64ed605c14
Ignore S3 ACL for now since we do not implement it.
2014-08-13 22:13:23 -04:00
Ghalib Suleiman
f4a2f1a51f
Turn on threading for Werkzeug's run_simple()
...
This is now default behavior. Without this, moto is unable to deal
with simultaneous requests.
2014-08-12 15:07:29 -07:00
Steve Pulec
d2fc7bb7f9
Merge pull request #139 from kouk/backendaccess
...
general support for access to backend models
2014-08-02 10:43:35 -04:00
Shawn Falkner-Horine
42a305239c
Add support for VPCPeeringConnections.
2014-07-31 14:41:30 -07:00
Colin Johnson
853d6768ce
moto-152 - return vpc.id if exists else return nothing
2014-07-25 05:16:53 +00:00
Steve Pulec
4b5b072b27
Merge pull request #150 from kevgliss/enhanced_ssl_support
...
Enhanced ssl support
2014-07-18 20:55:02 -04:00
Kevin Glisson
fc30f5ba1f
adding tests
2014-07-18 17:31:57 -07:00
Kevin Glisson
c8d8f00241
adding ability to delete elb listeners
2014-07-18 16:06:37 -07:00
Steve Pulec
3a063862a7
Merge pull request #148 from mrucci/fix-describe-asg
...
Fix retrieval of autoscaling group instances.
2014-07-14 20:37:26 -04:00
Marco Rucci
ada20cea61
Fix retrieval of autoscaling group instances.
2014-07-13 20:47:35 +02:00
Marco Rucci
9f092e6192
Route 53 GET request honors the Name parameter.
...
Now record sets can be retrieved by name via get_all_rrsets.
2014-07-13 19:48:20 +02:00
Steve Pulec
5e35348c0d
Cleanup S3 model methods to better deal with missing buckets.
2014-07-08 21:20:29 -04:00
Steve Pulec
be25a2ba99
Fix S3 to work with other regions.
2014-07-08 20:35:48 -04:00
Steve Pulec
dc11f71ff0
Add NextToken element to appropriate SNS responses. cc #144
2014-07-01 21:14:28 -04:00
Richard Eames
4cc45c3ac5
Implementation of bucket.list_versions
2014-06-27 16:21:32 -06:00
Richard Eames
e972000bb4
Keep track of previous versions of keys
2014-06-27 15:37:51 -06:00
Richard Eames
5409d99ca2
Added basic implementation of key/bucket versioning
2014-06-27 11:34:00 -06:00
Clint Ecker
ca6a9bad4f
use proper message encoding
2014-06-23 13:53:46 -05:00
Clint Ecker
a9ef2eaaf4
typos
2014-06-22 13:34:32 -05:00
Clint Ecker
67933574b9
Formatting indices for python2.6
2014-06-22 13:33:49 -05:00
Clint Ecker
0d2991d733
forgot to add new exceptions file
2014-06-20 16:31:19 -05:00
Clint Ecker
049b73485f
test changing visibility improperly
2014-06-20 16:29:40 -05:00
Clint Ecker
cb52ad6da3
get total seconds that works in >2.3
2014-06-20 16:14:22 -05:00
Clint Ecker
c18e0cc82e
Enhanced SQS support
...
- Support for delaying messages
- Support for visibility timeouts
- Support for actually deleting messages
- Support for message bodies longer than 27 characters
- Support for message attributes
- Support for accurate queue attributes
Caveats:
- All message attributes are returned regardless of whether or not
attributes were requested when reading messages
- I’m not sure why messages longer than 27 characters were breaking in
my tests. Boto seems to expect the body to be base64 encoded and bodies
less than 27 characters would be fine, but if I attempted to use a
larger body it would mangle the content. I now base64 encode the body
if the raw string is longer than 27 characters and all is fine.
2014-06-20 15:00:36 -05:00
Konstantinos Koukopoulos
fa8485b599
provide SpotRequestBackend with model accessor
2014-06-18 10:46:58 +03:00
Konstantinos Koukopoulos
76a6a86eac
add Model metaclass to collect model accessor methods from backend classes
2014-06-18 10:46:20 +03:00
Steve Pulec
aec7d8e998
Merge pull request #138 from IlyaSukhanov/master
...
Implement internet gateway mocking
2014-06-17 22:28:16 -04:00
Konstantinos Koukopoulos
60bba47624
switch to using boto's SpotInstanceRequest in backend
2014-06-17 19:04:38 +03:00
Ilya Sukhanov
bcb0e7a3d4
Implement internet gateway mocking
2014-06-08 09:45:18 -04:00
Christian Wittwer
96843fdfe8
Attribute instance-id added to filter dict
2014-06-05 10:52:41 +02:00
Kevin Glisson
d2029c3fa3
adding - get all certificates, get certificate, and upload certificates endpoints
2014-05-29 14:25:26 -07:00
Steve Pulec
0fbe7a3940
Merge pull request #133 from kouk/server_response_headers
...
don't provide request headers as response headers in server
2014-05-20 08:48:48 -04:00
Konstantinos Koukopoulos
2b186511e8
don't provide request headers as response headers in server
2014-05-20 14:43:57 +03:00
Steve Pulec
e38f7d4662
Fix string formatting for py26
2014-05-11 23:07:05 -04:00
Steve Pulec
216750c05b
Add basic SNS support.
2014-05-11 22:56:44 -04:00
Steve Pulec
955b4c6c4a
Add tagging to all applicable EC2 objects. Closes #66 .
2014-05-11 19:00:28 -04:00
Steve Pulec
06481ebe7e
Require a GroupDescription for security group creation. Closes #112 .
2014-05-11 17:37:00 -04:00
Chris St. Pierre
fab37942c4
Consistent _get_multi_param() function in responses
...
This abstracts _get_multi_param() into BaseResponse and makes it
always ensure that the string it has been given ends with a '.'. It
had been implemented in three different places, and in use it rarely
postpended a trailing period, which could make it match parameters it
shouldn't have.
2014-05-08 10:44:41 -04:00
Chris St. Pierre
745368242e
Allow passing security groups by ID when creating instances
2014-05-07 10:04:07 -04:00
Chris St. Pierre
b244457c4f
Added key_name support to instances
2014-05-07 10:04:07 -04:00
Chris St. Pierre
4ba4dd5e26
Added subnet_id support to instances
2014-05-07 10:04:07 -04:00
Chris St. Pierre
5ba2b3cb9a
Added instance_type support to instances
2014-05-07 10:04:07 -04:00
Gabe Rives-Corbett
9f912e7a1f
Implemeted bucket.delete_keys closes #124
2014-05-06 17:21:33 -04:00
Andrew Gross
dbe17d059f
Fix some merge issues, add block device parsing
2014-04-25 15:44:55 -04:00
Andrew Gross
a0e48a6cf5
[Block Device] Add block device mapping to launch config backend
2014-04-24 16:49:16 -04:00
Ilya Sukhanov
15b750a277
Implement ec2 dhcp_options
2014-04-22 17:47:40 -04:00
Ilya Sukhanov
e76b4c1250
Fix: Preseve status code in header when != 200
...
before:
reply: 'HTTP/1.1 400 Bad Request\n'
header: date: Wed, 16 Apr 2014 00:30:07 GMT
header: content-type: text/plain; charset=utf-8
header: content-length: 286
header: server: Python/HTTPretty
header: status: 200
header: connection: close
after:
reply: 'HTTP/1.1 400 Bad Request\n'
header: date: Wed, 16 Apr 2014 00:32:45 GMT
header: content-type: text/plain; charset=utf-8
header: content-length: 286
header: server: Python/HTTPretty
header: status: 400
header: connection: close
Note how status and reply http did not match before but do now.
2014-04-22 17:35:15 -04:00
Ilya Sukhanov
aa644b4340
Allow returning http errors with exceptions
...
before:
def my_response_method(self):
...
if error:
return template, {'status'=400}
after:
def my_response_method(self):
...
if error:
raise MyResponseError("bad thing happened")
where MyResponseError inherits from HTTPException
2014-04-22 17:35:15 -04:00
Konstantinos Koukopoulos
d4602b9cae
support listing all multipart uploads
2014-04-02 19:09:48 +03:00
Konstantinos Koukopoulos
9954612035
add format field numbers for python 2.6 support
2014-04-02 16:34:29 +03:00
Konstantinos Koukopoulos
84ec801a52
refactor etag calculation to support a correct multipart key etag
2014-04-02 14:40:04 +03:00
Steve Pulec
1767d17018
Cleanup S3 a bit and add more coverage
2014-03-30 11:50:36 -04:00
Steve Pulec
815bb8846c
Change subnets to only have a reference to the vpc_id.
2014-03-28 16:37:55 -04:00
Steve Pulec
1c10d887c0
Fix bug with Gateway Id not being required for Routes
2014-03-28 16:17:43 -04:00
Steve Pulec
ef876dd27e
Fix merge conflicts. Add basic cloudformation support. Closes #111 .
2014-03-27 19:12:53 -04:00
Steve Pulec
069c48b43a
Merge pull request #115 from kouk/s3restore
...
RRD and restore support
2014-03-27 08:40:18 -04:00
Konstantinos Koukopoulos
11938dae7a
fix restore header formatting
2014-03-27 10:00:50 +02:00
Konstantinos Koukopoulos
8ada1d7829
support restore operation on s3 keys
2014-03-26 19:15:08 +02:00
Konstantinos Koukopoulos
c9d5dffa24
support reduced redundancy storage
2014-03-26 17:52:31 +02:00
Konstantinos Koukopoulos
1f49148a64
when copying keys create new objects using deepcopy
2014-03-26 17:41:07 +02:00
Konstantinos Koukopoulos
2ba64e1322
support replacing key metadata when copying
2014-03-26 16:02:14 +02:00
Joe Rickerby
73602958ed
Fix bug with POST uploads returning 400 client error
2014-03-26 13:53:14 +00:00
Steve Pulec
140f1c2000
Add ability to launch instances with security groups.
2014-03-22 14:02:47 -04:00
Steve Pulec
a9b48ed836
Merge pull request #109 from StartTheShift/fix_vpc_grant_permission_issue
...
Fix vpc grant permission to groups issue
2014-03-21 17:06:18 -04:00
Jon Haddad
77ab6d2022
removed unnecessary itertools chain.
...
added success test case around authorize & revoke
2014-03-21 13:31:00 -07:00
Steve Pulec
2cd5418ffa
Merge pull request #110 from kouk/multipart-copy
...
support x-amz-copy-source in multipart uploads
2014-03-21 15:50:54 -04:00
Konstantinos Koukopoulos
c68a1d3e9d
support x-amz-copy-source in multipart uploads
2014-03-21 17:33:51 +02:00
Konstantinos Koukopoulos
b3608cac66
remove whitespace in sample responses in STS get_federation_token response
2014-03-21 13:08:31 +02:00
Konstantinos Koukopoulos
bcc2aa3394
fix querystring handling in get_federation_token
2014-03-21 13:08:08 +02:00
Jon Haddad
ecaf53fd28
fix for VPC revoking of rules related to groups
2014-03-20 17:53:39 -07:00
Jon Haddad
2b4fe552d1
VPC support for adding rules improving
2014-03-20 17:52:49 -07:00
Jon Haddad
cbdc8ba183
We're getting back the correct group from get_security_group_from_id,
...
but hitting another issue with the source_group_name also using an id
rather than a name
2014-03-20 17:26:08 -07:00
Konstantinos Koukopoulos
fb558bb1ca
add support for sts get_federation_token
2014-03-20 18:29:39 +02:00
Steve Pulec
60cd79c6e2
S3 Mock should return an HTTP 409 if trying to create a bucket that
...
already exists. Closes #94 .
2014-03-16 21:25:54 -04:00
jexhson
8612e9d782
Use hash_key in query to filter returned items
2014-03-14 16:37:01 +01:00
Steve Pulec
2e10f46e96
Merge pull request #101 from kouk/keypairs
...
Basic support for KeyPairs
2014-03-04 17:53:52 -05:00
Hugo Lopes Tavares
8b6facf133
Add support to launch configuration AssociatePublicIpAddress parameter
2014-03-04 17:39:19 -05:00
Jeff Gregory
598c22528f
added support for ScanIndexForward and actual range ordering on range items and not just the dictionaries
2014-03-03 13:41:07 -08:00
Konstantinos Koukopoulos
8db4097861
raise NotImplementedError when Filters are used in describe_key_pairs
2014-02-24 16:35:03 +02:00
Konstantinos Koukopoulos
e19967b7d5
support names in DescribeKeyPairs
2014-02-24 15:22:08 +02:00
Konstantinos Koukopoulos
72ae98128c
really delete key pair
2014-02-24 13:38:46 +02:00
Konstantinos Koukopoulos
e7d2c2687a
implement delete_key_pair, test zero case
2014-02-24 13:34:39 +02:00
Konstantinos Koukopoulos
99c6b8acbe
test DescribeKeyPairs with more than one key pair
2014-02-24 13:20:47 +02:00
Konstantinos Koukopoulos
35063ca743
make duplicate key pair test pass
2014-02-24 13:13:23 +02:00
Konstantinos Koukopoulos
ddfe478479
implement test for create_key_pair
2014-02-24 13:03:26 +02:00
Konstantinos Koukopoulos
65beb30054
create KeyPairBackend in ec2 model, use in keypair test
2014-02-24 12:42:50 +02:00
Konstantinos Koukopoulos
d438b05d41
return empty key pairs response
2014-02-24 12:18:52 +02:00
Jeff Gregory
76856aadc7
Query sort keying on index values and not index hashes which was causing unexpected ording results
2014-02-23 03:11:54 -08:00
Jeff Gregory
372e2d8729
Query order/limit enforced. Scan limit enforced
2014-02-21 13:33:46 -08:00
Michael Ossareh
470ade25eb
support QueueNamePrefix in the SQS Backend
2014-02-20 11:28:53 -08:00
Gilles Dartiguelongue
49ecfad6b1
Implement HEAD method due to changes in boto 2.25, closes : #91
2014-02-10 12:18:12 +01:00
Steve Pulec
403250e919
Fix S3 URL Regex to allow slashes in key names.
2014-02-06 20:47:56 -05:00
Steve Pulec
ec2de04c20
Merge pull request #84 from vrivellino/master
...
moto.route53.responses.rrset_response() fix for spulec/moto#83
2014-02-06 20:37:10 -05:00
sgarcialaguna
e1366165d1
Fixed typo in REQUEST_POST_INSTANCES_TEMPLATE
2014-01-29 19:41:47 +01:00
Hugo Lopes Tavares
4e88d79da2
Refactor AmiBackend.describe_images: make logic of missing image simpler
2014-01-28 18:53:12 -05:00
Hugo Lopes Tavares
90aa87d53e
Fix DescribeImages to throw error if AMI requested does not exist
2014-01-28 18:15:29 -05:00
Vincent Rivellino
eb93a2bcd1
Route53 Zone.update_record() fix [ spulec/moto#83 ]
...
* Zone.update_record() issues what is essentially a batched update to
the AWS Route53 API: It's a DELETE followed by a CREATE. This fix
allow moto to handle that batched update.
2014-01-24 14:34:53 -05:00
Steve Pulec
262b698149
Fix for security groups with other security source groups. Closes #80 .
2014-01-19 06:54:25 -05:00
Steve Pulec
f6e166c96d
Merge pull request #79 from Zulunko/master
...
Enables the usage of special characters in keys when using s3bucket_path
2014-01-11 17:25:56 -08:00
Eric Lang
fcb2542410
Special characters now allowed in s3bucket_path keys. Fixes issue #78 .
2014-01-07 13:25:14 -08:00
Sorin
776e1bc65a
Merge branch 'master' into dynamov2_no_indexes
2014-01-07 11:10:24 +02:00
Steve Pulec
5e7936123c
Add comments for optional argparse positional argument
2013-12-30 13:32:07 -05:00
Steve Pulec
f0c6d1124c
Make service argument optional so that you can actually use all services
2013-12-30 13:30:11 -05:00
Steve Pulec
c4c342c570
Fix bug with backend_name vs backend.
2013-12-30 12:33:31 -05:00
Steve Pulec
8b278eb05d
Clean up querystring logic.
2013-12-29 21:50:25 -05:00
Andres Riancho
ffcbaf366e
Remove debug print
2013-12-29 21:50:05 -05:00
Andres Riancho
c6515af8bf
Now we have a stand-alone server which can provide services for more than one backend at the same time
2013-12-29 21:50:05 -05:00
Andres Riancho
56357d344c
Making URL a little bit more strict
2013-12-29 21:49:17 -05:00
Steve Pulec
c1f224954e
Cleanup some style
2013-12-29 08:59:07 -05:00
Steve Pulec
74e2c19865
Cleanup unused imports
2013-12-29 08:40:38 -05:00
Steve Pulec
f3890ffc31
Fix for EC2Response MRO
2013-12-29 08:34:07 -05:00
Steve Pulec
ec938ef904
Convert all EC2Response Mixins to subclasses.
2013-12-29 08:25:13 -05:00
Steve Pulec
2073dc769a
Clean up querystring logic.
2013-12-28 20:15:42 -05:00
Andres Riancho
d58f406de4
Fixes https://github.com/spulec/moto/issues/74
2013-12-28 20:15:42 -05:00
Andres Riancho
186b40de54
All tests pass! Fixes https://github.com/spulec/moto/issues/72
2013-12-26 13:52:03 -03:00
Andres Riancho
748fa52cca
Fix for https://github.com/spulec/moto/issues/72
...
Need to run the whole test suite to make sure no regressions were added
2013-12-26 13:12:50 -03:00
creyer
48cfd19fe6
dynamodb v2 no indexes
2013-12-10 11:51:54 +02:00
Jon Haddad
48ee4b600b
updated SC methods to work with a group_id, which must be used if it's a group in a VPC
2013-12-06 14:34:13 -08:00
Jon Haddad
0e316d8fc3
fixed spot instances creation
2013-12-05 16:45:18 -08:00
Jon Haddad
0712d40f71
added vpc_id to deletion
2013-12-05 16:39:25 -08:00
Jon Haddad
4fc7317804
Merge branch 'master' of https://github.com/spulec/moto into sg_vpc_support
2013-12-05 16:26:07 -08:00
Steve Pulec
8cc9b1acc3
Merge pull request #65 from jjofseattle/master
...
add route53 support
2013-11-23 07:30:45 -08:00
jjofseattle
38b26f038f
handle double deletion caused by httpretty
2013-11-20 14:45:44 -08:00
jjofseattle
2d6e649245
improve coverage
2013-11-15 16:20:25 -08:00
jjofseattle
08777e4b18
pep8
2013-11-15 15:35:46 -08:00
jjofseattle
8da1d31432
fix style issues
2013-11-15 15:29:01 -08:00
Konstantinos Koukopoulos
3846c46990
replace literal ints with constants
2013-11-15 11:53:39 +02:00
jjofseattle
a11c80fe20
add route53
2013-11-14 11:14:14 -08:00
Konstantinos Koukopoulos
bdf5a9e26b
convert to bytes for python 2.6
2013-11-14 17:47:03 +02:00
Konstantinos Koukopoulos
3628e40f3c
Merge remote-tracking branch 'spulec/master'
...
Conflicts:
moto/s3/responses.py
2013-11-14 17:17:35 +02:00
Jeff Gregory
df3155c869
when getting a key (HEAD request) return key.value instead of empty string. This is will mirror boto's method.
2013-11-08 15:36:39 -05:00
Brock Pytlik
5a475881d2
support bucket names in url paths in s3bucket_path
2013-11-08 15:36:38 -05:00
Mike Attili
d9862aaa65
Correct size check on multipart uploads. All parts except last must be > 5MB
2013-11-07 17:09:53 -05:00
Jon Haddad
c2dad5357f
correctly passing vpc_id through to revoke
2013-11-01 12:56:53 -07:00
Jon Haddad
9cbac9bbf4
reworked internals, groups is now a dict of dicts. need to fix errors coming back from revoking and deleting groups
2013-10-30 20:11:15 -07:00
Jon Haddad
6ad8e109e4
more concise jinja
2013-10-30 18:59:21 -07:00
Jon Haddad
9ae144bad8
correctly getting the vpc address back
2013-10-30 18:50:42 -07:00
Jeff Gregory
c75a233f6c
when getting a key (HEAD request) return key.value instead of empty string. This is will mirror boto's method.
2013-10-25 14:36:49 -07:00
Ilya Sukhanov
f8f8d25426
Implement Elastic IP
2013-10-08 22:30:21 -04:00
Ilya Sukhanov
a63601e481
Implement ImageId parameter in DescribeImages
2013-10-08 22:30:21 -04:00
Ilya Sukhanov
b5a454e0da
When manipulating instance save end states instead of transitional
...
When starting an instance it should eventually enter running state. At
least in the normal case. So we report pending but save running, this
way when client requests state of instance a second time, we reply with
running.
Similar thing for stop/terminate/reboot.
2013-10-08 22:30:21 -04:00
Steve Pulec
d8ca75deaa
Merge pull request #48 from spulec/py26
...
Now supporting Python 2.6 as long as we're using the very latest HTTPretty
2013-10-03 17:43:37 -07:00
Steve Pulec
3bddbb4af3
Test out py26 with new HTTPretty
2013-10-03 20:34:13 -04:00
Konstantinos Koukopoulos
b1d59c7e17
support cancelling of multipart upload
2013-09-30 18:36:25 +03:00
Konstantinos Koukopoulos
e49006c723
remove pdb
2013-09-30 16:36:51 +03:00
Konstantinos Koukopoulos
8f47355493
remove plus from id (for real this time)
2013-09-30 14:50:23 +03:00
Konstantinos Koukopoulos
4539012db6
throw proper error if multipart upload is too small
2013-09-30 14:35:24 +03:00
Konstantinos Koukopoulos
aead9bb0d5
Complete MultiPart Operation does specify a body
2013-09-30 14:34:56 +03:00
Konstantinos Koukopoulos
3630b3c21a
remove plus sign from id because it doesn't get parsed correctly in query string
2013-09-30 12:10:35 +03:00
Konstantinos Koukopoulos
04789a59fa
don't forget to send the etag in the headers when uploading a part
2013-09-30 12:10:05 +03:00
Konstantinos Koukopoulos
9746e72e1d
implement list parts
2013-09-30 12:09:35 +03:00
Konstantinos Koukopoulos
24ff30f9fc
multipart_id doesn't exist, it's upload_id
2013-09-30 11:51:18 +03:00
Konstantinos Koukopoulos
0b45622dcb
render part upload response correctly
2013-09-30 11:50:41 +03:00
Konstantinos Koukopoulos
f25caa872d
Merge branch 'master' of github.com:spulec/moto
...
Conflicts:
moto/s3/models.py
moto/s3/responses.py
2013-09-30 11:02:25 +03:00
Ryan Permeh
e951a7f2d7
push fixed value
2013-09-27 11:00:40 -07:00
Ryan Permeh
a5ecf26f5a
updated to fix split issue with paths with slashes
2013-09-27 10:47:32 -07:00
Marcus Ahle
611b820e3d
Adding HTML support for SES send_email()
2013-09-25 13:51:49 -04:00
Sylvain Fraïssé
0fd4a5a6f8
Updates a test to show the ltrip use problem
2013-09-24 00:00:52 +02:00
Sylvain Fraïssé
596b435e57
Fix the 'www.' strip changing the lstrip method by the replace
2013-09-23 23:34:33 +02:00
Steve Pulec
afad0bed14
Add ebs_optimized parameter to launch configurations
2013-09-10 16:54:57 -04:00
Steve Pulec
dc2802a238
Set __wrapped__ on MockAWS decorator to be the test function. cc #41 .
2013-09-10 08:27:28 -04:00
Steve Pulec
a0e2cb3d98
Add EC2 spot instances
2013-08-17 18:11:29 -04:00
Steve Pulec
62b72377bd
Add visibletoallusers and normalizedinstancehours to EMR
2013-08-10 20:03:57 -04:00
Steve Pulec
e251fd8930
Add job_flow_role param or EMR
2013-08-08 10:40:29 -04:00
Steve Pulec
ded410460f
Add EMR backend
2013-08-07 20:36:58 -04:00
Steve Pulec
cea25e75c5
basic emr done
2013-08-07 20:32:29 -04:00
Steve Pulec
161a5744d1
Add more autoscaling params
2013-08-03 17:09:36 -04:00
Steve Pulec
d57157e749
Merge in autoscaling
2013-07-27 16:24:38 -04:00
Steve Pulec
674a85ba0b
Cleanup backend finding
2013-07-26 15:14:34 -04:00
Steve Pulec
8ad458cd72
Fix sys.argv bug
2013-07-26 15:03:16 -04:00
Lincoln de Sousa
2d51e38eab
Using argparse instead of using sys.argv directly
2013-07-26 14:46:14 -04:00
Steve Pulec
befcadc7fc
Add ELB server test
2013-07-22 22:56:02 -04:00
Steve Pulec
b40d3a5629
Basic ELB support
2013-07-22 22:50:58 -04:00
Steve Pulec
421a5e60af
Fix EC2 response tags. Closes #37 .
2013-07-17 12:48:21 -04:00
Steve Pulec
af31744dbd
If ec2 filtering exclude all instances for a reservation, remove the reservation from the results.
2013-07-08 22:25:25 -04:00
Steve Pulec
46f9430bdd
Fix bug with modifying original reservations
2013-07-08 22:20:55 -04:00
Steve Pulec
257ca9f771
Add ec2 filtering by instance state
2013-07-08 21:18:05 -04:00
Steve Pulec
76ea9172da
Clean up ec2 instance state
2013-07-08 20:29:13 -04:00
Steve Pulec
fda5f83f87
Properly implement ec2.get_all_instances filtering by instance id
2013-07-08 19:25:47 -04:00
Steve Pulec
b8957e0c6e
Stop using deprecated md5, switch to hashlib. Closes #36
2013-07-08 12:46:36 -04:00
Steve Pulec
c6d6a0273d
Fix for iam credentials in boto version < 2.9
2013-06-27 00:01:33 -04:00
Steve Pulec
7ef6a1c44e
clean backend finding
2013-06-25 12:45:24 -04:00
Steve Pulec
eb70174ed5
Add port option.
2013-06-25 12:42:24 -04:00
Steve Pulec
87c86bb902
Need to reset app view functions to prevent Flask assertion error on resetting view functions.
2013-06-25 12:36:21 -04:00
Steve Pulec
212d9c7abe
core sts endpoints completed
2013-05-24 17:22:34 -04:00
Steve Pulec
3bc975188f
more s3 tests for posting
2013-05-17 19:41:39 -04:00
Steve Pulec
9f19662d1c
allow passing user data to run_instances
2013-05-17 19:35:53 -04:00
Steve Pulec
c14b8cae74
Merge pull request #31 from Memoto/master
...
Support for metadata in S3 and POST:ing to a bucket
2013-05-17 06:47:30 -07:00
Dan Berglund
7de4399b93
Added tests and made current tests pass
2013-05-17 11:43:09 +02:00
Dan Berglund
d8e9301c54
Added metadata to HEAD-response, boto uses this when only metadata is fetched
2013-05-17 09:59:05 +02:00
Dan Berglund
3880be5ea9
Added support for metadata on files, and support for POST:ing files to S3
2013-05-17 09:59:04 +02:00
Steve Pulec
549cb23b7f
Better error messaging for dynamodb table gets for range key tables without range keys used. cc #28
2013-05-16 22:24:26 -04:00
Steve Pulec
755fe6563b
Fix missing dynamodb key status code to fix has_item. Closes #20
2013-05-07 00:19:04 -04:00
Steve Pulec
4c8244b755
Clean up code for listing s3 keys. Fix #14 .
2013-05-07 00:03:05 -04:00
Steve Pulec
caf73557cd
Fix issue with large S3 values. Closes #11 .
2013-05-06 23:33:59 -04:00
Steve Pulec
4345077173
coverage back at 100%
2013-05-03 20:14:33 -04:00
Steve Pulec
47bd4c49a3
attempting to move to upstream httpretty
2013-05-03 19:33:13 -04:00
Steve Pulec
fd828bdb2d
Revert "Switch to real version of httpretty. woot."
...
This reverts commit 84aeff5b06
.
2013-04-30 08:33:53 -04:00
Steve Pulec
84aeff5b06
Switch to real version of httpretty. woot.
2013-04-29 23:36:24 -04:00
Steve Pulec
3b52ba687d
Merge pull request #25 from antimora/moto_23
...
Returning None in get_queue when not found. Closes spulec/moto#23
2013-04-27 14:54:03 -07:00
dilshod.tadjibaev
64baad79b0
Returning None in get_queue when not found. Closes spulec/moto#23
2013-04-24 00:54:23 -07:00
dilshod.tadjibaev
c9fb6f1cc1
Implemented remaining Queue attributes. This closes spulec/moto#22
...
The following attributes were added:
- ApproximateNumberOfMessagesDelayed
- ApproximateNumberOfMessagesNotVisible
- CreatedTimestamp
- DelaySeconds
- LastModifiedTimestamp
- MaximumMessageSize
- MessageRetentionPeriod
- QueueArn
- ReceiveMessageWaitTimeSeconds
2013-04-24 00:50:41 -07:00
Steve Pulec
dbf2368aa6
Implement SQS get_queue_url. Closes #18
2013-04-18 23:07:24 -04:00
Steve Pulec
be26daaff4
Fix S3 bucket list objects order and delimiters. Closes #14 .
2013-04-13 19:23:32 -04:00
Steve Pulec
98d7a50790
Unquote s3 key names. Closes #13 .
2013-04-13 19:00:37 -04:00
Steve Pulec
8fe0c91853
Fix services to work better with other regions. Closes #17 .
2013-04-13 18:22:26 -04:00
Steve Pulec
d96769a91c
Fix for buckets with periods in them. Closes #15 .
2013-04-13 17:28:00 -04:00
Steve Pulec
b7c46ae7bf
fix S3 last_modified. Closes #8
2013-03-29 17:45:33 -04:00
Lucian Branescu Mihaila
5854219a4c
Upload part and complete upload. Somehow, boto doesn't like output I send it, even though it's copy-pasted from its own logs.
2013-03-26 15:50:18 +00:00
Lucian Branescu Mihaila
f557487e06
Beginning of multipart upload support.
2013-03-26 14:52:33 +00:00
Steve Pulec
e64c73efed
Allow writing empty body to s3 key if content-length is zero. Better fix for #6 .
2013-03-26 10:11:16 -04:00
Steve Pulec
756955b61e
Temporary fix to allow for writing empty strings to s3 keys. Closes #6 .
2013-03-26 09:02:04 -04:00
Steve Pulec
2b63c79c90
remove old extra dispatch method
2013-03-23 10:00:43 -04:00
Steve Pulec
e55f26a07a
S3 should allow dashes in bucket names. Closes #5 .
2013-03-23 09:57:20 -04:00
Steve Pulec
b03d48e6bc
fixes to sqs encoding. Closes #4 .
2013-03-23 09:44:53 -04:00
Steve Pulec
fe2b3518ae
move back to bundled httpretty for now
2013-03-19 11:46:54 -04:00
Steve Pulec
cd518d060e
move to httpretty fork instead of bundling it.
2013-03-17 18:13:21 -04:00
Steve Pulec
5bec85c6c0
make httpretty fork closed to upstream
2013-03-17 18:10:31 -04:00
Steve Pulec
46e31d1ecc
pull some changes from upstream
2013-03-16 11:20:07 -04:00
Steve Pulec
893b446890
move dynamodb responses from camelcase
2013-03-16 00:33:57 -04:00
Steve Pulec
a5eaaaad51
fix for scanning without filter
2013-03-15 17:14:14 -04:00
Steve Pulec
d29ca8503e
move sts handler
2013-03-15 15:45:28 -04:00
Steve Pulec
73a18b5f74
add dynamo sts handler
2013-03-15 13:57:20 -04:00
Steve Pulec
c1b9718282
move dynamo type comparison inside the dynamo type class
2013-03-15 11:10:38 -04:00
Steve Pulec
930e4c9762
fix keys to use types
2013-03-15 00:45:12 -04:00
Steve Pulec
11c1a2a4c1
add tests for tables without range keys. tests back to 100%
2013-03-14 22:52:32 -04:00
Steve Pulec
cc23453d77
add batch get
2013-03-14 00:26:55 -04:00
Steve Pulec
0398da2c8d
add batch write
2013-03-13 23:41:01 -04:00
Steve Pulec
3e6f802a20
more comprehensive table scanning and querying
2013-03-13 22:44:54 -04:00
Steve Pulec
ad4b6c4ee2
add dynamodb scanning
2013-03-13 10:11:13 -04:00
Steve Pulec
58ac6c44b0
add comparisons file missed in last commit
2013-03-13 09:07:57 -04:00
Steve Pulec
621ac79f33
add table delete and update. add item ops, including querying.
2013-03-13 09:06:45 -04:00
Steve Pulec
2d98a9caef
some more tests to bump coverage
2013-03-11 00:12:22 -04:00
zmsmith
c196e15cf7
Table listing now supports limits and continuations
2013-03-10 21:16:58 -04:00
Steve Pulec
9e9e057289
Mock out instance metadata. Make basic connection with iam roles work. Closes #3 .
2013-03-10 16:55:41 -04:00
zmsmith
1cc0e0eac7
adding first error handling
2013-03-10 15:49:35 -04:00
Steve Pulec
316418df55
add subnets
2013-03-05 22:53:53 -05:00
Steve Pulec
584f1f01b6
add vpc commands
2013-03-05 22:33:41 -05:00
Steve Pulec
0d51349662
add get_console_output
2013-03-05 22:11:58 -05:00
Steve Pulec
e993917d4c
pep8
2013-03-05 08:35:18 -05:00
Steve Pulec
a728b2581a
Adding server mode
2013-03-05 08:14:43 -05:00
Steve Pulec
ab4d65959e
httpretty fixes for py26
2013-02-28 22:40:26 -05:00
Steve Pulec
98fc1eeab9
update ec2 calls for boto 2.5 compat
2013-02-28 00:08:35 -05:00
Steve Pulec
6989f7ee59
add sts to dynamo for boto 2.5 backwards compat
2013-02-28 00:03:57 -05:00
Steve Pulec
db943bcdbb
add other ways to call decorator
2013-02-27 22:25:15 -05:00
Steve Pulec
459697508e
remove extra newline
2013-02-27 01:20:10 -05:00
Steve Pulec
51c5f66aac
change all mocking to include http and https
2013-02-27 01:15:26 -05:00
Steve Pulec
b0d89bb7b7
fix s3 key list and missing key response
2013-02-27 01:12:11 -05:00
Steve Pulec
91b61c7be5
another s3 http fix
2013-02-26 15:15:20 -05:00
Steve Pulec
3542f4ec30
make s3 handle http
2013-02-26 15:12:38 -05:00
Steve Pulec
1db787e7da
add url path normalization to httpretty
2013-02-26 14:47:47 -05:00
Steve Pulec
d32059f301
pep8
2013-02-26 00:31:01 -05:00
Steve Pulec
bcbec29653
start pep8 cleanup
2013-02-26 00:12:34 -05:00
Steve Pulec
dc9677e323
clean up core responses
2013-02-25 23:48:17 -05:00
Steve Pulec
935e6bd95d
fix tag deletion
2013-02-25 23:37:01 -05:00
Steve Pulec
43591249ae
test not implemented for sqs
2013-02-25 23:27:10 -05:00
Steve Pulec
757c45c659
replace pdbs with NotImplemented
2013-02-25 23:21:49 -05:00
Steve Pulec
1b3eca72b0
clean up old ec2 code
2013-02-25 23:09:45 -05:00
Steve Pulec
9a92e87f02
add ses core
2013-02-24 23:30:51 -05:00
Steve Pulec
41890225e6
add most of sqs features
2013-02-24 11:06:42 -05:00
Steve Pulec
67261d3125
add set_queue_attributes
2013-02-23 22:35:05 -05:00
Steve Pulec
89364ed864
Adding sqs queue creation
2013-02-23 22:26:46 -05:00
Steve Pulec
e261b82f29
add most of the snapshot implementation
2013-02-23 18:01:41 -05:00
Steve Pulec
f92a3ec00f
volume attaching and detaching working
2013-02-23 17:37:55 -05:00
Steve Pulec
7464fcbbe9
clean up ec2 response init
2013-02-23 16:35:25 -05:00
Steve Pulec
0927e107fb
when things arent implemented yet raise exception, not pdb
2013-02-23 16:32:40 -05:00
Steve Pulec
1c8af2881a
add security group ingress rules
2013-02-23 16:27:43 -05:00
Steve Pulec
31f992fbe5
add, delete, describe security groups
2013-02-23 15:26:54 -05:00
Steve Pulec
fbd9206f23
add basic zone and region endpoints
2013-02-23 14:51:19 -05:00
Steve Pulec
351aca3c68
clean up instance attribute modification and add base AMI stuff
2013-02-23 14:22:09 -05:00
Steve Pulec
301c23a499
suppress boto logging for now for testing
2013-02-23 14:21:28 -05:00
Steve Pulec
0bd4d57ef2
raise NotImplementedError if not implemented
2013-02-22 07:55:48 -05:00
Steve Pulec
27a086409e
adding ec2 stubs
2013-02-21 23:13:01 -05:00
Steve Pulec
0df2864f99
convert ugly camelcase methods to nice, clean underscores
2013-02-21 19:34:57 -05:00
Steve Pulec
f824110ceb
add ec2 tags
2013-02-20 23:19:43 -05:00
Steve Pulec
568d99dd42
refactor ec2 response structure
2013-02-20 22:21:55 -05:00
Steve Pulec
1d42cc3f53
add instance rebooting
2013-02-19 23:55:01 -05:00
Steve Pulec
4fa9cac7d6
add s3 copy_key
2013-02-19 23:29:46 -05:00
Steve Pulec
1af038290d
add instance attribute description and modification
2013-02-19 23:01:19 -05:00
Steve Pulec
38611c3c99
fixing core model reset
2013-02-19 23:01:19 -05:00
zmsmith
7e3aa7c8ee
Adding describe table end point
2013-02-19 20:39:04 -05:00
zmsmith
81547e1bc5
PEP8
2013-02-19 20:00:57 -05:00
zmsmith
5086e6e590
Adding intitial DynamoDB setup and implementing ListTables target
2013-02-19 08:28:56 -05:00
Steve Pulec
7907585b65
make instance id parsing more generic
2013-02-18 23:06:23 -05:00
Steve Pulec
3a9c757e46
add instance stop/start
2013-02-18 21:56:22 -05:00
Steve Pulec
4283cca63c
clean up urls. start to clean up responses
2013-02-18 21:22:03 -05:00
Steve Pulec
ba360daa0f
add get_all_buckets
2013-02-18 17:31:15 -05:00
Steve Pulec
28a46a5a3a
add more s3 functions
2013-02-18 17:17:19 -05:00
Steve Pulec
f8633cbab7
rename backends
2013-02-18 16:31:42 -05:00
Steve Pulec
d1bb638ec7
remove .pyc
2013-02-18 16:28:08 -05:00
Steve Pulec
77d6df6531
basic ec2 and s3 working
2013-02-18 16:09:40 -05:00