From 0258e5aa6e519d2a637b0797f75c49c92e43dffa Mon Sep 17 00:00:00 2001 From: Guillaume Duval <117720964+g-duval@users.noreply.github.com> Date: Fri, 24 Nov 2023 15:54:02 +0100 Subject: [PATCH] Update failed integration drawer template name (#2361) --- .../templates/DrawerTemplateMigrationService.java | 4 ++-- ...dIntegrationBody.html => failedIntegrationDrawerBody.html} | 0 ...onDisabledBody.html => integrationDisabledDrawerBody.html} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename engine/src/main/resources/templates/drawer/Integrations/{failedIntegrationBody.html => failedIntegrationDrawerBody.html} (100%) rename engine/src/main/resources/templates/drawer/Integrations/{integrationDisabledBody.html => integrationDisabledDrawerBody.html} (100%) diff --git a/engine/src/main/java/com/redhat/cloud/notifications/templates/DrawerTemplateMigrationService.java b/engine/src/main/java/com/redhat/cloud/notifications/templates/DrawerTemplateMigrationService.java index 994b9d1ab7..c32a9b4f1e 100644 --- a/engine/src/main/java/com/redhat/cloud/notifications/templates/DrawerTemplateMigrationService.java +++ b/engine/src/main/java/com/redhat/cloud/notifications/templates/DrawerTemplateMigrationService.java @@ -127,12 +127,12 @@ public List migrate() { // Integrations createDrawerIntegrationTemplate( warnings, "console", "integrations", List.of(INTEGRATION_FAILED_EVENT_TYPE), - "Integrations/failedIntegrationBody", "html", "Integrations failed integration drawer body" + "Integrations/failedIntegrationDrawerBody", "html", "Integrations failed integration drawer body" ); createDrawerIntegrationTemplate( warnings, "console", "integrations", List.of(INTEGRATION_DISABLED_EVENT_TYPE), - "Integrations/integrationDisabledBody", "html", "Integrations disabled integration drawer body" + "Integrations/integrationDisabledDrawerBody", "html", "Integrations disabled integration drawer body" ); // Inventory diff --git a/engine/src/main/resources/templates/drawer/Integrations/failedIntegrationBody.html b/engine/src/main/resources/templates/drawer/Integrations/failedIntegrationDrawerBody.html similarity index 100% rename from engine/src/main/resources/templates/drawer/Integrations/failedIntegrationBody.html rename to engine/src/main/resources/templates/drawer/Integrations/failedIntegrationDrawerBody.html diff --git a/engine/src/main/resources/templates/drawer/Integrations/integrationDisabledBody.html b/engine/src/main/resources/templates/drawer/Integrations/integrationDisabledDrawerBody.html similarity index 100% rename from engine/src/main/resources/templates/drawer/Integrations/integrationDisabledBody.html rename to engine/src/main/resources/templates/drawer/Integrations/integrationDisabledDrawerBody.html