Steve Pulec
1f8253a1a1
Cleanup the default region backends.
2014-11-15 14:21:58 -05:00
Steve Pulec
bd847bd941
Cleanup multi-region support for ELB, SQS, Cloudformation, EC2, Autoscaling.
2014-11-15 13:34:52 -05:00
Steve Pulec
c77207a8b8
More flake8.
2014-11-15 09:53:45 -05:00
Steve Pulec
8bc8f09b47
Some flake8 cleanup.
2014-11-15 09:35:52 -05:00
Joseph Lawson
ff27ef9e91
XML escape body of sqs message body prior to encoding to XML
2014-10-22 16:05:26 -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
Ralfas
76aa9a8b22
Added basic support for SQS MessageAttributes.
2014-10-05 19:10:49 +01: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
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04: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
Steve Pulec
ef876dd27e
Fix merge conflicts. Add basic cloudformation support. Closes #111 .
2014-03-27 19:12:53 -04:00
Michael Ossareh
470ade25eb
support QueueNamePrefix in the SQS Backend
2014-02-20 11:28:53 -08:00
Steve Pulec
8b278eb05d
Clean up querystring logic.
2013-12-29 21:50:25 -05:00
Andres Riancho
56357d344c
Making URL a little bit more strict
2013-12-29 21:49:17 -05:00
Steve Pulec
74e2c19865
Cleanup unused imports
2013-12-29 08:40:38 -05:00
Steve Pulec
3bddbb4af3
Test out py26 with new HTTPretty
2013-10-03 20:34:13 -04:00
Steve Pulec
b8957e0c6e
Stop using deprecated md5, switch to hashlib. Closes #36
2013-07-08 12:46:36 -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
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
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
51c5f66aac
change all mocking to include http and https
2013-02-27 01:15:26 -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
43591249ae
test not implemented for sqs
2013-02-25 23:27:10 -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