| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Fake Amazon Simple Notification Service (SNS) for testing. Supports:
Based on the official java:8-jre-alpine image. Run it with the command:
docker run -d -p 9911:9911 s12v/sns
If you would like to keep the topic/subscription database in the current host folder:
docker run -d -p 9911:9911 -v "$PWD":/etc/sns s12v/sns
The image has aws-cli preinstalled. For example, create a topic:
docker exec <CONTAINER_ID> sh -c 'aws sns --endpoint-url http://localhost:9911 create-topic --name test1'
Download the latest release from https://github.com/s12v/sns/releases and run:
DB_PATH=/tmp/db.json java -jar sns-0.2.0.jar
Requires Java8.
Configuration can be set via environment variables:
See camel documentation for more details.
Note: Environment variables can be used to specify URIs via {{env:ENV_NAME}}.
Example: aws-sqs://{{env:QUEUE_NAME}}?amazonSQSEndpoint={{env:SQS_ENDPOINT}}&...
Tested with elasticmq. See example/docker-compose.yml and example/config/db.json
docker run -d -p 9911:9911 -v "$PWD/example/config":/etc/sns s12v/sns
sbt test
It's tested with AWS Ruby and PHP SDKs. Start elasticmq for SQS integration tests with
docker run -d -p 9324:9324 s12v/elasticmq
bundle install ENDPOINT=http://localhost:9911 bundle exec cucumber
composer install ./bin/behat
| Back | FazBrowse Home | New Git URL |