Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-4189

CLI persistent configuration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • RHDG 8.2 GA, RHDG 8.2 CD
    • None
    • CLI

      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:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: