-
Notifications
You must be signed in to change notification settings - Fork 120
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
Nuage events callbacks for targeted refresh #204
Nuage events callbacks for targeted refresh #204
Conversation
description: | ||
fields: | ||
- rel4: | ||
value: "/System/event_handlers/refresh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so before @gmcculloug and @blomquisg were rather for manually defining handlers for every event, instead of method_missing. Since the handlers also solve as documentation of 'these are the events we support'
c8e4e71
to
1152e1b
Compare
With this commit we first specify automate class for dealing with Nuage events. Then we define rel4 callbacks for events that we currently support. All callbacks simply point to the event_target_parser where appripriate targets get queued for refresh. Signed-off-by: Miha Pleško <miha.plesko@xlab.si>
1152e1b
to
2a80d72
Compare
Checked commit miha-plesko@2a80d72 with ruby 2.3.3, rubocop 0.47.1, and haml-lint 0.20.0 |
@Ladas thanks, I've now added the event definitions for events currently supported by targeted refresh, and removed the rel4 from the _missing.yaml. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great 👍
👌 |
@lfu Please review |
LGTM 👍 |
With this commit we first specify automate class for dealing with Nuage events. Then we define rel4 callbacks for events that we currently support. All callbacks simply point to the event_target_parser where appripriate targets get queued for refresh.
Related PR where
event_target_parser.rb
implementation is: ManageIQ/manageiq-providers-nuage#28@miq-bot add_label enhancement
@miq-bot assign @gmcculloug
/cc @gberginc @Ladas