8 new revisions:

Revision: e0e6403a65c9
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Fri Jul  9 08:00:35 2010
Log:      Adding jDiameter HA API and Implementation...
http://code.google.com/p/jdiameter/source/detail?r=e0e6403a65c9&repo=jdiameter-ha

Revision: 8b98c1916a22
Author:   baranowb <baranowb@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Mon Jul 12 03:21:25 2010
Log:      ...
http://code.google.com/p/jdiameter/source/detail?r=8b98c1916a22&repo=jdiameter-ha

Revision: a1136efdf2d3
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Mon Jul 12 05:17:27 2010
Log:      Updating for jDiameter HA...
http://code.google.com/p/jdiameter/source/detail?r=a1136efdf2d3&repo=jdiameter-ha

Revision: 13c2a4279674
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Mon Jul 12 06:51:57 2010
Log:      Adding JBoss Cache configuration to jDiameter...
http://code.google.com/p/jdiameter/source/detail?r=13c2a4279674&repo=jdiameter-ha

Revision: bbea26673623
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 09:12:52 2010
Log:      Updating Diameter POMs for 1.3.0.FINAL release...
http://code.google.com/p/jdiameter/source/detail?r=bbea26673623&repo=jdiameter-ha

Revision: e4974e128c35
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 12:36:16 2010
Log:      Updating POM for release...
http://code.google.com/p/jdiameter/source/detail?r=e4974e128c35&repo=jdiameter-ha

Revision: 67affde29fcd
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 14:15:07 2010
Log:      [maven-release-plugin] prepare release jdiameter-ha-1.0.0.BETA1...
http://code.google.com/p/jdiameter/source/detail?r=67affde29fcd&repo=jdiameter-ha

Revision: 4441de6e057b
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 14:15:15 2010
Log:      [maven-scm] copy for tag jdiameter-ha-1.0.0.BETA1...
http://code.google.com/p/jdiameter/source/detail?r=4441de6e057b&repo=jdiameter-ha

==============================================================================
Revision: e0e6403a65c9
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Fri Jul  9 08:00:35 2010
Log:      Adding jDiameter HA API and Implementation

Update Issue 1614
Adding jDiameter HA API and Implementation



git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha@12839 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=e0e6403a65c9&repo=jdiameter-ha

Added:
 /api/pom.xml
/api/src/main/java/org/mobicents/diameter/api/ha/data/ISessionClusteredData.java
 /impl/pom.xml
 /impl/src/main/java/org/mobicents/diameter/impl/ha/data/ListenerRef.java
/impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java /impl/src/main/java/org/mobicents/diameter/impl/ha/data/SessionClusteredData.java /impl/src/main/java/org/mobicents/diameter/impl/ha/timer/DiameterTimerTaskData.java /impl/src/main/java/org/mobicents/diameter/impl/ha/timer/ReplicatedTimerFacilityImpl.java
 /pom.xml

