From dbf4b2d72dbedcd61b106e4fde943286adf4580f Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Thu, 7 May 2015 16:12:50 +1000 Subject: [PATCH] 466669 Add nosql.mod into jetty distro --- jetty-distribution/pom.xml | 5 ++++ .../src/main/config/etc/jetty-nosql.xml | 19 +++++++++++++ jetty-nosql/src/main/config/modules/nosql.mod | 27 +++++++++++++++++-- 3 files changed, 49 insertions(+), 2 deletions(-) create mode 100644 jetty-nosql/src/main/config/etc/jetty-nosql.xml diff --git a/jetty-distribution/pom.xml b/jetty-distribution/pom.xml index 90db9687aca..3bcb0f311ac 100644 --- a/jetty-distribution/pom.xml +++ b/jetty-distribution/pom.xml @@ -778,5 +778,10 @@ jetty-infinispan ${project.version} + + org.eclipse.jetty + jetty-nosql + ${project.version} + diff --git a/jetty-nosql/src/main/config/etc/jetty-nosql.xml b/jetty-nosql/src/main/config/etc/jetty-nosql.xml new file mode 100644 index 00000000000..a955e7ad535 --- /dev/null +++ b/jetty-nosql/src/main/config/etc/jetty-nosql.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/jetty-nosql/src/main/config/modules/nosql.mod b/jetty-nosql/src/main/config/modules/nosql.mod index a4189c945b9..264699cc7ff 100644 --- a/jetty-nosql/src/main/config/modules/nosql.mod +++ b/jetty-nosql/src/main/config/modules/nosql.mod @@ -1,9 +1,32 @@ # -# Jetty Nosql module +# Jetty NoSql module # [depend] webapp +[files] +maven://org.mongodb/mongo-java-driver/2.6.1|lib/nosql/mongo-java-driver-2.6.1.jar + [lib] -lib/jetty-nosql-${jetty.version}.jar \ No newline at end of file +lib/jetty-nosql-${jetty.version}.jar +lib/nosql/*.jar + +[xml] +etc/jetty-nosql.xml + +[license] +The java driver for the MongoDB document-based database system is hosted on GitHub and released under the Apache 2.0 license. +http://www.mongodb.org/ +http://www.apache.org/licenses/LICENSE-2.0.html + +[ini-template] +## MongoDB SessionIdManager config + +## Unique identifier for this node in the cluster +jetty.nosqlSession.workerName=node1 + + +## Interval in seconds between scavenging expired sessions +jetty.nosqlSession.scavenge=1800 +