2.1.1 • Published 4 years ago

hit-hub-mandrill v2.1.1

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
4 years ago

HIT Hub: Mandrill Microservice

#Major functionality:

  • Download mandrill email description in incremental way
  • Download mandrill email content.
  • Save the raw email object into cassandra
  • Save the raw emnail content json object into cassandra
  • Save email events into cassandra.

#Deployment procedure:

1 deployment on CI 1) Select rack: convox switch ci-hit-kpop 2) create an application: convox apps create hit-hub-mabndrill -generation=1 3) Set environment variables: cat ci.env | convox env set -a hit-hub-mandrill 4) deploy to convox: convox deploy -f docker/docker-compose-deploy.yml -a hit-hub-mandrill

#Setup Mandrill's webhook

1) Create a DNS for the service hit-hub-mandrill-webhook after deploying mandrill-hub service 2) Login to Mandrill at https://mandrill.com/ with production credentials 3) Click Settings -> Webhooks -> Add a webhook 4) Put the url: https:///mandrillEvent in Post To URL ci: https://hit-hub-mandrill-webhook.dev.havenlife.com/mandrillEvent uat: https://mandrill-hub.uat.havenlife.com/mandrillEvent prod: https://mandrill-hub.havenlife.com/mandrillEvent

5) Select event Send, etc., then clck on Create Webhook 6) Click Account-> Alerts-> Webhook Failure -> Edit Add infrastructure@havenlife.com 7) create certificate for the above https (e.g., convox certs -- rack ... -app ... ) convox certs --rack production-hit-devops convox ssl update mandrill-hub:443 acm-7b6bb1dffcd7 --rack hit-prod/production-hit-devops --app hit-hub-mandrill

!!!! Deploying to Convox !!!!

Use the cloudops/feature/HL-00000-pre-k8s-maintenance branch to make changes / deploy this service to convox

2.1.1

4 years ago

2.1.0

4 years ago