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

[7.x] [alerting] Adds an alertServices mock and uses it in siem, monitoring and uptime (#63489) #63662

Merged
merged 2 commits into from
Apr 16, 2020

Conversation

gmmorris
Copy link
Contributor

Backports the following commits to 7.x:

… and uptime (elastic#63489)

Work on elastic#61313 has revealed that we don't have amock for AlertServices, which creates coupling between us and any solution depending on us, which makes it harder to make changes in our own code.

This PR adds mocks and uses them in SIEM, Monitoring and Uptime, so that we can make future changes without having to change outside solutions.
@justinkambic
Copy link
Contributor

It looks like this backport PR has two snapshots that don't match what the unit tests are generating. These seem unrelated to your patch.

You can safely overwrite those two snapshots; we have a default index pattern of heartbeat-7* and heartbeat-8* in 7.x and master respectively.

The unit tests should then pass for you.

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@gmmorris gmmorris merged commit 650a3ac into elastic:7.x Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants