From 36a93fa936aaba0ddf45236756cfb1b79f27d4c9 Mon Sep 17 00:00:00 2001 From: Nicolas Frankel Date: Thu, 27 May 2021 18:30:12 +0200 Subject: [PATCH] Add Spring configuration meta-data Fix #114 --- ...itional-spring-configuration-metadata.json | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 tomcat9/src/main/resources/META-INF/additional-spring-configuration-metadata.json diff --git a/tomcat9/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/tomcat9/src/main/resources/META-INF/additional-spring-configuration-metadata.json new file mode 100644 index 0000000..06cd98c --- /dev/null +++ b/tomcat9/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -0,0 +1,46 @@ +{ + "properties": [ + { + "name": "tsm.sticky", + "type": "java.lang.Boolean", + "description": "Whether sessions are configured to be sticky. More information at https://github.com/hazelcast/hazelcast-tomcat-sessionmanager#sticky-sessions-and-tomcat.", + "defaultValue": true + }, + { + "name": "tsm.hazelcast.instance.name", + "type": "java.lang.String", + "description": "Name of the Hazelcast instance used to store session data.", + "defaultValue": "SESSION-REPLICATION-INSTANCE" + }, + { + "name": "tsm.map.name", + "type": "java.lang.String", + "description": "Name of the Hazelcast map used to store session data.", + "defaultValue": "default" + }, + { + "name": "tsm.deferred.write", + "type": "java.lang.Boolean", + "description": "Whether writes to the cluster are cached. More information at https://github.com/hazelcast/hazelcast-tomcat-sessionmanager#controlling-session-caching-with-deferredWrite.", + "defaultValue": true + }, + { + "name": "tsm.config.location", + "type": "java.lang.String", + "description": "Location of the Hazelcast configuration file location.", + "defaultValue": "hazelcast-default.xml" + }, + { + "name": "tsm.autoconfig.enabled", + "type": "java.lang.Boolean", + "description": "Set to false to disable auto-configuration.", + "defaultValue": true + }, + { + "name": "tsm.process.expires.frequency", + "type": "java.lang.Integer", + "description": "Frequency of the session expiration, and related manager operations. More information at https://tomcat.apache.org/tomcat-9.0-doc/config/cluster-manager.html#Common_Attributes.", + "defaultValue": 6 + } + ] +} \ No newline at end of file