=======================================
--- /dev/null
+++ /api/pom.xml        Fri Jul  9 08:00:35 2010
@@ -0,0 +1,39 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.mobicents.servers.diameter</groupId>
+               <artifactId>jdiameter-ha-parent</artifactId>
+               <version>1.0.0-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>jdiameter-ha-api</artifactId>
+       <name>Mobicents :: Diameter Stack HA :: ${pom.artifactId}</name>
+
+       <dependencies>
+               <dependency>
+                       <groupId>${pom.groupId}</groupId>
+                       <artifactId>jdiameter-api</artifactId>
+                       <version>${jdiameter.version}</version>
+               </dependency>
+
+               <!-- clustering deps -->
+               <dependency>
+                       <groupId>org.jboss.cache</groupId>
+                       <artifactId>jbosscache-core</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.jboss.cluster</groupId>
+                       <artifactId>jboss-ha-server-cache-jbc</artifactId>
+               </dependency>
+               <dependency>
+                       <groupId>org.mobicents.cluster</groupId>
+                       <artifactId>timers</artifactId>
+               </dependency>
+
+       </dependencies>
+
+</project>
=======================================
--- /dev/null
+++ /api/src/main/java/org/mobicents/diameter/api/ha/data/ISessionClusteredData.java Fri Jul 9 08:00:35 2010
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a full listing
+ * of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License, v. 2.0.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License,
+ * v. 2.0 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.mobicents.diameter.api.ha.data;
+
+import org.jdiameter.api.BaseSession;
+import org.jdiameter.api.NetworkReqListener;
+
+/**
+ * Interface for Session Clustered Data.
+ *
+ * @author <a href="mailto:[email protected]";> Bartosz Baranowski </a>
+ * @author <a href="mailto:[email protected]";> Alexandre Mendonca </a>
+ */
+public interface ISessionClusteredData {
+
+  public void setSession(BaseSession s);
+  public BaseSession getSession();
+
+  public NetworkReqListener getSessionListener();
+  public void setSessionListener(NetworkReqListener lst);
+}
=======================================
--- /dev/null
+++ /impl/pom.xml       Fri Jul  9 08:00:35 2010
@@ -0,0 +1,49 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.mobicents.servers.diameter</groupId>
+               <artifactId>jdiameter-ha-parent</artifactId>
+               <version>1.0.0-SNAPSHOT</version>
+       </parent>
+
+       <artifactId>jdiameter-ha-impl</artifactId>
+       <name>Mobicents :: Diameter Stack HA :: ${pom.artifactId}</name>
+
+       <dependencies>
+               <dependency>
+                       <groupId>${pom.groupId}</groupId>
+                       <artifactId>jdiameter-ha-api</artifactId>
+                       <version>${pom.version}</version>
+               </dependency>
+               <dependency>
+                       <groupId>${pom.groupId}</groupId>
+                       <artifactId>jdiameter-impl</artifactId>
+                       <version>${jdiameter.version}</version>
+               </dependency>
+
+               <!--  cache  -->
+               <dependency>
+                       <groupId>org.jboss.logging</groupId>
+                       <artifactId>jboss-logging-log4j</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+
+               <!-- clustering deps -->
+               <dependency>
+                       <groupId>org.jboss.cache</groupId>
+                       <artifactId>jbosscache-core</artifactId>
+                       <scope>provided</scope>
+               </dependency>
+
+               <dependency>
+                       <groupId>org.jboss.cluster</groupId>
+                       <artifactId>jboss-ha-server-cache-jbc</artifactId>
+               </dependency>
+               <dependency>
+                               <groupId>org.mobicents.cluster</groupId>
+                               <artifactId>timers</artifactId>
+               </dependency>
+       </dependencies>
+
+</project>
=======================================
--- /dev/null
+++ /impl/src/main/java/org/mobicents/diameter/impl/ha/data/ListenerRef.java Fri Jul 9 08:00:35 2010
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a full listing
+ * of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License, v. 2.0.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License,
+ * v. 2.0 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.mobicents.diameter.impl.ha.data;
+
+import java.io.Serializable;
+
+import org.jdiameter.api.NetworkReqListener;
+
+/**
+ * Listener reference class
+ *
+ * @author <a href="mailto:[email protected]";> Bartosz Baranowski </a>
+ * @author <a href="mailto:[email protected]";> Alexandre Mendonca </a>
+ */
+class ListenerRef implements Serializable {
+
+  private static final long serialVersionUID = 3547069215714022048L;
+
+ public NetworkReqListener getListener(SessionClusteredData sessionClusteredData) {
+    return (NetworkReqListener) sessionClusteredData.getSession();
+  }
+}
=======================================
--- /dev/null
+++ /impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java Fri Jul 9 08:00:35 2010
@@ -0,0 +1,283 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a full listing
+ * of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License, v. 2.0.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License,
+ * v. 2.0 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.mobicents.diameter.impl.ha.data;
+
+import org.jboss.cache.Cache;
+import org.jboss.cache.CacheFactory;
+import org.jboss.cache.DefaultCacheFactory;
+import org.jboss.cache.Fqn;
+import org.jboss.cache.config.Configuration.CacheMode;
+import org.jdiameter.api.BaseSession;
+import org.jdiameter.api.NetworkReqListener;
+import org.jdiameter.client.api.IContainer;
+import org.jdiameter.common.api.data.ISessionDatasource;
+import org.jdiameter.common.impl.app.AppSessionImpl;
+import org.jdiameter.common.impl.data.LocalDataSource;
+import org.mobicents.cache.MobicentsCache;
+import org.mobicents.cluster.DefaultMobicentsCluster;
+import org.mobicents.cluster.election.DefaultClusterElector;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Replicated datasource implementation for {@link ISessionDatasource}
+ *
+ * @author <a href="mailto:[email protected]";> Alexandre Mendonca </a>
+ * @author <a href="mailto:[email protected]";> Bartosz Baranowski </a>
+ */
+public class ReplicatedDataSource implements ISessionDatasource {
+
+ private static final Logger logger = LoggerFactory.getLogger(ReplicatedDataSource.class);
+
+  private IContainer container;
+
+  private ISessionDatasource localDataSource;
+  private DefaultMobicentsCluster mobicentsCluster;
+
+  private boolean localMode;
+
+ // Constants ----------------------------------------------------------------
+  final static String SESSION = "session";
+  final static String _SESSIONS = "/diameter/appsessions";
+  @SuppressWarnings("unchecked")
+  final static Fqn SESSIONS = Fqn.fromString(_SESSIONS);
+
+  public ReplicatedDataSource(IContainer container) {
+    this(container, new LocalDataSource(), "");
+  }
+
+  @SuppressWarnings("unchecked")
+ public ReplicatedDataSource(IContainer container, ISessionDatasource localDataSource, String cacheConffileName) {
+    super();
+    this.localDataSource = localDataSource;
+    CacheFactory factory = new DefaultCacheFactory();
+    Cache cache = factory.createCache(cacheConffileName, false);
+    cache.start();
+
+ MobicentsCache mcCache = new MobicentsCache(cache, "ALEX_DRIVING_HIS_SMART_LIGHT_CAR");
+    // this requires JTA
+ this.mobicentsCluster = new DefaultMobicentsCluster(mcCache, null, new DefaultClusterElector());
+    this.container = container;
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.ha.ISessionDatasource#addSession(org.jdiameter .api.BaseSession)
+   */
+  public void addSession(BaseSession session) {
+    if (session.isReplicable()) {
+ SessionClusteredData scd = new SessionClusteredData(session.getSessionId(), mobicentsCluster);
+      if (scd.exists()) {
+        // ups?
+ logger.warn("Session with id {} already present in clustered data.", session.getSessionId());
+      }
+      else {
+ logger.debug("addSession({}) in Replicated DataSource", session.getSessionId());
+        scd.create();
+        scd.setSession(session);
+      }
+      this.localDataSource.removeSession(session.getSessionId());
+    }
+    else {
+ logger.debug("addSession({}) in Local DataSource", session.getSessionId());
+      this.localDataSource.addSession(session);
+    }
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.ha.ISessionDatasource#getSession(java.lang.String )
+   */
+  public BaseSession getSession(String sessionId) {
+    // first check local?
+    BaseSession session = this.localDataSource.getSession(sessionId);
+    if (session == null) {
+ SessionClusteredData scd = new SessionClusteredData(sessionId, mobicentsCluster);
+      if (scd.exists()) {
+        logger.debug("getSession({}) in Replicated DataSource", sessionId);
+        session = scd.getSession();
+ logger.debug("getSession({}) in Replicated DataSource retrieved {}", sessionId, session);
+      }
+      else {
+ logger.debug("getSession({}) in Replicated DataSource not found, returning null.", sessionId);
+        return null;
+      }
+      if (session != null && session.isAppSession()) {
+        AppSessionImpl appSession = (AppSessionImpl) session;
+        appSession.relink(container);
+      }
+    }
+
+    return session;
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.ha.ISessionDatasource#getSessionListener(java .lang.String)
+   */
+  public NetworkReqListener getSessionListener(String sessionId) {
+    logger.debug("getSessionListener({}) in Local DataSource", sessionId);
+ NetworkReqListener lst = this.localDataSource.getSessionListener(sessionId);
+    if (lst == null) {
+ logger.debug("getSessionListener({}) in Replicated DataSource", sessionId); + SessionClusteredData scd = new SessionClusteredData(sessionId, mobicentsCluster);
+      if (scd.exists()) {
+        lst = scd.getSessionListener();
+ logger.debug("getSessionListener({}) in Replicated DataSource retrieved {}", sessionId, lst);
+      }
+      else {
+ logger.debug("getSessionListener({}) in Replicated DataSource not found. Returning null.", sessionId);
+        return null;
+      }
+
+ // now we must ensure session this listener points to is properly linked to local stack
+      // this is expensive...
+      if (lst != null && lst instanceof AppSessionImpl) {
+        AppSessionImpl as = (AppSessionImpl) lst;
+        as.relink(container);
+      }
+    }
+
+    return lst;
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.ha.ISessionDatasource#removeSession(java.lang .String)
+   */
+  public void removeSession(String sessionId) {
+    logger.debug("removeSession({}) in Local DataSource", sessionId);
+    this.localDataSource.removeSession(sessionId);
+ SessionClusteredData scd = new SessionClusteredData(sessionId, mobicentsCluster);
+    if (scd.exists()) {
+ logger.debug("removeSession({}) in Replicated DataSource", sessionId);
+      boolean removed = scd.remove();
+ logger.debug("removeSession({}) in Replicated DataSource result: {}", sessionId, String.valueOf(removed));
+    }
+    else {
+      // ups?
+ logger.debug("removeSession({}) in Replicated DataSource. Not found.", sessionId);
+    }
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.ha.ISessionDatasource#removeSessionListener( java.lang.String)
+   */
+  public NetworkReqListener removeSessionListener(String sessionId) {
+ logger.debug("removeSessionListener({}) in Local DataSource", sessionId); + NetworkReqListener lst = this.localDataSource.removeSessionListener(sessionId);
+    if (lst == null) {
+ SessionClusteredData scd = new SessionClusteredData(sessionId, mobicentsCluster);
+      if (scd.exists()) {
+ logger.debug("removeSessionListener({}) in Replicated DataSource", sessionId);
+        lst = scd.getSessionListener();
+        scd.setSessionListener(null);
+      }
+      else {
+        // ups?
+ logger.debug("removeSessionListener({}) in Replicated DataSource. Not found.", sessionId);
+      }
+    }
+
+    return lst;
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.ha.ISessionDatasource#setSessionListener(java .lang.String, org.jdiameter.api.NetworkReqListener)
+   */
+ public void setSessionListener(String sessionId, NetworkReqListener data) {
+    if (localDataSource.getSession(sessionId) != null) {
+ logger.debug("setSessionListener({}, {}) in Local DataSource", sessionId, data);
+      this.localDataSource.setSessionListener(sessionId, data);
+    }
+    else {
+ logger.debug("setSessionListener({}, {}) in Replicated DataSource", sessionId, data); + SessionClusteredData scd = new SessionClusteredData(sessionId, mobicentsCluster);
+      if (scd.exists()) {
+        scd.setSessionListener(data);
+      }
+      else {
+        // ups?
+ logger.warn("setSessionListener({}, {}) in Replicated DataSource. Session not found.", sessionId, data);
+      }
+    }
+  }
+
+  public void updateSession(BaseSession session) {
+ SessionClusteredData scd = new SessionClusteredData(session.getSessionId(), mobicentsCluster);
+    // FIXME: Shouldn't it be the inverse... if !exists?
+    if (scd.exists()) {
+      // ups?
+    }
+    else {
+      // scd.create();
+      scd.setSession(session);
+    }
+  }
+
+  public void start() {
+    getJBossCache().start();
+ if (getJBossCache().getConfiguration().getCacheMode() == CacheMode.LOCAL) {
+      localMode = true;
+    }
+  }
+
+  public void stop() {
+    getJBossCache().stop();
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+   * @see org.jdiameter.common.api.data.ISessionDatasource#isClustered()
+   */
+  public boolean isClustered() {
+    return !localMode;
+  }
+
+  // remove lst;
+
+  @SuppressWarnings("unchecked")
+  public Cache getJBossCache() {
+    return this.mobicentsCluster.getMobicentsCache().getJBossCache();
+  }
+
+  @SuppressWarnings("unchecked")
+  public void dataRemoved(Fqn sessionFqn) {
+    String sessionId = (String) sessionFqn.getLastElement();
+    this.localDataSource.removeSession(sessionId);
+  }
+
+  @SuppressWarnings("unchecked")
+  public Fqn getBaseFqn() {
+    return SESSIONS;
+  }
+
+}
=======================================
--- /dev/null
+++ /impl/src/main/java/org/mobicents/diameter/impl/ha/data/SessionClusteredData.java Fri Jul 9 08:00:35 2010
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a full listing
+ * of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License, v. 2.0.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License,
+ * v. 2.0 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.mobicents.diameter.impl.ha.data;
+
+import java.io.Serializable;
+
+import org.jboss.cache.Fqn;
+import org.jdiameter.api.BaseSession;
+import org.jdiameter.api.NetworkReqListener;
+import org.mobicents.cluster.MobicentsCluster;
+import org.mobicents.cluster.cache.ClusteredCacheData;
+import org.mobicents.diameter.api.ha.data.ISessionClusteredData;
+
+/**
+ * Basic implementation of clustered data
+ *
+ * @author <a href="mailto:[email protected]";> Bartosz Baranowski </a>
+ * @author <a href="mailto:[email protected]";> Alexandre Mendonca </a>
+ */
+public class SessionClusteredData extends ClusteredCacheData implements ISessionClusteredData {
+
+  final static String _SESSIONS = "/diameter/appsessions";
+  @SuppressWarnings("unchecked")
+  final static Fqn SESSIONS = Fqn.fromString(_SESSIONS);
+
+  final static String SESSION_KEY = "session";
+  final static String LISTENER_KEY = "lst";
+
+  /**
+   * @param nodeFqn
+   * @param mobicentsCluster
+   */
+ public SessionClusteredData(Fqn<?> nodeFqn, MobicentsCluster mobicentsCluster) {
+    super(nodeFqn, mobicentsCluster);
+    // this is used by MobicentsCluster
+  }
+
+  @SuppressWarnings("unchecked")
+ public SessionClusteredData(String sessionId, MobicentsCluster mobicentsCluster) {
+    super(Fqn.fromRelativeElements(SESSIONS, sessionId), mobicentsCluster);
+    // this is used by us to ease creation of this object :)
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.mobicents.diameter.api.ha.data.ISessionClusteredData#getSession()
+   */
+  @SuppressWarnings("unchecked")
+  public BaseSession getSession() {
+    if (exists()) {
+      return (BaseSession) getNode().get(SESSION_KEY);
+    }
+    else {
+      // throw exception?
+      return null;
+    }
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.mobicents.diameter.api.ha.data.ISessionClusteredData#getSessionListener()
+   */
+  @SuppressWarnings("unchecked")
+  public NetworkReqListener getSessionListener() {
+    if (exists()) {
+      Serializable ser = (Serializable) getNode().get(LISTENER_KEY);
+      if (ser instanceof ListenerRef) {
+        ListenerRef lr = (ListenerRef) ser;
+        return lr.getListener(this);
+      }
+      else {
+        return (NetworkReqListener) ser;
+      }
+    }
+    else {
+      return null;
+    }
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.mobicents.diameter.api.ha.data.ISessionClusteredData#setSession(org.jdiameter.api.BaseSession)
+   */
+  @SuppressWarnings("unchecked")
+  public void setSession(BaseSession session) {
+    if (exists()) {
+      getNode().put(SESSION_KEY, session);
+    }
+    else {
+      // ?
+    }
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.mobicents.diameter.api.ha.data.ISessionClusteredData#setSessionListener(org.jdiameter.api.NetworkReqListener)
+   */
+  @SuppressWarnings("unchecked")
+  public void setSessionListener(NetworkReqListener listener) {
+    if (exists()) {
+      BaseSession x = (BaseSession) getNode().get(SESSION_KEY);
+      if (x.equals(listener)) {
+        ListenerRef ref = new ListenerRef();
+        getNode().put(LISTENER_KEY, ref);
+      }
+      else {
+        getNode().put(LISTENER_KEY, listener);
+      }
+    }
+    else {
+      // ?
+    }
+  }
+
+}
=======================================
--- /dev/null
+++ /impl/src/main/java/org/mobicents/diameter/impl/ha/timer/DiameterTimerTaskData.java Fri Jul 9 08:00:35 2010
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a full listing
+ * of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License, v. 2.0.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License,
+ * v. 2.0 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.mobicents.diameter.impl.ha.timer;
+
+import java.io.Serializable;
+
+import org.mobicents.timers.PeriodicScheduleStrategy;
+import org.mobicents.timers.TimerTaskData;
+
+/**
+ * Diameter timer task data holder.
+ *
+ * @author <a href="mailto:[email protected]";> Alexandre Mendonca </a>
+ * @author <a href="mailto:[email protected]";> Bartosz Baranowski </a>
+ */
+final class DiameterTimerTaskData extends TimerTaskData {
+
+  private static final long serialVersionUID = 8774218122384404225L;
+
+  // data we need to recreate timer task
+  private String sessionId;
+  private String timerName;
+
+ public DiameterTimerTaskData(Serializable id, long delay, String sessionId, String timerName) { + super(id, System.currentTimeMillis() + delay, -1, PeriodicScheduleStrategy.withFixedDelay);
+    this.sessionId = sessionId;
+    this.timerName = timerName;
+  }
+
+  public String getSessionId() {
+    return sessionId;
+  }
+
+  public String getTimerName() {
+    return timerName;
+  }
+}
=======================================
--- /dev/null
+++ /impl/src/main/java/org/mobicents/diameter/impl/ha/timer/ReplicatedTimerFacilityImpl.java Fri Jul 9 08:00:35 2010
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a full listing
+ * of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License, v. 2.0.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License,
+ * v. 2.0 along with this distribution; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.mobicents.diameter.impl.ha.timer;
+
+import java.io.Serializable;
+
+import org.jdiameter.api.BaseSession;
+import org.jdiameter.client.api.IContainer;
+import org.jdiameter.common.api.data.ISessionDatasource;
+import org.jdiameter.common.api.timer.ITimerFacility;
+import org.jdiameter.common.impl.app.AppSessionImpl;
+import org.mobicents.cache.MobicentsCache;
+import org.mobicents.cluster.DefaultMobicentsCluster;
+import org.mobicents.cluster.MobicentsCluster;
+import org.mobicents.cluster.election.DefaultClusterElector;
+import org.mobicents.diameter.impl.ha.data.ReplicatedDataSource;
+import org.mobicents.timers.FaultTolerantScheduler;
+import org.mobicents.timers.TimerTask;
+import org.mobicents.timers.TimerTaskData;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * Replicated implementation of {@link ITimerFacility}
+ *
+ * @author <a href="mailto:[email protected]";> Bartosz Baranowski </a>
+ * @author <a href="mailto:[email protected]";> Alexandre Mendonca </a>
+ */
+public class ReplicatedTimerFacilityImpl implements ITimerFacility {
+
+ private static final Logger logger = LoggerFactory.getLogger(ReplicatedTimerFacilityImpl.class);
+
+  private ISessionDatasource sessionDataSource;
+  private TimerTaskFactory taskFactory;
+  private FaultTolerantScheduler ftScheduler;
+
+  public ReplicatedTimerFacilityImpl(IContainer container) {
+    super();
+ this.sessionDataSource = container.getAssemblerFacility().getComponentInstance(ISessionDatasource.class);
+    this.taskFactory = new TimerTaskFactory();
+ ReplicatedDataSource rds = (ReplicatedDataSource) this.sessionDataSource;
+    MobicentsCache mcCache = new MobicentsCache(rds.getJBossCache(), null);
+ MobicentsCluster cluster = new DefaultMobicentsCluster(mcCache, null, new DefaultClusterElector()); + this.ftScheduler = new FaultTolerantScheduler("XXX", 5, cluster, (byte) 12, null, this.taskFactory);
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.timer.ITimerFacility#cancel(java.io.Serializable)
+   */
+  public void cancel(Serializable id) {
+    logger.debug("Cancelling timer with id {}", id);
+    this.ftScheduler.cancel(id);
+  }
+
+  /*
+   * (non-Javadoc)
+   *
+ * @see org.jdiameter.common.api.timer.ITimerFacility#schedule(java.lang.String, java.lang.String, long)
+   */
+ public Serializable schedule(String sessionId, String timerName, long miliseconds) throws IllegalArgumentException {
+    String id = sessionId + "/" + timerName;
+    logger.debug("Scheduling timer with id {}", id);
+
+    if (this.ftScheduler.getTimerTaskData(id) != null) {
+      throw new IllegalArgumentException("Timer already running: " + id);
+    }
+
+ DiameterTimerTaskData data = new DiameterTimerTaskData(id, miliseconds, sessionId, timerName);
+    TimerTask tt = this.taskFactory.newTimerTask(data);
+    ftScheduler.schedule(tt);
+    return id;
+  }
+
+ private final class TimerTaskFactory implements org.mobicents.timers.TimerTaskFactory {
+
+    public TimerTask newTimerTask(TimerTaskData data) {
+      return new DiameterTimerTask(data);
+    }
+  }
+
+  private final class DiameterTimerTask extends TimerTask {
+
+    public DiameterTimerTask(TimerTaskData data) {
+      super(data);
+    }
+
+    @Override
+    public void run() {
+      try {
+        DiameterTimerTaskData data = (DiameterTimerTaskData) getData();
+ BaseSession bSession = sessionDataSource.getSession(data.getSessionId());
+        if (bSession == null || !bSession.isAppSession()) {
+          // FIXME: error ?
+          return;
+        }
+        else {
+          AppSessionImpl impl = (AppSessionImpl) bSession;
+          impl.onTimer(data.getTimerName());
+        }
+      }
+      catch (Exception e) {
+        logger.error("Failure executing timer task", e);
+      }
+    }
+  }
+
+}
=======================================
--- /dev/null
+++ /pom.xml    Fri Jul  9 08:00:35 2010
@@ -0,0 +1,103 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
+
+       <modelVersion>4.0.0</modelVersion>
+       <packaging>pom</packaging>
+
+       <parent>
+               <groupId>org.mobicents</groupId>
+               <artifactId>mobicents-parent</artifactId>
+               <version>2.5</version>
+       </parent>
+
+       <groupId>org.mobicents.servers.diameter</groupId>
+       <artifactId>jdiameter-ha-parent</artifactId>
+       <version>1.0.0-SNAPSHOT</version>
+
+       <name>Mobicents :: Diameter Stack HA :: ${pom.artifactId}</name>
+
+       <modules>
+               <module>api</module>
+               <module>impl</module>
+       </modules>
+
+       <properties>
+               <jdiameter.version>1.5.3.1-build354-SNAPSHOT</jdiameter.version>
+       </properties>
+
+       <dependencyManagement>
+               <dependencies>
+                       <dependency>
+                               <groupId>org.mobicents.cluster</groupId>
+                               <artifactId>timers</artifactId>
+                               <version>1.5-SNAPSHOT</version>
+                       </dependency>
+               </dependencies>
+       </dependencyManagement>
+
+       <build>
+               <plugins>
+                       <plugin>
+                               <artifactId>maven-eclipse-plugin</artifactId>
+                               <groupId>org.mobicents.tools</groupId>
+                               
<version>${mobicents.tools.mavenplugin.eclipse.version}</version>
+                               <inherited>false</inherited>
+                               <executions />
+                               <configuration>
+                                       
<eclipseProjectName>mobicents-jdiameter-ha</eclipseProjectName>
+                               </configuration>
+                       </plugin>
+               </plugins>
+       </build>
+
+       <profiles>
+               <profile>
+                       <id>maven-release</id>
+                       <modules>
+                               <!--
+                                       any module not bound to default 
modules, such as the ones for test,
+                                       release, etc...
+                               -->
+                       </modules>
+                       <build>
+                               <plugins>
+                                       <plugin>
+                                               
<groupId>org.apache.maven.plugins</groupId>
+                                               
<artifactId>maven-release-plugin</artifactId>
+                                               <version>2.0-beta-9</version>
+                                               <configuration>
+                                                       
<remoteTagging>true</remoteTagging>
+                                                       
<autoVersionSubmodules>true</autoVersionSubmodules>
+                                                       <resume>false</resume>
+ <tagBase>https://mobicents.googlecode.com/svn/tags/servers/diameter/core/jdiameter</tagBase>
+                                               </configuration>
+                                       </plugin>
+                               </plugins>
+                       </build>
+               </profile>
+       </profiles>
+
+       <scm>
+ <connection>scm:svn:https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha</connection> + <developerConnection>scm:svn:https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha</developerConnection> + <url>http://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha</url>
+       </scm>
+
+       <pluginRepositories>
+               <pluginRepository>
+                       <id>jboss-public-repository-group</id>
+                       <name>JBoss Public Maven Repository Group</name>
+                       
<url>https://repository.jboss.org/nexus/content/groups/public/</url>
+                       <layout>default</layout>
+                       <releases>
+                               <enabled>true</enabled>
+                               <updatePolicy>never</updatePolicy>
+                       </releases>
+                       <snapshots>
+                               <enabled>true</enabled>
+                               <updatePolicy>never</updatePolicy>
+                       </snapshots>
+               </pluginRepository>
+       </pluginRepositories>
+
+</project>

==============================================================================
Revision: 8b98c1916a22
Author:   baranowb <baranowb@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Mon Jul 12 03:21:25 2010
Log:

git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha@12869 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=8b98c1916a22&repo=jdiameter-ha

Modified:
/impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java

=======================================
--- /impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java Fri Jul 9 08:00:35 2010 +++ /impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java Mon Jul 12 03:21:25 2010
@@ -47,7 +47,7 @@
 public class ReplicatedDataSource implements ISessionDatasource {

private static final Logger logger = LoggerFactory.getLogger(ReplicatedDataSource.class);
-
+  public static final String CLUSTER_DS_DEFAULT_FILE = "jdiameter-jbc.xml";
   private IContainer container;

   private ISessionDatasource localDataSource;
@@ -62,7 +62,7 @@
   final static Fqn SESSIONS = Fqn.fromString(_SESSIONS);

   public ReplicatedDataSource(IContainer container) {
-    this(container, new LocalDataSource(), "");
+    this(container, new LocalDataSource(), CLUSTER_DS_DEFAULT_FILE);
   }

   @SuppressWarnings("unchecked")
@@ -73,7 +73,7 @@
     Cache cache = factory.createCache(cacheConffileName, false);
     cache.start();

- MobicentsCache mcCache = new MobicentsCache(cache, "ALEX_DRIVING_HIS_SMART_LIGHT_CAR");
+    MobicentsCache mcCache = new MobicentsCache(cache, "MC_JDiameter");
     // this requires JTA
this.mobicentsCluster = new DefaultMobicentsCluster(mcCache, null, new DefaultClusterElector());
     this.container = container;

==============================================================================
Revision: a1136efdf2d3
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Mon Jul 12 05:17:27 2010
Log:      Updating for jDiameter HA



git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha@12877 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=a1136efdf2d3&repo=jdiameter-ha

Modified:
/impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java

=======================================
--- /impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java Mon Jul 12 03:21:25 2010 +++ /impl/src/main/java/org/mobicents/diameter/impl/ha/data/ReplicatedDataSource.java Mon Jul 12 05:17:27 2010
@@ -47,7 +47,7 @@
 public class ReplicatedDataSource implements ISessionDatasource {

private static final Logger logger = LoggerFactory.getLogger(ReplicatedDataSource.class);
-  public static final String CLUSTER_DS_DEFAULT_FILE = "jdiameter-jbc.xml";
+ public static final String CLUSTER_DS_DEFAULT_FILE = "config/jdiameter-jbc.xml";
   private IContainer container;

   private ISessionDatasource localDataSource;

==============================================================================
Revision: 13c2a4279674
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Mon Jul 12 06:51:57 2010
Log:      Adding JBoss Cache configuration to jDiameter

git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha@12882 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=13c2a4279674&repo=jdiameter-ha



==============================================================================
Revision: bbea26673623
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 09:12:52 2010
Log:      Updating Diameter POMs for 1.3.0.FINAL release



git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha@12905 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=bbea26673623&repo=jdiameter-ha

Modified:
 /pom.xml

=======================================
--- /pom.xml    Fri Jul  9 08:00:35 2010
+++ /pom.xml    Tue Jul 13 09:12:52 2010
@@ -7,7 +7,7 @@
        <parent>
                <groupId>org.mobicents</groupId>
                <artifactId>mobicents-parent</artifactId>
-               <version>2.5</version>
+               <version>2.9</version>
        </parent>

        <groupId>org.mobicents.servers.diameter</groupId>
@@ -22,7 +22,7 @@
        </modules>

        <properties>
-               <jdiameter.version>1.5.3.1-build354-SNAPSHOT</jdiameter.version>
+               <jdiameter.version>1.5.4.0-build354-SNAPSHOT</jdiameter.version>
        </properties>

        <dependencyManagement>
@@ -69,7 +69,7 @@
                                                        
<remoteTagging>true</remoteTagging>
                                                        
<autoVersionSubmodules>true</autoVersionSubmodules>
                                                        <resume>false</resume>
- <tagBase>https://mobicents.googlecode.com/svn/tags/servers/diameter/core/jdiameter</tagBase> + <tagBase>https://mobicents.googlecode.com/svn/tags/servers/diameter/core/jdiameter-ha</tagBase>
                                                </configuration>
                                        </plugin>
                                </plugins>

==============================================================================
Revision: e4974e128c35
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 12:36:16 2010
Log:      Updating POM for release

git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha@12913 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=e4974e128c35&repo=jdiameter-ha

Modified:
 /pom.xml

=======================================
--- /pom.xml    Tue Jul 13 09:12:52 2010
+++ /pom.xml    Tue Jul 13 12:36:16 2010
@@ -22,7 +22,7 @@
        </modules>

        <properties>
-               <jdiameter.version>1.5.4.0-build354-SNAPSHOT</jdiameter.version>
+               <jdiameter.version>1.5.4.0-build401</jdiameter.version>
        </properties>

        <dependencyManagement>
@@ -30,7 +30,7 @@
                        <dependency>
                                <groupId>org.mobicents.cluster</groupId>
                                <artifactId>timers</artifactId>
-                               <version>1.5-SNAPSHOT</version>
+                               <version>1.5</version>
                        </dependency>
                </dependencies>
        </dependencyManagement>

==============================================================================
Revision: 67affde29fcd
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 14:15:07 2010
Log:      [maven-release-plugin] prepare release jdiameter-ha-1.0.0.BETA1

git-svn-id: https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha@12917 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=67affde29fcd&repo=jdiameter-ha

Modified:
 /api/pom.xml
 /impl/pom.xml
 /pom.xml

=======================================
--- /api/pom.xml        Fri Jul  9 08:00:35 2010
+++ /api/pom.xml        Tue Jul 13 14:15:07 2010
@@ -1,11 +1,10 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
        <modelVersion>4.0.0</modelVersion>

        <parent>
                <groupId>org.mobicents.servers.diameter</groupId>
                <artifactId>jdiameter-ha-parent</artifactId>
-               <version>1.0.0-SNAPSHOT</version>
+               <version>1.0.0.BETA1</version>
        </parent>

        <artifactId>jdiameter-ha-api</artifactId>
=======================================
--- /impl/pom.xml       Fri Jul  9 08:00:35 2010
+++ /impl/pom.xml       Tue Jul 13 14:15:07 2010
@@ -4,7 +4,7 @@
        <parent>
                <groupId>org.mobicents.servers.diameter</groupId>
                <artifactId>jdiameter-ha-parent</artifactId>
-               <version>1.0.0-SNAPSHOT</version>
+               <version>1.0.0.BETA1</version>
        </parent>

        <artifactId>jdiameter-ha-impl</artifactId>
=======================================
--- /pom.xml    Tue Jul 13 12:36:16 2010
+++ /pom.xml    Tue Jul 13 14:15:07 2010
@@ -1,5 +1,4 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> +<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>

        <modelVersion>4.0.0</modelVersion>
        <packaging>pom</packaging>
@@ -12,7 +11,7 @@

        <groupId>org.mobicents.servers.diameter</groupId>
        <artifactId>jdiameter-ha-parent</artifactId>
-       <version>1.0.0-SNAPSHOT</version>
+       <version>1.0.0.BETA1</version>

        <name>Mobicents :: Diameter Stack HA :: ${pom.artifactId}</name>

@@ -78,9 +77,9 @@
        </profiles>

        <scm>
- <connection>scm:svn:https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha</connection> - <developerConnection>scm:svn:https://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha</developerConnection> - <url>http://mobicents.googlecode.com/svn/trunk/servers/diameter/core/jdiameter-ha</url> + <connection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/diameter/core/jdiameter-ha/jdiameter-ha-1.0.0.BETA1</connection> + <developerConnection>scm:svn:https://mobicents.googlecode.com/svn/tags/servers/diameter/core/jdiameter-ha/jdiameter-ha-1.0.0.BETA1</developerConnection> + <url>http://mobicents.googlecode.com/svn/tags/servers/diameter/core/jdiameter-ha/jdiameter-ha-1.0.0.BETA1</url>
        </scm>

        <pluginRepositories>

==============================================================================
Revision: 4441de6e057b
Author:   brainslog <brainslog@bf0df8d0-2c1f-0410-b170-bd30377b63dc>
Date:     Tue Jul 13 14:15:15 2010
Log:      [maven-scm] copy for tag jdiameter-ha-1.0.0.BETA1

git-svn-id: https://mobicents.googlecode.com/svn/tags/servers/diameter/core/jdiameter-ha/jdiameter-ha-1.0.0.BETA1@12918 bf0df8d0-2c1f-0410-b170-bd30377b63dc

http://code.google.com/p/jdiameter/source/detail?r=4441de6e057b&repo=jdiameter-ha


Reply via email to