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