-
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
AzureStack events for targeted refresh #588
AzureStack events for targeted refresh #588
Conversation
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.
LGTM. It's great to see targeted refresh actually invoked upon events.
@mancabizjak Thanks for the contribution. One question about the path, where is the naming |
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 good (I don't have merge rights)
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.
Overall looks good, just one question about the naming of Azure_Stack
(here #588 (comment)) before it can be merged.
@gmcculloug I share your concern about the consistency in the naming of Renaming the class without updating [----] I, [2019-10-11T13:07:25.811650 #27587:2b28c779a5fc] INFO -- : Following Relationship [miqaedb:/System/Event/EmsEvent/AZURE_STACK/Administrative_Microsoft.Compute_virtualMachines_write_Succeeded#create]
[----] E, [2019-10-11T13:07:25.867143 #27587:2b28c779a5fc] ERROR -- : Class [System/Event/EmsEvent/AZURE_STACK] not found in MiqAeDatastore
[----] I, [2019-10-11T13:07:25.867176 #27587:2b28c779a5fc] INFO -- : Followed Relationship [miqaedb:/System/Event/EmsEvent/AZURE_STACK/Administrative_Microsoft.Compute_virtualMachines_write_Succeeded#create]
Personally, I would prefer to name the class |
Yeah that works for me, we can make it AZURESTACK, that would be consistent with other providers |
This commit adds automate class and instances corresponding to AzureStack provider events. All the events added here trigger targeted refresh. Signed-off-by: Manca Bizjak <manca.bizjak@xlab.si>
1b6a543
to
48c5dec
Compare
Checked commit xlab-si@48c5dec with ruby 2.4.6, rubocop 0.69.0, haml-lint 0.20.0, and yamllint 1.10.0 |
Okay, done - I renamed the automate class to |
Pull Request Test Coverage Report for Build 3703
💛 - Coveralls |
1 similar comment
Pull Request Test Coverage Report for Build 3703
💛 - Coveralls |
In this commit we add automate class and instances corresponding to AzureStack provider events. All the events added here trigger targeted refresh.
Links
event_target_parser
for processing these events.@miq-bot add_label enhancement
@miq-bot assign @gmcculloug
/cc @Ladas @agrare