Raghavendra Prabhu
34a28b0fd5
Use region from ctor to set queue_arn.
...
Without this, any region passed to boto3.resource is ignored and unit
tests depending on it break.
2016-08-17 22:12:00 +01:00
Steve Pulec
ececa8009b
Merge pull request #665 from macheins/fix-broken-sqs-queue-arn-attribute
...
Fix broken SQS QueueArn attribute
2016-07-24 09:28:47 -04:00
macheins
b152996ddf
Changed unit test to reflect changes
2016-07-19 14:20:33 +02:00
Nuno Santos
8ffd4e51ec
Fix retrieving inexistent queue errors when using boto3.
...
Handle 404 errors when trying to retrieve a SQS queue that does not
exist. Add get_queue and get_inexistent_queue tests for boto3.
2016-07-16 12:09:34 +01:00
Steve Pulec
ea43f41470
Merge pull request #625 from nfvs/fix_whitespace
...
Strip extra whitespace and newlines from SQS response templates.
2016-06-17 17:51:07 -04:00
Nuno Santos
68eeb5948b
Strip extra whitespace and newlines from SQS response templates.
...
Fixes #623
2016-06-02 12:26:50 +02:00
Matt Long
9b7902018f
Respect VisibilityTimeout when calling receive_message
...
Previously, receive_message would always use the queue's default
visibility timeout instead of the value passed as a query parameter when
calling the receive_message method on an SQS connection.
2016-05-31 15:13:49 -07:00
Scott Leishman
3fd33c03bf
boto3 SQS set attributes fix.
2016-02-19 23:32:01 -08: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
f72613cc47
Fix queue urls for other regions. Closes #411 .
2015-09-19 09:18:16 -04:00
Dustin J. Mitchell
7470a9f68b
update test_messages_polling to assume messages are returned immediately
2015-08-31 11:54:17 -04:00
Jot
178d1c3a93
Added support for WaitTimeSeconds in SQS #392
2015-08-13 02:58:14 +02:00
Steve Pulec
519726a70a
Cleaning up SQS for boto3. Closes #385 .
2015-08-02 09:45:40 -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
Steve Pulec
aa7233a2db
Fixes for multi-region SQS.
2014-11-16 17:57:46 -05:00
Joseph Lawson
832e903f26
test sqs with xml characters
2014-10-22 16:03:42 -04:00
Ralfas
76aa9a8b22
Added basic support for SQS MessageAttributes.
2014-10-05 19:10:49 +01: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
049b73485f
test changing visibility improperly
2014-06-20 16:29:40 -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
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
Steve Pulec
59fe1abfdf
Cleanup flake8
2013-08-03 17:21:25 -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
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
4fca60ba98
add test for sqs not implemented
2013-02-27 21:56:54 -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
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