Terry Cain
18cb0bce54
General tidy up
2017-09-21 21:16:00 +01:00
Terry Cain
19074c535c
Added ConfirmSubscription + Tests + checks
...
For now subscriptions do nothing, but if we go the route of handing out subscribe tokens, I
have layed the groundwork for validating that
2017-09-20 21:47:02 +01:00
Terry Cain
ef8a97f6c3
Implemented Add/RemovePermission + Tests
2017-09-20 21:13:26 +01:00
Terry Cain
f7f80293c7
Implemented OptInPhoneNumber + Tests
2017-09-20 20:56:37 +01:00
Terry Cain
1281ac86d5
Implemented ListPhoneNumbersOptedOut + Tests
2017-09-20 00:03:58 +01:00
Terry Cain
ba8a2ccfc5
Implemented CheckIfPhoneNumberIsOptedOut + Tests + Error code
2017-09-19 23:54:13 +01:00
Terry Cain
57d94d56c3
Implemented SNS.SetSMSAttributes & SNS.GetSMSAttributes + Filtering
...
TODO:
AddPermission / RemovePermission
CheckIfPhoneNumberIsOptedOut
ConfirmSubscription
ListPhoneNumbersOptedOut
OptInPhoneNumber
2017-09-19 22:48:46 +01:00
Toshiya Kawasaki
0c3708a8e7
Support SNS subscription attributes ( #1087 )
...
* remove code for local test
* Add SNS set_subscription_attributes and get_subscription_attributes
2017-09-07 11:19:34 -07:00
Toshiya Kawasaki
ce7eabd44a
Envelope sns message when sending to sqs ( #1066 )
...
* envelop message when sendig from sns to sqs
* add test for publishing sns message to sqs
* specify separators options to json.dumps to avoid json bug in python2
* remove unused print
* replace time string for testing server mode
2017-08-21 12:29:34 -07:00
Toshiya Kawasaki
f38212a545
sort keys when dumping dict to json
2017-08-18 10:23:11 +09:00
Toshiya Kawasaki
ccf4cf28b1
escape json string when sending message from sns mock to sqs mock
2017-08-18 10:23:11 +09:00
Jack Danger
2b76d07558
Merge pull request #1027 from iCHEF/fix_sns_should_send_json_http_message
...
Send JSON message to HTTP endpoint of SNS
2017-07-31 12:45:17 -07:00
Peter Us
d76559ee7c
SNS delete_topic should also delete subscriptions.
2017-07-31 13:37:29 +02:00
sodastsai
92eedcf291
Send JSON message to HTTP endpoint of SNS
...
By the documentation from AWS -
http://docs.aws.amazon.com/sns/latest/dg/SendMessageToHttp.html ,
SNS would send messages to HTTP/HTTPS endpoint in JSON format. But
current implementation of `moto` sends messages in form-data format.
2017-07-30 20:44:06 +08:00
Steve Pulec
c207963a86
Cleanup SNS exceptions. Closes #751 .
2017-03-16 22:28:30 -04:00
Steve Pulec
b2a360aaf7
Remove old boto sns test in favor of boto3 test.
2017-03-11 21:03:03 -05:00
Steve Pulec
1287d53817
Fix tests for py26 and py3.
2017-02-27 20:53:57 -05:00
Steve Pulec
a22caf27ab
Cleanup sns default topic.
2017-02-27 10:20:53 -05:00
Steve Pulec
f37bad0e00
Lints.
2017-02-23 21:37:43 -05:00
Steve Pulec
81836b6981
Get standalone server mode working for all tests.
2017-02-23 19:43:48 -05:00
Steve Pulec
cad185c74d
Cleanup headers and encoding.
2017-02-16 22:51:04 -05:00
Steve Pulec
fde721bed7
Testing new version of decorator.
2017-02-15 22:35:45 -05:00
Mike Pappas
4942e74ab1
Fix SNS application endpoint to match AWS return format ( #763 )
2016-11-11 17:01:47 -05:00
Michael van Tellingen
d34dd5b08a
Implement support for sns delete_endpoint()
2016-05-02 14:34:51 +02:00
Pior Bastida
2650eab295
Implement XML responses for SNS (for Boto3)
2015-08-20 14:57: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
1819cd7636
Make test_create_and_delete_topic python 2.6 compatible
2015-08-03 10:32:33 -04:00
Ilya Sukhanov
e08796bcf4
Keep current region when creating SNS ARN topic
2015-08-03 10:19:04 -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
1a015d0e39
Cleanup some incorrect date formats.
2014-11-29 23:34:40 -05:00
Steve Pulec
d24099c401
Add proper SNS paging. Closes #144 , #145 .
2014-11-29 22:37:48 -05:00
Steve Pulec
16660ab72b
Allow message passing to SQS queues in different regions from SNS.
2014-11-16 18:42:53 -05:00
Steve Pulec
53acdf6c76
Make SNS multi-region.
2014-11-16 18:35:11 -05:00
David Baumgold
eedb4c4b73
Support Python 3 using six
2014-08-28 10:57:43 -04:00
David Baumgold
b4205cf267
Fix tests that fail due to bad unicode support
2014-08-27 11:58:03 -04:00
David Baumgold
4201e6b430
from __future__ import unicode_literals
2014-08-27 11:33:55 -04:00
Steve Pulec
216750c05b
Add basic SNS support.
2014-05-11 22:56:44 -04:00