Skip to content
This repository was archived by the owner on Nov 14, 2017. It is now read-only.
/ hermes Public archive

Listens to SQS queue for file upload information, and then logs in to Metis and tells it where the file is

License

Notifications You must be signed in to change notification settings

votinginfoproject/hermes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hermes

Processes queue messages from s3-ftp, and sends file information to Metis.

Setup

You'll need a config.edn file available as a resource with the following shape:

{:aws {:creds {:access-key "your AWS access key"
               :secret-key "your AWS secret key"}
       :sqs {:region #aws/region "AWS_region_enum" ; see below
             :queue "your-sqs-queue"
             :fail-queue "your-sqs-failure-queue"}}
 :metis {:login-url "http://metis.votinginfoproject.org/login"
         :feed-url "http://metis.votinginfoproject.org/services/feeds"
         :username "hermes-username"
         :password "hermes-password"}}

The valid values for :aws :sqs :region are the enum values listed in the API documentation for com.amazonaws.regions.Regions

Running in Docker

docker build -t hermes .
docker run -v /path/to/config-dir:/hermes/resources hermes

License

Copyright © 2014, The Pew Charitable Trusts

Distributed under the BSD 3-clause License. See LICENSE file for details.

Contributors

Developed by Democracy Works, Inc. dev@democracy.works

About

Listens to SQS queue for file upload information, and then logs in to Metis and tells it where the file is

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5