benzado / heroic-sns Goto Github PK
View Code? Open in Web Editor NEWLightweight Rack middleware for AWS SNS endpoints
Home Page: https://rubygems.org/gems/heroic-sns
License: Other
Lightweight Rack middleware for AWS SNS endpoints
Home Page: https://rubygems.org/gems/heroic-sns
License: Other
Contributor names don't have URLs to make them clickable!
I can see why that happened... the URLs are all the way at the bottom of the file and it's not crazy to assume that GitHub would automatically link GitHub usernames. (It's good that it doesn't, though, since there's no reason to assume a Markdown file in your repo is designed to be parsed and displayed by GitHub.)
I should move the link definition lines up, near the contributor's first contribution.
From an Amazon announcement on June 19:
SNS Raw Message Delivery enables developers to pack even more information content into their messaging payloads. When delivering notifications to SQS and HTTP endpoints, SNS today adds JSON encoding with metadata about the current message and topic. With this release, developers can set the optional "RawMessageDelivery" property to disable this added JSON encoding. Raw message delivery is off by default, to ensure existing applications continue to behave as expected.
Does heroic-sns work with raw messages?
A tool to send a simulated notification to a given URL would be really useful during development.
Message verification does not take the timestamp into account, and is therefore vulnerable to replay attacks. Heroic::SNS::Message.verify!
should probably fail if the message is older than some threshold amount, probably 15 minutes.
Note that this would have an impact on the test code, which depends on fixtures that were captured from Amazon far more than 15 minutes ago. Code to generate signed messages is probably needed for proper testing.
Amazon allows payloads of up to 256KB. Should we reject incoming messages that are over the limit?
Heroic Software, Inc. is no more; copyright reverts back to me, a human person.
I'm trying to use this with rails 5, and it's not working because rails5 depends on rack 2.x. If you could relax the requirement to >= 1.4
, that would solve this problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.