The Duplication project provides the tools and pieces with which together manage the process of duplicating files between storage providers in DuraCloud.
Apache License 2.0
2
stars
7
forks
source link
Add code to use RabbitMQ, Swift, and SMTP email #28
If you have already gone through the prerequisite steps for testing the associated duradmin/durastore/MC PRs, you already have the necessary infrastructure to test Mill.
Steps
To test SMTP email, add this to the .properties file:
Create a duplication policy in the location specified by duplication-policy.bucket-suffix. Write files and watch the duplications :popcorn:
Run auditlog-generator. Audit logs should get written to the configured audit-log-generator.audit-log-space-id.
What does this Pull Request do?
We have added the ability to:
How should this be tested?
Prerequisites for testing
If you have already gone through the prerequisite steps for testing the associated duradmin/durastore/MC PRs, you already have the necessary infrastructure to test Mill.
Steps
To test SMTP email, add this to the .properties file:
Then perform an operation that sends emails, such as starting a duplication run.
To test RabbitMQ, add this to the .properties file:
Start Workman. Create some audit log events. You should see Workman process the events in the same way it would for an SQS queue.
To test using a Swift container for audit logs and duplication policies, add this to the .properties file:
Create a duplication policy in the location specified by
duplication-policy.bucket-suffix
. Write files and watch the duplications :popcorn: Runauditlog-generator
. Audit logs should get written to the configuredaudit-log-generator.audit-log-space-id
.Interested parties
@bbranan