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

Connect events to targeted refresh #28

Merged

Conversation

miha-plesko
Copy link
Contributor

With this commit we teach our NetworkManager how to map obtained events to appropriate targets. At the moment only events concerning the three supported targets actually trigger something:

- network_groups
- cloud_subnets
- security_groups

while all other events are simply skipped.

Depends on: #9

@miq-bot add_label enhancement
@miq-bot assign @Ladas

/cc @gberginc

@miha-plesko
Copy link
Contributor Author

This PR will fail until EventCatcher isn't merged but I'd kindly ask you @Ladas to take a look at it anyway (it's a very short PR).

@miq-bot miq-bot added the wip label Oct 25, 2017
@miha-plesko miha-plesko force-pushed the connect-events-to-targeted-refresh branch from 585846b to 72e3bff Compare October 26, 2017 06:27
@miha-plesko miha-plesko changed the title [WIP] Connect events to targeted refresh Connect events to targeted refresh Oct 26, 2017
@miq-bot miq-bot removed the wip label Oct 26, 2017
With this commit we teach our NetworkManager how to
map obtained events to appropriate target. At the moment
only events concerning the three supported targets actually
trigger something:

```
- network_groups
- cloud_subnets
- security_groups
```

while all other events are simply skipped.

Signed-off-by: Miha Pleško <[email protected]>
@miha-plesko miha-plesko force-pushed the connect-events-to-targeted-refresh branch from 72e3bff to 8f42f32 Compare October 26, 2017 06:51
@miq-bot
Copy link
Member

miq-bot commented Oct 26, 2017

Some comments on commit miha-plesko@8f42f32

spec/models/manageiq/providers/nuage/network_manager/event_target_parser_spec.rb

  • ⚠️ - 6 - Detected allow_any_instance_of. This RSpec method is highly discouraged, please only use when absolutely necessary.

@miq-bot
Copy link
Member

miq-bot commented Oct 26, 2017

Checked commit miha-plesko@8f42f32 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. 🍪

Copy link
Contributor

@Ladas Ladas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 👍

@Ladas Ladas merged commit 8894808 into ManageIQ:master Oct 26, 2017
@Ladas Ladas added this to the Sprint 72 Ending Oct 30, 2017 milestone Oct 26, 2017
@miha-plesko miha-plesko deleted the connect-events-to-targeted-refresh branch July 24, 2018 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants