Class ProductDescriptionsAction
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.ProductDescriptionsAction
ECMWF Product Data Store (OpenECPDS) Project
Admin action for managing per-product (optionally per-type) metadata, stored in the PRODUCT_METADATA database table:
a free-text description, exposed as the
{{DESCRIPTION}} placeholder in the Product Status Messages (Admin
Tasks → Product Status Messages), and a "Tips" text shown on the product monitoring page. An entry with an empty
type applies to all types of that product (used as a fallback when no type-specific entry exists).
GET /admin/productdescriptions → list all entries (HTML page) POST /admin/productdescriptions/save → add or
update an entry (JSON response) POST /admin/productdescriptions/delete → remove an entry (JSON response) POST
/admin/productdescriptions/deleteUnknown → remove all entries for products not seen in monitoring (JSON
response)- Since:
- 2026-09-10
- Version:
- 6.7.7
- Author:
- Laurent Gougeon - syi@ecmwf.int, ECMWF.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSimple JavaBean wrapper around aProductMetadataentry, plus a "known" flag, exposed to the JSP as${entry.product}/${entry.type}/${entry.description}/${entry.tips}(rather than iterating a rawMapwithentry.key/entry.value, which is not reliably resolved by this application's EL setup). -
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
-
ProductDescriptionsAction
public ProductDescriptionsAction()
-
-
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.controller.ECMWFActionFormException 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.controller.ECMWFActionFormException
-