KEYCLOAK-19333 Cannot override modules for Infinispan subsystem in distribution

This commit is contained in:
Martin Bartoš 2021-09-24 10:18:42 +02:00 committed by Hynek Mlnařík
parent 877ae96590
commit 340973b9cf
4 changed files with 18 additions and 1 deletions

View file

@ -932,4 +932,13 @@ if (result == undefined) of /subsystem=infinispan/cache-container=keycloak/distr
echo
end-if
# Migrate from 15.0.0 to 16.0.0
if (outcome == failed) of /subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:read-resource
echo Add pending-puts local cache clustered and expiration time 60000L
/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/:add
/subsystem=infinispan/cache-container=hibernate/local-cache=pending-puts/component=expiration/:write-attribute(name=max-idle,value=60000L)
echo
end-if
echo *** End Migration ***

View file

@ -30,12 +30,13 @@
<exclude spec="subsystem.resource-adapters"/>
<exclude spec="subsystem.singleton"/>
<exclude spec="subsystem.weld"/>
<exclude spec="subsystem.infinispan"/>
</feature-group>
<feature-group name="keycloak-server-subsystem"/>
<feature-group name="datasources">
<feature-group name="keycloak-datasource"/>
</feature-group>
<feature-group name="infinispan-dist-keycloak"/>
<feature-group name="infinispan-dist"/>
</feature>
<feature spec="domain.system-property">

View file

@ -33,6 +33,12 @@
<param name="size" value="10000"/>
</feature>
</feature>
<feature spec="subsystem.infinispan.cache-container.local-cache">
<param name="local-cache" value="pending-puts"/>
<feature spec="subsystem.infinispan.cache-container.local-cache.component.expiration">
<param name="max-idle" value="60000"/>
</feature>
</feature>
</feature>
</feature>

View file

@ -333,6 +333,7 @@
</dependency>
</dependencies>
<build>
<finalName>${product.name}-${product.filename.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>