Branch: refs/heads/master
Home:
https://github.com/rhq-project/rhq
Commit: ce4e2505c0907544d83cd2d27df8cc9dfeda8af3
https://github.com/rhq-project/rhq/commit/ce4e2505c0907544d83cd2d27df8cc9...
Author: Jirka Kremser <jkremser(a)redhat.com>
Date: 2014-03-26 (Wed, 26 Mar 2014)
Changed paths:
M modules/core/domain/src/main/java/org/rhq/core/domain/criteria/EventCriteria.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/LinkManager.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/PortletFactory.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/portlets/PortletConfigurationEditorComponent.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/portlets/groups/GroupAlertsPortlet.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/portlets/groups/GroupEventsPortlet.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/portlets/recent/alerts/AbstractRecentAlertsPortlet.java
A
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/portlets/recent/events/AbstractRecentEventsPortlet.java
A
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/portlets/recent/events/RecentEventsPortlet.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/portlets/resource/ResourceEventsPortlet.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/common/detail/summary/AbstractActivityView.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/common/event/EventCompositeDatasource.java
M
modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/inventory/common/event/EventCompositeHistoryView.java
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_cs.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_de.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_ja.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_ko.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_pt.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_ru.properties
M
modules/enterprise/gui/coregui/src/main/resources/org/rhq/coregui/client/Messages_zh.properties
M
modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java
Log Message:
-----------
[BZ 1070243] - (JON3-31) Add "Recent Events" portlet into JON
Dashboard
To make the filtering (based on resource name) working, I had to add also
the new method to the EventCriteria class.
To sum it up, it is possible to filter by:
* time ("from, to" or "last n mins/hours/days")
* resource name - only for global Recent Alerts portlet; it accepts also a substring of a
name
* event source path - it accepts also a substring of a path
* severity (almost the same as alert priority filtering)
* result counts (5 is default)
Having that said, the performance shouldn't be an issue, because the
filters may be set to fetch only a few records.