Class SystemMessagesAction
java.lang.Object
org.apache.struts.action.Action
ecmwf.web.controller.ECMWFAction
ecmwf.ecpds.master.plugin.http.controller.PDSAction
ecmwf.ecpds.master.plugin.http.controller.admin.SystemMessagesAction
ECMWF Product Data Store (OpenECPDS) Project
Admin action for managing system-wide, time-bounded warning/maintenance messages, stored in the SYSTEM_MESSAGE
database table. Each message has a start and end time; it is automatically shown as a banner on the Monitor UI
landing page (
/do/start) and on the Data Portal for as long as the current time falls within that window, and
automatically stops being shown once it expires — no manual cleanup is required for display purposes, though
expired entries remain listed here (for history/audit) until explicitly deleted.
GET /admin/systemmessages → list all messages (HTML page) POST /admin/systemmessages/save → add or update a
message (JSON response) POST /admin/systemmessages/delete/{id} → remove a message (JSON response)- Since:
- 2026-09-24
- Version:
- 6.7.7
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
-
Field Summary
Fields inherited from class PDSAction
RETURN_AFTER_LOGIN_KEYFields inherited from class ecmwf.web.controller.ECMWFAction
EXCEPTION_KEY, PATH_PARAMETERS_KEY, RETURN_AFTER_ERROR_KEYFields inherited from class org.apache.struts.action.Action
defaultLocale, servlet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.struts.action.ActionForwardsafeAuthorizedPerform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ecmwf.web.model.users.User user) Safe authorized perform.Methods inherited from class PDSAction
getDateOptions, getISOFormat, match, safePerform, search, setActiveSystemMessages, setGuideIfPresentMethods inherited from class ecmwf.web.controller.ECMWFAction
checkTimeTaken, execute, getResource, getUser, getUserCommonName, getUserOldStyle, getUserUid, processParameterEnsuringBasePathMethods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
-
Constructor Details
-
SystemMessagesAction
public SystemMessagesAction()
-
-
Method Details
-
safeAuthorizedPerform
public org.apache.struts.action.ActionForward safeAuthorizedPerform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ecmwf.web.model.users.User user) throws ecmwf.web.ECMWFException, ClassCastException Safe authorized perform.- Specified by:
safeAuthorizedPerformin classPDSAction- Parameters:
mapping- the mappingform- the formrequest- the requestresponse- the responseuser- the user- Returns:
- the action forward
- Throws:
ecmwf.web.ECMWFException- the ECMWF exceptionClassCastException- the class cast exception
-