Improved session configuration naming

This commit is contained in:
Greg Wilkins 2016-04-30 11:26:28 +10:00
parent 5bbb1da71b
commit 42dac144ee
28 changed files with 20 additions and 40 deletions

View File

@ -2,4 +2,4 @@
Enables session storage when running inside the cloud.
[xml]
etc/sessions/gcloud/gcloud-embedded.xml
etc/sessions/gcloud/embedded.xml

View File

@ -2,4 +2,4 @@
Enables session storage on a local GCloudDataStore dev server.
[xml]
etc/sessions/gcloud/gcloud-local.xml
etc/sessions/gcloud/local.xml

View File

@ -2,5 +2,5 @@
Enables session storage on a remote GCloudDataStore service.
[xml]
etc/sessions/gcloud/gcloud-remote.xml
etc/sessions/gcloud/remote.xml

View File

@ -8,7 +8,7 @@ session-store
annotations
webapp
sessions
sessions/gcloud/gcloud-${type}
sessions/gcloud/${type}
[files]
maven://com.google.gcloud/gcloud-java-datastore/0.0.7|lib/gcloud/gcloud-java-datastore-0.0.7.jar
@ -47,6 +47,9 @@ maven://com.google.apis/google-api-services-datastore/v1beta2-rev23-1.19.0|lib/g
lib/jetty-gcloud-session-manager-${jetty.version}.jar
lib/gcloud/*.jar
[xml]
sessions/gcloud/session-store.xml
[license]
GCloudDatastore is an open source project hosted on Github and released under the Apache 2.0 license.
https://github.com/GoogleCloudPlatform/gcloud-java

View File

@ -6,7 +6,7 @@ session-store
[depend]
session
sessions/infinispan/infinispan-session-${cache-type}
sessions/infinispan/${cache-type}
[files]
maven://org.infinispan/infinispan-core/7.1.1.Final|lib/infinispan/infinispan-core-7.1.1.Final.jar

View File

@ -2,5 +2,5 @@
Enable use of DefaultCache for session data storage
[xml]
etc/sessions/infinispan/default-store.xml
etc/sessions/infinispan/default.xml

View File

@ -5,5 +5,5 @@ Enable use of HotRod remote cache for session data storage
https://raw.githubusercontent.com/eclipse/jetty.project/master/jetty-infinispan/src/main/infinispan-resources/hotrod-client.properties?id=${jetty.tag.version}|resources/hotrod-client.properties
[xml]
etc/sessions/infinispan/remote-store.xml
etc/sessions/infinispan/remote.xml

View File

@ -20,7 +20,7 @@ http://www.mongodb.org/
http://www.apache.org/licenses/LICENSE-2.0.html
[xml]
etc/sessions/mongo/mongo-session-store.xml
etc/sessions/mongo/session-store.xml
[ini-template]
#jetty.session.dbName=HttpSessions

View File

@ -1,11 +0,0 @@
[description]
The default session cache. This module is typically never
explictly enabled and is only used transitively when no other
session cache module is enabled. It does not configure anything
and defers the default behaviour to the SessionHandler
[provides]
session-cache
[depends]
sessions

View File

@ -8,7 +8,7 @@ session-store
sessions
[xml]
etc/sessions/file-session-store.xml
etc/sessions/file/session-store.xml
[files]
sessions/

View File

@ -9,7 +9,7 @@ sessions
sessions/jdbc/${db-connection-type}
[xml]
etc/sessions/jdbc-session-store.xml
etc/sessions/jdbc/session-store.xml
[ini]
db-connection-type=datasource
@ -23,15 +23,15 @@ db-connection-type=datasource
#jetty.session.deleteUnloadables=false
#jetty.session.loadAttempts=-1
## Connection type:Datasource
db-connection-type=datasource
#jetty.session.datasourceName=/jdbc/sessions
## Connection type:driver
#db-connection-type=driver
#jetty.session.driverClass=
#jetty.session.driverUrl=
## Connection type:Datasource
#db-connection-type=datasource
#jetty.session.datasourceName=/jdbc/sessions
## Session table schema
#jetty.sessionTableSchema.accessTimeColumn=accessTime
#jetty.sessionTableSchema.contextPathColumn=contextPath

View File

@ -1,12 +0,0 @@
[description]
The default session store. This module is typically never
explictly enabled and is only used transitively when no other
session store module is enabled. It does not configure anything
and defers the default behaviour to the SessionHandler
[provides]
session-store
[depends]
sessions

View File

@ -9,7 +9,7 @@ use sessions, but their management cannot be configured.
server
[xml]
etc/sessions/session-id-manager.xml
etc/sessions/id-manager.xml
[ini-template]
## The name to uniquely identify this server instance

View File

@ -2,4 +2,4 @@
JDBC Datasource connections for session storage
[xml]
etc/sessions/jdbc/session-store-datasource.xml
etc/sessions/jdbc/datasource.xml

View File

@ -2,4 +2,4 @@
JDBC Driver connections for session storage
[xml]
etc/sessions/jdbc/session-store-driver.xml
etc/sessions/jdbc/driver.xml