-
Enhancement
-
Resolution: Done
-
Major
-
None
The CLI should store persistent configuration in an OS-specific location:
Linux/Unix:
~/.config/infinispan
OS X:
~/Library/Java/infinispan
Windows:
$APPDATA/Sun/Java/infinispan
This location should contain:
cli.properties aliases history
The configuration properties should be exposed through a config command.
Supported properties:
autoconnect-url::
Specifies the URL to which the CLI will automatically connect to on startup. Example:
*config set autoconnect-url http://user:password:11222*
autoexec::
Specifies the path of a CLI batch file to execute on startup. Example:
config set autoexec /home/user/my-cli-batch-file
trustall::
Specifies whether to trust all server certificates without supplying a trust store. Example:
config set trustall true
truststore::
Specifies the path of a truststore to use to validate server certificates. Example:
config set truststore /home/user/my-trust-store.jks
truststore-password::
Specifies the password of the truststore to use to validate server certificates. Example:
config set truststore secret
- clones
-
ISPN-12232 CLI persistent configuration
- Closed