[camel-k-runtime] branch master updated (ae29e97 -> c703ea5)

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

[camel-k-runtime] branch master updated (ae29e97 -> c703ea5)

nferraro
This is an automated email from the ASF dual-hosted git repository.

nferraro pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git.


    from ae29e97  Merge pull request #221 from apache/deps
     new 49cd31c  Fix #222: initial implementation of native cron support
     new 7538b7a  Fix #222: second attempt using runtime listener
     new 6dc1007  Fix #222: shutting down the runtime instead of the Camel context
     new c703ea5  Merge pull request #223 from nicolaferraro/cron

The 500 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 camel-k-runtime-bom/pom.xml                        |  5 ++
 .../src/main/java/org/apache/camel/k/Runtime.java  |  8 +++
 .../pom.xml                                        | 22 ++----
 .../camel/k/cron/CronRoutePolicyFactory.java       | 72 +++++++++++++++++++
 .../apache/camel/k/cron/CronRuntimeListener.java   | 82 ++++++++++++++++++++++
 .../services/org.apache.camel.k.Runtime$Listener   |  2 +-
 .../java/org/apache/camel/k/cron/CronTest.java     | 81 +++++++++++++++++++++
 .../src/test/resources/log4j2-test.xml             |  2 +-
 .../src/test/resources/routes-quartz.js            |  5 +-
 .../src/test/resources/routes-timer.js             |  5 +-
 .../apache/camel/k/main/ApplicationRuntime.java    |  3 +-
 pom.xml                                            |  1 +
 12 files changed, 263 insertions(+), 25 deletions(-)
 copy {camel-k-runtime-webhook => camel-k-runtime-cron}/pom.xml (87%)
 create mode 100644 camel-k-runtime-cron/src/main/java/org/apache/camel/k/cron/CronRoutePolicyFactory.java
 create mode 100644 camel-k-runtime-cron/src/main/java/org/apache/camel/k/cron/CronRuntimeListener.java
 copy camel-k-runtime-main/src/test/resources/META-INF/services/org/apache/camel/k/customizer/test => camel-k-runtime-cron/src/main/resources/META-INF/services/org.apache.camel.k.Runtime$Listener (94%)
 create mode 100644 camel-k-runtime-cron/src/test/java/org/apache/camel/k/cron/CronTest.java
 copy {camel-k-runtime-health => camel-k-runtime-cron}/src/test/resources/log4j2-test.xml (98%)
 copy camel-k-loader-groovy/src/test/resources/routes.groovy => camel-k-runtime-cron/src/test/resources/routes-quartz.js (89%)
 copy camel-k-loader-groovy/src/test/resources/routes.groovy => camel-k-runtime-cron/src/test/resources/routes-timer.js (89%)