From 0f45f2c6ff7de1d20f086447f92017d6fbba2cc7 Mon Sep 17 00:00:00 2001 From: Pascal Arlt Date: Tue, 2 May 2023 13:01:18 +0200 Subject: [PATCH] Change default scheduler from (none) to (system) Signed-off-by: Pascal Arlt --- .../rhn/common/db/datasource/xml/Action_queries.xml | 2 +- .../rhn/common/db/datasource/xml/System_queries.xml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/java/code/src/com/redhat/rhn/common/db/datasource/xml/Action_queries.xml b/java/code/src/com/redhat/rhn/common/db/datasource/xml/Action_queries.xml index b5f8b2b37159..0ac761194d9f 100644 --- a/java/code/src/com/redhat/rhn/common/db/datasource/xml/Action_queries.xml +++ b/java/code/src/com/redhat/rhn/common/db/datasource/xml/Action_queries.xml @@ -24,7 +24,7 @@ SELECT EVENT_ID as ID, WHERE SH.server_id = :sid UNION SELECT SA.action_id EVENT_ID, - AType.name || ' scheduled by ' || NVL(U.login, '(none)') AS SUMMARY, + AType.name || ' scheduled by ' || NVL(U.login, '(system)') AS SUMMARY, SA.created, SA.pickup_time AS picked_up, SA.completion_time AS completed, diff --git a/java/code/src/com/redhat/rhn/common/db/datasource/xml/System_queries.xml b/java/code/src/com/redhat/rhn/common/db/datasource/xml/System_queries.xml index 71253a4bd3c5..cec8f68e561a 100644 --- a/java/code/src/com/redhat/rhn/common/db/datasource/xml/System_queries.xml +++ b/java/code/src/com/redhat/rhn/common/db/datasource/xml/System_queries.xml @@ -1798,7 +1798,7 @@ select event_id as id, where SH.server_id = :sid union select SA.action_id event_id, - COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') as summary, + COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') as summary, SA.created, SA.pickup_time as picked_up, SA.completion_time as completed, @@ -1852,7 +1852,7 @@ order by completed desc, picked_up desc, all_events.created desc, event_id desc AND SH.id = :eid union select SA.action_id event_id, - COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') as summary, + COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') as summary, SA.created, SA.pickup_time as picked_up, SA.completion_time as completed, @@ -1888,7 +1888,7 @@ select count(action_id) as count class="com.redhat.rhn.frontend.dto.SystemPendingEventDto"> SELECT SA.action_id AS id - , COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') AS summary + , COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') AS summary , A.earliest_action AS scheduled_for , AType.label AS history_type , AType.name AS history_type_name @@ -1910,7 +1910,7 @@ ORDER BY scheduled_for DESC, prereq_aid NULLS FIRST class="com.redhat.rhn.frontend.dto.SystemPendingEventDto"> SELECT SA.action_id AS ID - , COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(none)') AS summary + , COALESCE(A.name, AType.name) || ' scheduled by ' || NVL(U.login, '(system)') AS summary , A.earliest_action AS scheduled_for , AType.label AS history_type , AType.name AS history_type_name