JBoss Portal SVN: r13899 - branches.
by portal-commits@lists.jboss.org
Author: ghjboss
Date: 2010-02-09 13:06:27 -0500 (Tue, 09 Feb 2010)
New Revision: 13899
Removed:
branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/
Log:
this branch is a duplicate of Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP_159 which is a support patch
14 years, 2 months
JBoss Portal SVN: r13898 - branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity.
by portal-commits@lists.jboss.org
Author: ghjboss
Date: 2010-02-09 12:59:42 -0500 (Tue, 09 Feb 2010)
New Revision: 13898
Modified:
branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UserActivity.java
branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java
Log:
fix for JBEPP-159
Modified: branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UserActivity.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UserActivity.java 2010-02-09 16:58:02 UTC (rev 13897)
+++ branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UserActivity.java 2010-02-09 17:59:42 UTC (rev 13898)
@@ -70,8 +70,10 @@
{
throw new IllegalArgumentException("Id (notification message) cannot be null");
}
- this.id = notification.getMessage().substring(0, notification.getMessage().indexOf("_"));
- this.sessionId = notification.getMessage().substring(notification.getMessage().indexOf("_"));
+ /************************ JBEPP-159 ****************************************************************************************************************************************************************************************/
+ this.id = notification.getMessage().substring(0, notification.getMessage().indexOf(UsersActivityStatsServiceImpl.USERS_ACTIVITY_STATS_SEPARATOR));
+ this.sessionId = notification.getMessage().substring(notification.getMessage().indexOf(UsersActivityStatsServiceImpl.USERS_ACTIVITY_STATS_SEPARATOR)+UsersActivityStatsServiceImpl.USERS_ACTIVITY_STATS_SEPARATOR.length());
+ /***************************************************************************************************************************************************************************************************************************/
this.timestamp = notification.getTimeStamp();
this.type = Integer.parseInt(notification.getType());
}
Modified: branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java 2010-02-09 16:58:02 UTC (rev 13897)
+++ branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java 2010-02-09 17:59:42 UTC (rev 13898)
@@ -54,7 +54,9 @@
{
/** Our logger. */
private static final Logger log = Logger.getLogger(UsersActivityStatsServiceImpl.class);
-
+ /***************************** JBEPP-159 ***********************************/
+ public static final String USERS_ACTIVITY_STATS_SEPARATOR = "__SEPARATOR__";
+ /***************************************************************************/
// TODO: some value just to begin - find some good default
private int userTrackerThreadsNumber = 10;
@@ -177,10 +179,11 @@
{
try
{
+ /****************** JBEPP-159 ***************************************************************************************/
Notification notification = new Notification(Integer.toString(userActivity.getType()), this.getServiceName(),
- userActivity.getTimestamp(), userActivity.getTimestamp(), userActivity.getId() + "_"
- + userActivity.getSessionId());
-
+ userActivity.getTimestamp(), userActivity.getTimestamp(), userActivity.getId() + USERS_ACTIVITY_STATS_SEPARATOR
+ + userActivity.getSessionId());
+ /********************************************************************************************************************/
if (activityBroadcasterName != null)
{
log.debug("Broadcasting user activity notification ");
14 years, 2 months
JBoss Portal SVN: r13897 - branches.
by portal-commits@lists.jboss.org
Author: ghjboss
Date: 2010-02-09 11:58:02 -0500 (Tue, 09 Feb 2010)
New Revision: 13897
Added:
branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159/
Log:
fix for JBEPP-159
Copied: branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-159 (from rev 13896, tags/Enterprise_Portal_Platform_4_3_GA_CP03)
14 years, 2 months
JBoss Portal SVN: r13896 - branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity.
by portal-commits@lists.jboss.org
Author: ghjboss
Date: 2010-02-08 18:03:15 -0500 (Mon, 08 Feb 2010)
New Revision: 13896
Modified:
branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UserActivity.java
branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java
Log:
fix for JBEPP-157
Modified: branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UserActivity.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UserActivity.java 2010-02-08 21:44:27 UTC (rev 13895)
+++ branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UserActivity.java 2010-02-08 23:03:15 UTC (rev 13896)
@@ -24,6 +24,8 @@
import javax.management.Notification;
+import org.jboss.portal.core.identity.UsersActivityStatsServiceImpl;
+
/**
* @author <a href="mailto:boleslaw dot dawidowicz at redhat anotherdot com">Boleslaw Dawidowicz</a>
* @author <a href="mailto:jedim@vige.it">Luca Stancapiano</a>
@@ -70,8 +72,10 @@
{
throw new IllegalArgumentException("Id (notification message) cannot be null");
}
- this.id = notification.getMessage().substring(0, notification.getMessage().indexOf("_"));
- this.sessionId = notification.getMessage().substring(notification.getMessage().indexOf("_"));
+ /************************ JBEPP-157 ****************************************************************************************************************************************************************************************/
+ this.id = notification.getMessage().substring(0, notification.getMessage().indexOf(UsersActivityStatsServiceImpl.USERS_ACTIVITY_STATS_SEPARATOR));
+ this.sessionId = notification.getMessage().substring(notification.getMessage().indexOf(UsersActivityStatsServiceImpl.USERS_ACTIVITY_STATS_SEPARATOR)+UsersActivityStatsServiceImpl.USERS_ACTIVITY_STATS_SEPARATOR.length());
+ /***************************************************************************************************************************************************************************************************************************/
this.timestamp = notification.getTimeStamp();
this.type = Integer.parseInt(notification.getType());
}
Modified: branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java
===================================================================
--- branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java 2010-02-08 21:44:27 UTC (rev 13895)
+++ branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/core/src/main/org/jboss/portal/core/identity/UsersActivityStatsServiceImpl.java 2010-02-08 23:03:15 UTC (rev 13896)
@@ -54,7 +54,9 @@
{
/** Our logger. */
private static final Logger log = Logger.getLogger(UsersActivityStatsServiceImpl.class);
-
+ /***************************** JBEPP-157 ***********************************/
+ public static final String USERS_ACTIVITY_STATS_SEPARATOR = "__SEPARATOR__";
+ /***************************************************************************/
// TODO: some value just to begin - find some good default
private int userTrackerThreadsNumber = 10;
@@ -177,10 +179,11 @@
{
try
{
+ /****************** JBEPP-157 ***************************************************************************************/
Notification notification = new Notification(Integer.toString(userActivity.getType()), this.getServiceName(),
- userActivity.getTimestamp(), userActivity.getTimestamp(), userActivity.getId() + "_"
+ userActivity.getTimestamp(), userActivity.getTimestamp(), userActivity.getId() + USERS_ACTIVITY_STATS_SEPARATOR
+ userActivity.getSessionId());
-
+ /********************************************************************************************************************/
if (activityBroadcasterName != null)
{
log.debug("Broadcasting user activity notification ");
14 years, 2 months
JBoss Portal SVN: r13895 - branches.
by portal-commits@lists.jboss.org
Author: ghjboss
Date: 2010-02-08 16:44:27 -0500 (Mon, 08 Feb 2010)
New Revision: 13895
Added:
branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157/
Log:
create the branch for CP-03 for the jira JBEPP-157
Copied: branches/Enterprise_Portal_Platform_4_3_GA_CP03_JBEPP-157 (from rev 13894, tags/Enterprise_Portal_Platform_4_3_GA_CP03)
14 years, 2 months