[infinispan-issues] [JBoss JIRA] (ISPN-12052) Allow CLI batch files to be processed on server startup

Ryan Emerson (Jira) issues at jboss.org
Wed Jun 24 10:44:08 EDT 2020


Ryan Emerson created ISPN-12052:
-----------------------------------

             Summary: 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
             Fix For: 12.0.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.





--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list