Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-12232

CLI persistent configuration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 11.0.7.Final, 12.0.0.Final
    • 12.0.0.Final
    • CLI
    • 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

              ttarrant@redhat.com Tristan Tarrant
              ttarrant@redhat.com Tristan Tarrant
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: