Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 12.0.0.Dev02
    • Fix Version/s: 12.0.0.Dev03
    • Component/s: CLI
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                NadirX Tristan Tarrant
                Reporter:
                NadirX Tristan Tarrant
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: