From eb4aa2a877a810579c808986fac869bf52798452 Mon Sep 17 00:00:00 2001 From: Rhys Williams <170514543+Viii3@users.noreply.github.com> Date: Tue, 27 Aug 2024 14:02:58 +0100 Subject: [PATCH 01/15] FISH-6030: Remove noisy and all references to it. The noisy parameter has been removed from all Admin Console pages and has been marked as deprecated within the API. --- .../cdiEventbusNotifierConfiguration.jsf | 14 ++------------ .../eventbus/eventbusNotifierConfiguration.jsf | 13 ++----------- .../resources/jms/jmsNotifierConfiguration.jsf | 13 ++----------- .../configAPI/gcpConfigSourceConfiguration.jsf | 4 ++-- .../main/resources/notification/notification.jsf | 11 ++--------- .../jms/SetJmsNotifierConfigurationCommand.java | 8 +------- .../notification/PayaraNotifierConfiguration.java | 12 +++++++----- .../admin/BaseGetNotifierConfigurationCommand.java | 12 +++--------- .../admin/BaseSetNotifierConfigurationCommand.java | 10 +++------- .../admin/GetNotificationConfigurationCommand.java | 9 +++------ .../admin/SetNotificationConfiguration.java | 6 +----- 11 files changed, 28 insertions(+), 84 deletions(-) diff --git a/appserver/admingui/cdieventbus-notifier-console-plugin/src/main/resources/cdieventbus/cdiEventbusNotifierConfiguration.jsf b/appserver/admingui/cdieventbus-notifier-console-plugin/src/main/resources/cdieventbus/cdiEventbusNotifierConfiguration.jsf index 3f76168dfee..f78c1966c9a 100644 --- a/appserver/admingui/cdieventbus-notifier-console-plugin/src/main/resources/cdieventbus/cdiEventbusNotifierConfiguration.jsf +++ b/appserver/admingui/cdieventbus-notifier-console-plugin/src/main/resources/cdieventbus/cdiEventbusNotifierConfiguration.jsf @@ -1,7 +1,7 @@ - - 4.0.0 - - fish.payara.server.internal.packager - external - 6.2024.10-SNAPSHOT - - - fish.payara.server.core.packager - snmp4j-repackaged - snmp4j repackaged as a module - snmp4j repackaged as a module - jar - - - 3.7.5 - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - default-jar - - true - - - - - - org.apache.felix - maven-bundle-plugin - - - - *;scope=compile;inline=true - - - *;version=${snmp4j.version} - - !* - - - - - osgi-bundle - package - - bundle - - - - - - - - - - org.snmp4j - snmp4j - ${snmp4j.version} - - - - \ No newline at end of file From 6b407e427397acdf24a8e561057db1627c147f0a Mon Sep 17 00:00:00 2001 From: Rhys Williams <170514543+Viii3@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:00:33 +0000 Subject: [PATCH 15/15] FISH-10107: Set notifier testing to SEVERE. --- .../payara/nucleus/notification/admin/TestNotifier.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nucleus/payara-modules/notification-core/src/main/java/fish/payara/nucleus/notification/admin/TestNotifier.java b/nucleus/payara-modules/notification-core/src/main/java/fish/payara/nucleus/notification/admin/TestNotifier.java index 47a51aad780..e0a6598f2a8 100644 --- a/nucleus/payara-modules/notification-core/src/main/java/fish/payara/nucleus/notification/admin/TestNotifier.java +++ b/nucleus/payara-modules/notification-core/src/main/java/fish/payara/nucleus/notification/admin/TestNotifier.java @@ -1,7 +1,7 @@ /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * - * Copyright (c) [2017-2021] Payara Foundation and/or its affiliates. All rights reserved. + * Copyright (c) [2017-2024] Payara Foundation and/or its affiliates. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common Development @@ -41,6 +41,7 @@ import java.util.List; +import fish.payara.internal.notification.EventLevel; import jakarta.inject.Inject; import org.glassfish.api.ActionReport; @@ -105,7 +106,8 @@ public void execute(AdminCommandContext context) { PayaraNotificationBuilder builder = factory.newBuilder() .eventType(EVENT_TYPE) .subject(SUBJECT) - .message(MESSAGE); + .message(MESSAGE) + .level(EventLevel.SEVERE); if (all == null || !all) { if (notifiers == null || notifiers.isEmpty()) {