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

Create global commands for site CLI command

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 13.0.3.Final, 14.0.0.Dev01
    • None
    • None
    • None

      The site CLI command is missing the commands to interact with all caches.
      There are 2 options to achieve this:

      Option 1: the command depends on the context.

      If the command site bring-online --site=NYC is invoked in the path

      • /containers/default, it is a global operation and affects all caches
      • /containers/default/caches/my-cache, the command is invoked in cache my-cache
      • If --cache=my-other-cache is set, the path is ignored and the command is invoked in my-other-cache cache.

      Option 2: duplicate all sub-commands. For example bring-online duplicate to bring-online-all and so on.

            pruivo@redhat.com Pedro Ruivo
            pruivo@redhat.com Pedro Ruivo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: