]
Tristan Tarrant updated ISPN-12052:
-----------------------------------
Fix Version/s: 12.1.0.Final
(was: 12.0.0.Final)
Allow CLI batch files to be processed on server startup
-------------------------------------------------------
Key: ISPN-12052
URL:
https://issues.redhat.com/browse/ISPN-12052
Project: Infinispan
Issue Type: Enhancement
Components: CLI, Server
Affects Versions: 11.0.0.Final
Reporter: Ryan Emerson
Priority: Major
Fix For: 12.1.0.Final
The recommended way to configure Infinispan is now via the CLI. However, currently the
server is unaware of the CLI syntax and simply processes it's command via the REST
endpoint. We should enhance the server so that it's aware of the CLI syntax and is
able to process one or more CLI batch files upon server startup. Crucially, the
server's health checks should not pass untill all batches have been processed so that
all configured resources are available before the server signals that it's ready.
Providing batch files on startup is very useful for the Infinispan image, as it allows
users to provide static configuration of caches at boot time without having to configure
.xml.