ACS-6329 Move generate-hazelcast-config.py to community-repo (#2328)

This commit is contained in:
Domenico Sibilio
2023-11-20 16:20:08 +01:00
committed by GitHub
parent 5490228d71
commit 9f4ec29f9c
5 changed files with 189 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<hazelcast xmlns="http://www.hazelcast.com/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.hazelcast.com/schema/config
http://www.hazelcast.com/schema/config/hazelcast-config-5.3.xsd">
<cluster-name>Replace this with a secure value</cluster-name>
<management-center data-access-enabled="${alfresco.hazelcast.mancenter.enabled}">
<trusted-interfaces>
<interface>${alfresco.hazelcast.mancenter.url}</interface>
</trusted-interfaces>
</management-center>
<!-- Ephemeral lock store map definition -->
<map name="lockStore">
<backup-count>1</backup-count>
<!-- No overall size limit, since this would result in ephemeral locks being evicted. -->
<merge-policy>com.hazelcast.spi.merge.PutIfAbsentMergePolicy</merge-policy>
<eviction eviction-policy="NONE" max-size-policy="PER_NODE" size="0"/>
<!-- TTL here must match LockServiceImpl.MAX_EPHEMERAL_LOCK_SECONDS -->
<time-to-live-seconds>172800</time-to-live-seconds>
<max-idle-seconds>0</max-idle-seconds>
</map>
<!-- CACHES DEFINITION (DO NOT REMOVE THIS PLACEHOLDER) -->
</hazelcast>