From 613ad50f5bbf20774858b8843a415f01590f93f5 Mon Sep 17 00:00:00 2001 From: Piotr Kliczewski Date: Fri, 26 May 2017 14:31:16 +0200 Subject: [PATCH] Targeted refresh enhacements for VM import\rename\migration events We need to make sure that we target vm when refreshing after import, rename or migration events. Bug: https://bugzilla.redhat.com/1404357 --- .../Event/EmsEvent/RHEVM.class/importexport_import_vm.yaml | 2 +- .../ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_import.yaml | 2 +- .../System/Event/EmsEvent/RHEVM.class/vm_migration_done.yaml | 2 +- .../ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_renamed.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/importexport_import_vm.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/importexport_import_vm.yaml index 849ec9ad8..3c93479e1 100644 --- a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/importexport_import_vm.yaml +++ b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/importexport_import_vm.yaml @@ -9,6 +9,6 @@ object: description: fields: - rel4: - value: "/System/event_handlers/event_action_refresh?target=ems" + value: "/System/event_handlers/event_action_refresh?target=src_vm" - meth4: value: update_vm_import_status diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_import.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_import.yaml index 34657418e..eac01b1b5 100644 --- a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_import.yaml +++ b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_import.yaml @@ -9,4 +9,4 @@ object: description: fields: - rel4: - value: "/System/event_handlers/event_action_refresh?target=src_ems_cluster" + value: "/System/event_handlers/event_action_refresh?target=src_vm" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_migration_done.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_migration_done.yaml index cf124c32c..5eb1289a6 100644 --- a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_migration_done.yaml +++ b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_migration_done.yaml @@ -9,6 +9,6 @@ object: description: fields: - rel4: - value: "/System/event_handlers/event_action_refresh?target=src_ems_cluster" + value: "/System/event_handlers/event_action_refresh?target=src_vm" - rel5: value: "/System/event_handlers/event_action_policy?target=src_vm&policy_event=vm_migrate¶m=" diff --git a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_renamed.yaml b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_renamed.yaml index ce5ad9c3a..022dbd195 100644 --- a/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_renamed.yaml +++ b/content/automate/ManageIQ/System/Event/EmsEvent/RHEVM.class/vm_renamed.yaml @@ -9,4 +9,4 @@ object: description: fields: - rel4: - value: "/System/event_handlers/event_action_refresh?target=ems" + value: "/System/event_handlers/event_action_refresh?target=src_vm"