Skip to content

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

Merged
gmmorris merged 2 commits intoelastic:7.xfrom
gmmorris:backport/7.x/pr-63489
Apr 16, 2020
Merged

[7.x] [alerting] Adds an alertServices mock and uses it in siem, monitoring and uptime (#63489)#63662
gmmorris merged 2 commits intoelastic:7.xfrom
gmmorris:backport/7.x/pr-63489

Conversation

@gmmorris
Copy link
Copy Markdown
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.
@gmmorris gmmorris added the backport This PR is a backport of another PR label Apr 16, 2020
@justinkambic
Copy link
Copy Markdown
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
Copy Markdown
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

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants