Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End-to-end integration test for web+Grafana report execution #243

Open
speezepearson opened this issue Jul 3, 2019 · 1 comment
Open
Assignees

Comments

@speezepearson
Copy link
Contributor

speezepearson commented Jul 3, 2019

It is currently possible to make API requests that schedule a report for immediate execution. The only difficult part remaining is capturing the rendered-and-sent report out of MPortal: initiating connections from container to host is (IIUC) hard/wrong, so the IT can't just open an SMTP server and listen for the email.

Probable best long-term solution:

  • add another Docker container that runs a mock SMTP server
  • connect that SMTP server into MPortal's port 25
  • somehow make API requests to the mock SMTP server to coax out information about the emails it received

Seems technically feasible, but arduous.

@vjkoskela
Copy link
Member

For the email part, this looks promising:

https://hub.docker.com/r/mailhog/mailhog/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants