org.wildfly.plugins.bootablejar.maven.cloud.openshift-infinispan-script.cli Maven / Gradle / Ivy
# Infinispan, add a more efficient cache if we already have the dist distributed cache.
if (outcome == success) of /subsystem=infinispan/cache-container=web/distributed-cache=dist:read-resource
/subsystem=infinispan/cache-container=web/replicated-cache=repl:add
/subsystem=infinispan/cache-container=web:write-attribute(name=default-cache,value=repl)
/subsystem=infinispan/cache-container=web/replicated-cache=repl/component=locking:add(isolation=REPEATABLE_READ
/subsystem=infinispan/cache-container=web/replicated-cache=repl/component=transaction:add(mode=BATCH
/subsystem=infinispan/cache-container=web/replicated-cache=repl/store=file:add
end-if