[seam/cron] 738497: Split out common TimerService related classes into...

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[seam/cron] 738497: Split out common TimerService related classes into...

GitHub
  Branch: refs/heads/develop
  Home:   https://github.com/seam/cron
  Commit: 73849795ee73e6fc5e211b8c04b77ee7c037266c
      https://github.com/seam/cron/commit/73849795ee73e6fc5e211b8c04b77ee7c037266c
  Author: Peter Royle <[hidden email]>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M nb-configuration.xml
    M pom.xml
    A providers/scheduling/timerservice-common/nb-configuration.xml
    A providers/scheduling/timerservice-common/pom.xml
    A providers/scheduling/timerservice-common/src/etc/header.txt
    A providers/scheduling/timerservice-common/src/main/java/org/jboss/seam/cron/scheduling/timerservice/BasicCronParser.java
    A providers/scheduling/timerservice-common/src/main/java/org/jboss/seam/cron/scheduling/timerservice/TimerScheduleConfig.java
    A providers/scheduling/timerservice-common/src/main/java/org/jboss/seam/cron/scheduling/timerservice/TimerScheduleProviderBase.java
    A providers/scheduling/timerservice-common/src/main/resources/META-INF/beans.xml
    A providers/scheduling/timerservice-common/src/test/resources/arquillian.xml
    A providers/scheduling/timerservice-common/src/test/resources/cron.properties
    A providers/scheduling/timerservice-ha-singleton-jbossas/nb-configuration.xml
    A providers/scheduling/timerservice-ha-singleton-jbossas/pom.xml
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/etc/header.txt
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerService.java
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerServiceActivator.java
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/Scheduler.java
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/SchedulerBean.java
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/seam/cron/scheduling/timerservice/TimerScheduleProviderEjb.java
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/main/resources/META-INF/beans.xml
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/main/resources/META-INF/services/org.jboss.msc.service.ServiceActivator
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/test/java/org/jboss/seam/cron/scheduling/test/timerservice/TimerServiceSchedulingTCKTest.java
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/test/java/org/jboss/seam/cron/scheduling/test/timerservice/TimerServiceSchedulingTCKTestLong.java
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/test/resources/arquillian.xml
    A providers/scheduling/timerservice-ha-singleton-jbossas/src/test/resources/cron.properties
    M providers/scheduling/timerservice/pom.xml
    R providers/scheduling/timerservice/src/main/java/org/jboss/seam/cron/scheduling/timerservice/BasicCronParser.java
    R providers/scheduling/timerservice/src/main/java/org/jboss/seam/cron/scheduling/timerservice/TimerScheduleConfig.java
    M providers/scheduling/timerservice/src/main/java/org/jboss/seam/cron/scheduling/timerservice/TimerScheduleProviderEjb.java
    R providers/scheduling/timerservice/src/main/java/org/jboss/seam/cron/scheduling/timerservice/TimerScheduleProviderFactory.java
    M tck/src/test/java/org/jboss/seam/cron/test/SeamCronTestBase.java

  Log Message:
  -----------
  Split out common TimerService related classes into reusable jar. Added HA singleton timer service project (WIP). Can't test against AS 7.1 (singleton code targets later JBoss version) so tests are disabled for now.


  Commit: b53853c89db00f792c203e955d895746d130fd2f
      https://github.com/seam/cron/commit/b53853c89db00f792c203e955d895746d130fd2f
  Author: Peter Royle <[hidden email]>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M providers/scheduling/timerservice-ha-singleton-jbossas/pom.xml

  Log Message:
  -----------
  Fix typo in artifact id


  Commit: adfe3e1d34a82c6f0d50bf8abd2460da1e8e3976
      https://github.com/seam/cron/commit/adfe3e1d34a82c6f0d50bf8abd2460da1e8e3976
  Author: Peter Royle <[hidden email]>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M providers/scheduling/timerservice-common/src/main/java/org/jboss/seam/cron/scheduling/timerservice/TimerScheduleProviderBase.java
    M providers/scheduling/timerservice-ha-singleton-jbossas/pom.xml
    M providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerService.java
    M providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/SchedulerBean.java

  Log Message:
  -----------
  Implement Seam Cron support by delegating to teh functional base class from the SchedulerBean. It's a little inelegant but we read (from cron.properties) the name of the module in which the ha timer service is deployed so we know where to find the bean for HA activation. All jars are provided, and the module which uses this must replicate the manifest dependencies found in the EJB plugin in the pom.xml.


  Commit: 565b86543b4dc85beb1e9dd48b2beaae0d9fca70
      https://github.com/seam/cron/commit/565b86543b4dc85beb1e9dd48b2beaae0d9fca70
  Author: Peter Royle <[hidden email]>
  Date:   2015-05-07 (Thu, 07 May 2015)

  Changed paths:
    M providers/scheduling/timerservice-ha-singleton-jbossas/src/main/java/org/jboss/as/quickstarts/cluster/hasingleton/service/ejb/HATimerService.java

  Log Message:
  -----------
  Use the supplied module name property as the service name as well

That way multiple deployments to the same container using this provider
won't clash.


Compare: https://github.com/seam/cron/compare/9823fee76601...565b86543b4d
_______________________________________________
seam-commits mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/seam-commits